error-deploying-wordpress-application

Bug #1558138 reported by Devdatta Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
New
Undecided
Unassigned

Bug Description

When trying to deploy Wordpress we are seeing following in solum-deployer:

{"stack": {"disable_rollback": true, "description": "Basic app deploy.\n", "parent": null, "tags": null, "stack_name": "wordpress-app-cf218cb0-7aee-4a8f-9dfc-f44220d0d65a", "stack_user_project_id": "e07c5959247548c5953c299ae07bfc03", "stack_status_reason": "Resource CREATE failed: ResourceInError: resources.compute_instance: Went to status ERROR due to \"Message: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 5dc73c03-fb50-431c-942a-691a2f1bba90. Last exception: 'NetworkInfo' object has no attribute 'wait', Code: 500\"", "creation_time": "2016-03-16T15:46:17", "links": [{"href": "http://10.0.2.15:8004/v1/22d7c00be7c44b08a22682da990f01f6/stacks/wordpress-app-cf218cb0-7aee-4a8f-9dfc-f44220d0d65a/0e2507f8-14c7-49d4-82d8-c257aa03e546", "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time": null, "timeout_mins": null, "stack_status": "CREATE_FAILED", "stack_owner": null, "parameters": {"OS::project_id": "22d7c00be7c44b08a22682da990f01f6", "public_net": "08490182-5a93-4e05-9e25-7ca86876d5dd", "OS::stack_name": "wordpress-app-cf218cb0-7aee-4a8f-9dfc-f44220d0d65a", "key_name": "", "image": "4747c66f-56d5-4ceb-bb73-3d81cbb223c6", "OS::stack_id": "0e2507f8-14c7-49d4-82d8-c257aa03e546", "private_subnet": "c128717e-0c76-4876-a1fd-2e3a4fdb6a7b", "private_net": "61206617-12c0-44b6-bf77-eedf77411600", "flavor": "m1.small", "port": "80", "app_name": "wordpress-app"}, "id": "0e2507f8-14c7-49d4-82d8-c257aa03e546", "outputs": [{"output_value": "http://172.24.4.7:80", "output_key": "URL", "description": "The URL for the Server."}, {"output_value": "172.24.4.7", "output_key": "public_ip", "description": "The public IP address of the newly configured Server."}], "template_description": "Basic app deploy.\n"}}

And we see following stack trace in n-cpu screen:

016-03-16 15:47:33.913 TRACE novadocker.virt.docker.driver [instance: 125ee04a-f386-4ea5-be59-70ea67d18155]
2016-03-16 15:47:33.935 ERROR nova.compute.manager [req-8d096b38-c39f-4cba-b4d9-b84dd5219dcb demo demo] [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] Instance failed to spawn
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] Traceback (most recent call last):
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] File "/opt/stack/nova/nova/compute/manager.py", line 2218, in _build_resources
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] yield resources

2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] File "/opt/stack
/nova/nova/compute/manager.py", line 2064, in _build_and_run_instance
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] block_device_info=block_device_info)
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 537, in spawn
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] self._start_container(container_id, instance, network_info)
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 503, in _start_container
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] instance_id=instance['name'])
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] InstanceDeployFailure: Cannot setup network: Unexpected error while running command.
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf ip netns exec 922a8247c2c0fe294c0a8a99dde3e9a04b72581e67a8af61a9bf9e45cc7f30f5 ip link set lo up
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] Exit code: 1
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] Stdout: u''
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] Stderr: u'Cannot open network namespace "922a8247c2c0fe294c0a8a99dde3e9a04b72581e67a8af61a9bf9e45cc7f30f5": No such file or directory\n'
2016-03-16 15:47:33.935 TRACE nova.compute.manager [instance: 125ee04a-f386-4ea5-be59-70ea67d18155]
2016-03-16 15:47:33.942 ERROR root [req-8d096b38-c39f-4cba-b4d9-b84dd5219dcb demo demo] Original exception being dropped: ['Traceback (most recent call last):\n', ' File "/opt/stack/nova/nova/compute/manager.py", line 2218, in _build_resources\n yield resources\n', ' File "/opt/stack/nova/nova/compute/manager.py", line 2064, in _build_and_run_instance\n block_device_info=block_device_info)\n', ' File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 537, in spawn\n self._start_container(container_id, instance, network_info)\n', ' File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 503, in _start_container\n instance_id=instance[\'name\'])\n', 'InstanceDeployFailure: Cannot setup network: Unexpected error while running command.\nCommand: sudo nova-rootwrap /etc/nova/rootwrap.conf ip netns exec 922a8247c2c0fe294c0a8a99dde3e9a04b72581e67a8af61a9bf9e45cc7f30f5 ip link set lo up\nExit code: 1\nStdout: u\'\'\nStderr: u\'Cannot open network namespace "922a8247c2c0fe294c0a8a99dde3e9a04b72581e67a8af61a9bf9e45cc7f30f5": No such file or directory\\n\'\n']
2016-03-16 15:47:33.944 DEBUG nova.compute.claims [req-8d096b38-c39f-4cba-b4d9-b84dd5219dcb demo demo] [instance: 125ee04a-f386-4ea5-be59-70ea67d18155] Aborting claim

Languagepack repo: https://github.com/rackspace-solum-samples/solum-languagepack-wordpress

Application repo: https://github.com/rackspace-solum-samples/solum-wordpress-sample-app

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.