aboutsummaryrefslogtreecommitdiff
path: root/docker/neutron/neutron-metadata-agent/extend_start.sh
AgeCommit message (Collapse)AuthorFilesLines
2026-07-06Migrate to pyproject.tomlMichal Nasiadka1-18/+0
[tool.setuptools.data-files] does not support recursive directory installation. The old setup.cfg [files] worked because PBR's FilesConfig.expand_globs() used os.walk() to expand docker/*, but this hook is not triggered by the pbr.build PEP-517 backend. Move docker/ into kolla/ and use [tool.setuptools.package-data] instead. Update kolla_worker._get_images_dir() to check the kolla package directory first so both editable and regular installs work. Change-Id: I4fc452c03740ef22ebbb4e8d0d86c4f4783e2d09 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-09-17neutron-metadata-agent: copy wrapper script for haproxy processesMaximilian Stinsky1-0/+18
In ml2/ovn setups, the neutron-metadata-agent spawns haproxy processes to serve metadata requests. To run these haproxy instances inside their own containers, the wrapper script must be available in the metadata-agent container. This is a follow up on I679ac66186d457ae53f89469fe22c5662089019a Change-Id: Ia47af98ff723ebe8ea8461d05a2bc3b58af845f9 Signed-off-by: Maximilian Stinsky <maximilian.stinsky-damke@wiit.cloud>
2017-03-02Defer handling of /var/lib/neutron/kolla to kolla APIMartin André1-6/+0
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
2016-02-24Remove duplicate code in neutron extend_start.shÉric Lemoine1-7/+0
Change-Id: I74aa68d809e9b38a605093abc4e2b8ca14335dee Partial-Bug: #1546944
2016-02-19Make Heka collect Neutron logsÉric Lemoine1-0/+7
Partially implements: blueprint heka Change-Id: I70e94f4ef7380c6f376a3066d7ddda042c703637
2016-02-06Convert Neutron to thin containersSamYaple1-0/+6
*** Requires Docker 1.10 which is released *** Documentation will be in the next patch. You must set the following in your docker.service daemon control file for propogation to work: [Service] MountFlags=shared ====================================================================== Thanks to mount propagation in Docker 1.10 we can use thin containers finally! This is extremely useful to operators since now they can access the network namespaces from the hosts (outside the neutron container). But additionally it allows us to implement the VPN agent and other services easier. Neutron containers and the neutron role are brought into the standards of the new Kolla. Completely with drop-root and ansible formating updates. The ip_wrapper.py script was (thankfully) not needed so it has been removed from the repo. Partially-Implements: blueprint upgrade-neutron Change-Id: Iaf5555283240457e1912459f397a6393d886fba1