NotFound(HTTPError(u'404 Client Error: Not Found for url: http+docker://localunixsocket/v1.21/volumes',),)

Bug #1536518 reported by Kuo-tung Kao (jelly)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Kuo-tung Kao (jelly)

Bug Description

The error happened because docker-py too old.
It will works when docker-py == 1.6.0

TASK: [nova | Creating Nova database user and setting permissions] ************
<localhost> REMOTE_MODULE command docker exec -t kolla_ansible /usr/bin/ansible localhost -m mysql_user -a "login_host='10.0.2.16' login_user='root' login_password=VALUE_HIDDEN name='nova' password=VALUE_HIDDEN host='%' priv='nova.*:ALL' append_privs='yes'"
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1453363502.28-52360304020014 && echo $HOME/.ansible/tmp/ansible-tmp-1453363502.28-52360304020014']
<localhost> PUT /tmp/tmptoxUXm TO /home/vagrant/.ansible/tmp/ansible-tmp-1453363502.28-52360304020014/command
<localhost> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1453363502.28-52360304020014/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1453363502.28-52360304020014/ >/dev/null 2>&1']
changed: [localhost -> localhost] => {"changed": true, "cmd": ["docker", "exec", "-t", "kolla_ansible", "/usr/bin/ansible", "localhost", "-m", "mysql_user", "-a", "login_host='10.0.2.16' login_user='root' login_password='password' name='nova' password='password' host='%' priv='nova.*:ALL' append_privs='yes'"], "delta": "0:00:00.486784", "end": "2016-01-21 08:05:02.814344", "failed": false, "failed_when_result": false, "rc": 0, "start": "2016-01-21 08:05:02.327560", "stderr": "", "stdout": "localhost | SUCCESS => {\r\n \"changed\": true, \r\n \"user\": \"nova\"\r\n}", "stdout_lines": ["localhost | SUCCESS => {", " \"changed\": true, ", " \"user\": \"nova\"", "}"], "warnings": []}

TASK: [nova | Starting Nova bootstrap container] ******************************
<localhost> REMOTE_MODULE kolla_docker image=172.22.2.81:4000/kollaglue/ubuntu-source-nova-api:2.0.0 action=start_container volumes=/etc/kolla/nova-api/:/var/lib/kolla/config_files/:ro restart_policy=never name=bootstrap_nova
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1453363502.87-255162371189419 && echo $HOME/.ansible/tmp/ansible-tmp-1453363502.87-255162371189419']
<localhost> PUT /tmp/tmp9Jw1Oy TO /home/vagrant/.ansible/tmp/ansible-tmp-1453363502.87-255162371189419/kolla_docker
<localhost> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1453363502.87-255162371189419/kolla_docker; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1453363502.87-255162371189419/ >/dev/null 2>&1']
changed: [localhost -> localhost] => {"changed": true}

TASK: [nova | Creating nova-compute volume] ***********************************
<localhost> REMOTE_MODULE kolla_docker name=nova_compute action=create_volume
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1453363509.9-269555417082612 && echo $HOME/.ansible/tmp/ansible-tmp-1453363509.9-269555417082612']
<localhost> PUT /tmp/tmpg75kmR TO /home/vagrant/.ansible/tmp/ansible-tmp-1453363509.9-269555417082612/kolla_docker
<localhost> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1453363509.9-269555417082612/kolla_docker; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1453363509.9-269555417082612/ >/dev/null 2>&1']
failed: [localhost] => {"changed": true, "failed": true}
msg: NotFound(HTTPError(u'404 Client Error: Not Found for url: http+docker://localunixsocket/v1.21/volumes',),)

Revision history for this message
Kuo-tung Kao (jelly) (coding1314) wrote :

The bug should be solved by the patch
https://review.openstack.org/#/c/270625/

Steven Dake (sdake)
Changed in kolla:
status: New → Fix Released
importance: Undecided → Critical
milestone: none → mitaka-3
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.