aboutsummaryrefslogtreecommitdiff
path: root/docker/kolla-toolbox/ansible_sudoers
AgeCommit message (Collapse)AuthorFilesLines
2026-07-06Migrate to pyproject.tomlMichal Nasiadka1-3/+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>
2022-10-09Fix Swift deployment issueMaksim Malchuk1-0/+2
Swift deployment is broken since CVE-2022-38060 fixed sudoers file in the I66476a2b396e2cbe41e68ac51f57aae1806b2ed8. The kolla-toolbox container have their own virtualenv path differs from all other containers. This change adds the correct sudoers secure_path configuration needed only for kolla-toolbox conainer. Related-Bug: #1985784 Change-Id: I3651576ee354364d639c187ff750491667ecab56 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2018-06-01Fix sudoers for CephPaul Bourke1-1/+1
Since moving ansible to a virtualenv in the toolbox Ceph could not run find_disks. Change-Id: I8bce61887273f1c27ab79edec947d36a3aab3c48
2017-11-02Add ansible sudo running for Debian familyXinliang Liu1-1/+1
On Debian and Ubuntu pip install ansible to /usr/local/bin/ansible, whereas on CentOS the location is /usr/bin/ansible. Add ansible sudo running entry for Debian family. Partial-Bug: #1729216 Change-Id: I2b57403128bc103148ae696c219df52590214adc Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2016-07-07Read GPT label using sgdisk rather than udevStephen Hindle1-0/+1
The Ceph osd bootstrap/startup logic depends upon reading/writing partition names. Some older versions of udev have trouble reading these (/dev/disk/by-label is missing). To work around this, we shell out to sgdisk and scrape the partition name data directly. Co-authored-by: Paul Bourke <paul.bourke@oracle.com> Closes-Bug: 1585185 Change-Id: I362b3f8e91de79687fc84e256996fbcaf303b6af