can't set server-home when restarting django

Reported by Peter Banka on 2010-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bombardier
High
Peter Banka

Bug Description

username [root]: longnamed_dude
password:
Server home is not set. Please enter the value [/var/deploy]:
Traceback (most recent call last):
  File "/usr/bin/bdr", line 221, in <module>
    initialize(system_state, slash)
  File "/usr/bin/bdr", line 146, in initialize
    system_state.cnm_connector.sync_server_home(server_home)
  File "/usr/lib/python2.5/site-packages/bombardier_cli/CnmConnector.py", line 276, in sync_server_home
    output = self.service_yaml_request(url, post_data=post_data)
  File "/usr/lib/python2.5/site-packages/bombardier_cli/CnmConnector.py", line 291, in service_yaml_request
    response = self.service_request(path, args, put_data, post_data, delete, timeout)
  File "/usr/lib/python2.5/site-packages/bombardier_cli/CnmConnector.py", line 271, in service_request
    return self.perform_request(curl_obj, full_path)
  File "/usr/lib/python2.5/site-packages/bombardier_cli/CnmConnector.py", line 203, in perform_request
    raise ServerException(full_path, curl_err[1], http_code)
bombardier_cli.Exceptions.ServerException: Can't connect to http://127.0.0.1:8000/json/server/config (The requested URL returned error: 403) (403)
root@peacemaker:~/src/1.00/cli#

Peter Banka (pbanka) wrote :

Looks like it happens in all cases:

peacemaker (longnamed_dude)> dispatcher server-home /var/deploy
% ERROR: Cannot communicate with CNM Server
% Can't connect to http://127.0.0.1:8000/json/server/config (The requested URL returned error: 403) (403)

Changed in bombardier:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Peter Banka (pbanka)
Peter Banka (pbanka) wrote :

This is a permissions issue. Needs better permission logging:

peacemaker (admin)> dispatcher server-home /var/deploy
  Server home set to /var/deploy

Peter Banka (pbanka) on 2010-04-07
Changed in bombardier:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers