neutron-metadata container fails to start unless a /var/lib/neutron/kolla dir is mounted

Bug #1669487 reported by Martin André
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Low
Martin André

Bug Description

neutron-metadata-agent image expects a /var/lib/neutron/kolla directory to be present but it is not created as part of the image building. As a result, the extend_start.sh script fails with:

    stat: cannot stat '/var/lib/neutron/kolla': No such file or directory

Kolla-ansible is not affected because it provides the directory at runtime as the neutron_metadata_socket named volume.

Martin André (mandre)
summary: - nova-metadata container fails to start unless a /var/lib/neutron/kolla
- dir is mounted
+ neutron-metadata container fails to start unless a
+ /var/lib/neutron/kolla dir is mounted
Changed in kolla:
status: New → In Progress
Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Martin, will need to be backported to stable branch?

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

Reviewed: https://review.openstack.org/440534
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=0c6f5d20747ab875daee4d0e4d1d1aa94224a4f9
Submitter: Jenkins
Branch: master

commit 0c6f5d20747ab875daee4d0e4d1d1aa94224a4f9
Author: Martin André <email address hidden>
Date: Thu Mar 2 13:43:04 2017 +0100

    Defer handling of /var/lib/neutron/kolla to kolla API

    neutron-metadata-agent image expected the /var/lib/neutron/kolla
    directory to be present but it was not created as part of the image
    building. As a result, the extend_start.sh script fails with:

        stat: cannot stat '/var/lib/neutron/kolla': No such file or directory

    This commit defers setting the right ownership for files and directories
    to the kolla config API via a config.json file.

    Kolla-ansible already mounts the directory as the
    neutron_metadata_socket named volume and uses kolla API to set the
    ownership and permissions [1].

    [1] https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/neutron/templates/neutron-metadata-agent.json.j2

    Closes-Bug: #1669487
    Change-Id: Ib521b0fc69ab6a72295a2fde3309a001bc3063c2

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b2

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

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.