This bug also appears to effect creating a k8s service using magnum. Note: I am able to create a pod and service using kubectl. $ magnum --debug service-create --bay k8s --manifest /opt/stack/web.service DEBUG (v2:76) Making authentication request to http://172.29.74.86:5000/v2.0/tokens INFO (connectionpool:203) Starting new HTTP connection (1): 172.29.74.86 DEBUG (connectionpool:383) "POST /v2.0/tokens HTTP/1.1" 200 4333 DEBUG (iso8601:184) Parsed 2015-08-26T19:26:46Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'19', 'daydash': u'26', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'46', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'08', 'day': None, 'minute': u'26'} with default timezone DEBUG (iso8601:140) Got u'2015' for 'year' with default None DEBUG (iso8601:140) Got u'08' for 'monthdash' with default 1 DEBUG (iso8601:140) Got 8 for 'month' with default 8 DEBUG (iso8601:140) Got u'26' for 'daydash' with default 1 DEBUG (iso8601:140) Got 26 for 'day' with default 26 DEBUG (iso8601:140) Got u'19' for 'hour' with default None DEBUG (iso8601:140) Got u'26' for 'minute' with default None DEBUG (iso8601:140) Got u'46' for 'second' with default None DEBUG (httpclient:105) curl -i -X GET -H 'X-Auth-Token: c31e0d94bd0c49759933825ed0c0cdb9' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-magnumclient' http://172.29.74.86:9511/v1/bays/k8s 2015-08-26 17:26:46.330 DEBUG keystoneclient.session [req-87113948-7e7f-40e1-82cf-1f3a8432a6f5 admin admin] REQ: curl -g -i --cacert "/opt/stack/data/ca-bundle.pem" -X GET http://172.29.74.86:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}5c7e8642fa7adf9aa2bb3c928faeb9fa35a0576e" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}ea2994b829b37d68d9e57e0e29066ab86536e3a2" from (pid=44611) _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:195 2015-08-26 17:26:46.372 DEBUG keystoneclient.session [req-87113948-7e7f-40e1-82cf-1f3a8432a6f5 admin admin] RESP: [200] content-length: 7701 x-subject-token: {SHA1}5c7e8642fa7adf9aa2bb3c928faeb9fa35a0576e vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Wed, 26 Aug 2015 17:26:46 GMT content-type: application/json x-openstack-request-id: req-b2112ac8-f90d-46bf-a795-ea268704ca6c RESP BODY: {"token": {"methods": ["password", "token"], "roles": [{"id": "080ed7420fe14e6fad562d0f4311acc5", "name": "admin"}], "expires_at": "2015-08-26T19:26:46.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "d1611f2be8554e4e941caac9b7733eca", "name": "admin"}, "catalog": "", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "1d562b4a46ef4acf81f9727c8f238b38", "name": "admin"}, "audit_ids": ["8FzaiJGZQd2x85CQXxAEYw"], "issued_at": "2015-08-26T17:26:46.302036"}} from (pid=44611) _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:224 172.29.74.86 - - [26/Aug/2015 17:26:46] "GET /v1/bays/k8s HTTP/1.1" 200 686 DEBUG (httpclient:115) HTTP/1.0 200 OK x-openstack-magnum-api-maximum-version: 1.1 content-length: 686 x-openstack-magnum-api-version: 1.1 x-openstack-magnum-api-minimum-version: 1.1 server: WSGIServer/0.1 Python/2.7.6 date: Wed, 26 Aug 2015 17:26:46 GMT content-type: application/json; charset=UTF-8 {"status": "CREATE_COMPLETE", "uuid": "ef317a4c-ccd2-43c8-a867-6074e8587174", "links": [{"href": "http://172.29.74.86:9511/v1/bays/ef317a4c-ccd2-43c8-a867-6074e8587174", "rel": "self"}, {"href": "http://172.29.74.86:9511/bays/ef317a4c-ccd2-43c8-a867-6074e8587174", "rel": "bookmark"}], "created_at": "2015-08-21T22:50:25+00:00", "api_address": "10.30.118.139:8080", "updated_at": "2015-08-21T22:51:48+00:00", "master_count": 1, "baymodel_id": "0b19877e-83f7-405f-a057-ca3c34f7c100", "node_count": 1, "node_addresses": ["10.30.118.136"], "status_reason": "Stack CREATE completed successfully", "discovery_url": "https://discovery.etcd.io/333fe83cbe8536a1df4ab6991fa76ba0", "name": "k8s"} DEBUG (httpclient:105) curl -i -X POST -H 'X-Auth-Token: c31e0d94bd0c49759933825ed0c0cdb9' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-magnumclient' -d '{"manifest_url": null, "bay_uuid": "ef317a4c-ccd2-43c8-a867-6074e8587174", "manifest": "apiVersion: v1beta3\nkind: Service\nmetadata:\n name: web\n labels:\n name: web\nspec:\n ports:\n - port: 8000\n targetPort: 80\n selector:\n name: web\n"}' http://172.29.74.86:9511/v1/services 2015-08-26 17:26:46.395 DEBUG oslo_messaging._drivers.amqpdriver [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] MSG_ID is 957dafdaefab4feba09a6044d1edac36 from (pid=44611) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:392 2015-08-26 17:26:46.396 DEBUG oslo_messaging._drivers.amqp [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] Pool creating new connection from (pid=44611) create /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:103 2015-08-26 17:26:46.396 INFO oslo_messaging._drivers.impl_rabbit [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] Connecting to AMQP server on 172.29.74.86:5672 2015-08-26 17:26:46.402 INFO oslo_messaging._drivers.impl_rabbit [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] Connected to AMQP server on 172.29.74.86:5672 2015-08-26 17:26:46.404 DEBUG oslo_messaging._drivers.amqp [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] Pool creating new connection from (pid=44611) create /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:103 2015-08-26 17:26:46.405 INFO oslo_messaging._drivers.impl_rabbit [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] Connecting to AMQP server on 172.29.74.86:5672 2015-08-26 17:26:46.410 INFO oslo_messaging._drivers.impl_rabbit [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] Connected to AMQP server on 172.29.74.86:5672 2015-08-26 17:26:46.445 ERROR wsme.api [req-b40e4cd4-b27f-49d0-99ce-0897d7bf435e admin admin] Server-side error: "'NoneType' object is not iterable Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply executor_callback)) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch executor_callback) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch result = func(ctxt, **new_args) File "/opt/stack/magnum/magnum/conductor/handlers/k8s_conductor.py", line 45, in service_create namespaces='default') File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/ApivbetaApi.py", line 4512, in createService responseObject = self.apiClient.deserialize(response, 'V1beta3_Service') File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/swagger.py", line 267, in deserialize setattr(instance, attr, self.deserialize(value, attrType)) File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/swagger.py", line 267, in deserialize setattr(instance, attr, self.deserialize(value, attrType)) File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/swagger.py", line 238, in deserialize return objClass(obj) TypeError: 'NoneType' object is not iterable ". Detail: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py", line 84, in callfunction result = f(self, *args, **kwargs) File "", line 2, in post File "/opt/stack/magnum/magnum/api/validation.py", line 37, in wrapper return func(*args, **kwargs) File "/opt/stack/magnum/magnum/api/controllers/v1/service.py", line 275, in post new_service = pecan.request.rpcapi.service_create(service_obj) File "/opt/stack/magnum/magnum/conductor/api.py", line 69, in service_create return self._call('service_create', service=service) File "/opt/stack/magnum/magnum/common/rpc_service.py", line 103, in _call return self._client.call(self._context, method, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 403, in call return self.prepare().call(ctxt, method, **kwargs) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 431, in send retry=retry) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 422, in _send raise result TypeError: 'NoneType' object is not iterable Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply executor_callback)) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch executor_callback) File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch result = func(ctxt, **new_args) File "/opt/stack/magnum/magnum/conductor/handlers/k8s_conductor.py", line 45, in service_create namespaces='default') File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/ApivbetaApi.py", line 4512, in createService responseObject = self.apiClient.deserialize(response, 'V1beta3_Service') File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/swagger.py", line 267, in deserialize setattr(instance, attr, self.deserialize(value, attrType)) File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/swagger.py", line 267, in deserialize setattr(instance, attr, self.deserialize(value, attrType)) File "/opt/stack/magnum/magnum/common/pythonk8sclient/client/swagger.py", line 238, in deserialize return objClass(obj) TypeError: 'NoneType' object is not iterable 172.29.74.86 - - [26/Aug/2015 17:26:46] "POST /v1/services HTTP/1.1" 500 120 DEBUG (httpclient:115) HTTP/1.0 500 Internal Server Error x-openstack-magnum-api-maximum-version: 1.1 content-length: 120 x-openstack-magnum-api-version: 1.1 x-openstack-magnum-api-minimum-version: 1.1 server: WSGIServer/0.1 Python/2.7.6 date: Wed, 26 Aug 2015 17:26:46 GMT content-type: application/json {"error_message": "{\"debuginfo\":null,\"faultcode\":\"Server\",\"faultstring\":\"'NoneType' object is not iterable\"}"} WARNING (httpclient:175) Request returned failure status. DEBUG (shell:577) 'NoneType' object is not iterable (HTTP 500) Traceback (most recent call last): File "/opt/stack/python-magnumclient/magnumclient/shell.py", line 574, in main OpenStackMagnumShell().main(map(encodeutils.safe_decode, sys.argv[1:])) File "/opt/stack/python-magnumclient/magnumclient/shell.py", line 519, in main args.func(self.cs, args) File "/opt/stack/python-magnumclient/magnumclient/v1/shell.py", line 483, in do_service_create service = cs.services.create(**opts) File "/opt/stack/python-magnumclient/magnumclient/v1/services.py", line 92, in create return self._create(self._path(), new) File "/opt/stack/python-magnumclient/magnumclient/common/base.py", line 49, in _create resp, body = self.api.json_request('POST', url, body=body) File "/opt/stack/python-magnumclient/magnumclient/common/httpclient.py", line 196, in json_request resp, body_iter = self._http_request(url, method, **kwargs) File "/opt/stack/python-magnumclient/magnumclient/common/httpclient.py", line 179, in _http_request error_json.get('debuginfo'), method, url) InternalServerError: 'NoneType' object is not iterable (HTTP 500)