Comment 2 for bug 1518987

Revision history for this message
Jacob (jacob-fraser) wrote :

Jacob here.. I work with Dave.. hoping that this community can help us out.

it seems the Conductor is not registering itself. all the documentation out there has very different results comming back with a magnum service-list.. like columns
 | id | host | binary | state |
not sure whats going on.. perhaps our database table did not create correctly..?

When I try to run a baymodel-create..

magnum --debug baymodel-create --name k8sbaymodel --image-id 7ed5d04d-f983-4ab3-b960-119cb1019014 --keypair-id testkey --external-network-id 620fc7dd-b620-47c3-b1a6-52eb7d74515d --dns-nameserver 8.8.8.8 --flavor-id m1.small --docker-volume-size 5 --coe kubernetes

I am getting a BadStatusLIne.. which I assume means that the Conductor is not reporting its status..

DEBUG (shell:577) ''
Traceback (most recent call last):
  File "/root/python-magnumclient/magnumclient/shell.py", line 574, in main
    OpenStackMagnumShell().main(map(encodeutils.safe_decode, sys.argv[1:]))
  File "/root/python-magnumclient/magnumclient/shell.py", line 519, in main
    args.func(self.cs, args)
  File "/root/python-magnumclient/magnumclient/v1/shell.py", line 202, in do_baymodel_create
    baymodel = cs.baymodels.create(**opts)
  File "/root/python-magnumclient/magnumclient/v1/baymodels.py", line 94, in create
    return self._create(self._path(), new)
  File "/root/python-magnumclient/magnumclient/common/base.py", line 49, in _create
    resp, body = self.api.json_request('POST', url, body=body)
  File "/root/python-magnumclient/magnumclient/common/httpclient.py", line 196, in json_request
    resp, body_iter = self._http_request(url, method, **kwargs)
  File "/root/python-magnumclient/magnumclient/common/httpclient.py", line 152, in _http_request
    resp = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1051, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 415, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 379, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''
ERROR: ''