centos-binary-neutron-vpnaas-agent:mount path must be absolute

Bug #1683669 reported by zhangdongqi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
High
zhangdongqi
Ocata
Fix Released
High
Unassigned
Pike
Fix Released
High
zhangdongqi

Bug Description

deploy ocata 4.0.1 with koala-ansible.
The images are downloaded from http://tarballs.openstack.org/kolla/images/.
used the centos-binary-registry-ocata.tar.gz

I enabled the neutron_vpnaas and I encounter this problem.

fatal: [control1 -> control1]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_JOr5Qe/ansible_module_kolla_docker.py\", line 791, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_JOr5Qe/ansible_module_kolla_docker.py\", line 613, in start_container\\n self.create_container()\\n File \"/tmp/ansible_JOr5Qe/ansible_module_kolla_docker.py\", line 583, in create_container\\n self.dc.create_container(**options)\\n File \"/usr/lib/python2.7/site-packages/docker/api/container.py\", line 135, in create_container\\n return self.create_container_from_config(config, name)\\n File \"/usr/lib/python2.7/site-packages/docker/api/container.py\", line 146, in create_container_from_config\\n return self._result(res, True)\\n File \"/usr/lib/python2.7/site-packages/docker/client.py\", line 178, in _result\\n self._raise_for_status(response)\\n File \"/usr/lib/python2.7/site-packages/docker/client.py\", line 174, in _raise_for_status\\n raise errors.APIError(e, response, explanation=explanation)\\nAPIError: 500 Server Error: Internal Server Error (\"{\"message\":\"invalid volume spec \\\\\"7000/lokolla/centos-binary-neutron-vpnaas-agent\\\\\": invalid volume specification: \\'7000/lokolla/centos-binary-neutron-vpnaas-agent\\': invalid mount config for type \\\\\"volume\\\\\": invalid mount path: \\'7000/lokolla/centos-binary-neutron-vpnaas-agent\\' mount path must be absolute\"}\")\\n'"}

Tags: neutron
Revision history for this message
zhangdongqi (zhangdongqi) wrote :

I checked the ansible role of neutron and found there is an error when koala_docker start the neutron_vpnaas_agent service.
The volume parameter should be volumes: "{{ neutron_vpnaas_agent.volumes}}" not volumes: "{{ neutron_vpnaas_agent.image }}"

tags: added: neutron
Changed in kolla-ansible:
assignee: nobody → zhangdongqi (zhangdongqi)
status: New → Confirmed
Changed in kolla-ansible:
status: Confirmed → In Progress
Changed in kolla-ansible:
importance: Undecided → High
milestone: none → pike-1
Revision history for this message
zhangdongqi (zhangdongqi) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/457505/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/457505
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=e0822177272e118370dfb4614fd42f57fac143fa
Submitter: Jenkins
Branch: master

commit e0822177272e118370dfb4614fd42f57fac143fa
Author: zhangdongqi <zdq123.hn@163.com>
Date: Tue Apr 18 16:09:57 2017 +0800

    neutron_vpnaas_agent: kolla_docker parameter 'volumes' is wrong

    In task "Running Neutron vpnaas bootstrap container",
    parameter "volumes" of kolla_docker should be
    "{{ neutron_vpnaas_agent.volumes }}"
    NOT
    "{{ neutron_vpnaas_agent.image }}"

    Change-Id: Id7c95d4d6f53dfab384e387951eecf4d87459de
    Closes-Bug: #1683669

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (stable/ocata)

Change abandoned by zhubingbing (zhu.bingbing@99cloud.net) on branch: stable/ocata
Review: https://review.openstack.org/457856

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/457879
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=f545ee787b98a14a162d96ca1b7102daf504fd96
Submitter: Jenkins
Branch: stable/ocata

commit f545ee787b98a14a162d96ca1b7102daf504fd96
Author: zhangdongqi <zdq123.hn@163.com>
Date: Tue Apr 18 16:09:57 2017 +0800

    neutron_vpnaas_agent: kolla_docker parameter 'volumes' is wrong

    In task "Running Neutron vpnaas bootstrap container",
    parameter "volumes" of kolla_docker should be
    "{{ neutron_vpnaas_agent.volumes }}"
    NOT
    "{{ neutron_vpnaas_agent.image }}"

    Change-Id: Id7c95d4d6f53dfab384e387951eecf4d87459de
    Closes-Bug: #1683669
    (cherry picked from commit e0822177272e118370dfb4614fd42f57fac143fa)

    Change-Id: Ib877fb3fd6cbbf256f5c29e3a3dec02bb2388388

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.2

This issue was fixed in the openstack/kolla-ansible 4.0.2 release.

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.