Thursday, August 30, 2007

Opendeploy deployment fails with "REQUEST_DENIED"

Problem:
I am trying to manually kick off a teamsite deployment with opendeploy 6.1, and i get this error:

Executing(ant): /app/OpenDeployNG/bin/iwodcmd start ddconfig.xml -k iwdd=deployment1

Locating OpenDeploy service.
Got OpenDeploy service
>>>>>-- Start deployment ddconfig.
iwodstart running in default synchronous mode.
Need to wait for deployment to complete.
***ERROR - Starting deployment.
Caught exception. Details: REQUEST_DENIED

Solution:
in [OD_HOME]\bin run the following command as root:
./iwodauthorize -r add od-admin [user you tried to deploy as]
so in my case:
./iwodauthorize -r add od-admin ant

then list all the users who can run deployments, just to check if it worked:
./iwodauthorize -r list od-admin

3 comments:

  1. I have a not related question. Would you be so kind to provide me with "od-home/bin/iwodcmd -v" or "iwodservergetversion" commands output? I really require its for my development purpose, but have no chance to install the product

    ReplyDelete
  2. sorry no can do - i dont work with teamsite any longer (thank god). i can tell you that i was using teamsite 4.5.x when i wrote that entry

    ReplyDelete
  3. Unfortunately I still do :P In same project Mikhail.
    I get iwodstart running in default synchronous mode.
    Need to wait for deployment to complete.

    Any pointers? Not a permission issue.

    ReplyDelete