Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
templates:
- openstack-python3-yoga-jobs
- openstack-python3-yoga-jobs-arm64
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3
- periodic-stable-jobs
4 changes: 2 additions & 2 deletions docker/nova/nova-api/extend_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
nova-manage api_db sync
nova-manage db sync
nova-manage db sync --local_cell
nova-manage db online_data_migrations
exit 0
fi

if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
nova-manage api_db sync
nova-manage db sync
nova-manage db sync --local_cell
exit 0
fi

Expand Down
4 changes: 4 additions & 0 deletions docker/nova/nova-compute/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python3-oslo-vmware',
'python3-rtslib',
'qemu-kvm-block-rbd',
'rsync',
'sysfsutils',
'targetcli',
'xfsprogs'
Expand Down Expand Up @@ -70,6 +71,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python3-rbd',
'python3-rtslib-fb',
'qemu-block-extra',
'rsync',
'sasl2-bin',
'sysfsutils',
'targetcli-fb',
Expand Down Expand Up @@ -112,6 +114,7 @@ RUN rm -f /etc/nova/nova-compute.conf
'python3-rtslib',
'qemu-img',
'qemu-kvm-block-rbd',
'rsync',
'sysfsutils',
'targetcli',
'xfsprogs'
Expand Down Expand Up @@ -152,6 +155,7 @@ RUN rm -f /etc/nova/nova-compute.conf
'python3-rtslib-fb',
'qemu-block-extra',
'qemu-utils',
'rsync',
'sasl2-bin',
'sysfsutils',
'targetcli-fb',
Expand Down
7 changes: 1 addition & 6 deletions docker/swift/swift-base/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,9 @@ RUN ln -s swift-base-source/* swift \
&& chown -R swift: /etc/swift /var/cache/swift /var/lock/swift
{% endif %}

COPY swift-rootwrap /var/lib/kolla/venv/bin/swift-rootwrap
COPY rootwrap.conf /etc/swift/rootwrap.conf
COPY swift_sudoers /etc/sudoers.d/kolla_swift_sudoers

RUN chmod 755 /var/lib/kolla/venv/bin/swift-rootwrap \
&& chmod 644 /etc/swift/rootwrap.conf \
&& sed -i 's|^exec_dirs.*|exec_dirs=/var/lib/kolla/venv/bin,/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin|g' /etc/swift/rootwrap.conf \
&& chmod 750 /etc/sudoers.d \
RUN chmod 750 /etc/sudoers.d \
&& chmod 440 /etc/sudoers.d/kolla_swift_sudoers \
&& mkdir -p /opt/swift

Expand Down
27 changes: 0 additions & 27 deletions docker/swift/swift-base/rootwrap.conf

This file was deleted.

10 changes: 0 additions & 10 deletions docker/swift/swift-base/swift-rootwrap

This file was deleted.

1 change: 0 additions & 1 deletion docker/swift/swift-base/swift_sudoers
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
swift ALL=(root) NOPASSWD: /bin/find /srv/node/ -maxdepth 1 -type d -execdir chown swift\:swift {} \\+
swift ALL=(root) NOPASSWD: /usr/bin/find /srv/node/ -maxdepth 1 -type d -execdir chown swift\:swift {} \\+
swift ALL=(root) NOPASSWD: /var/lib/kolla/venv/bin/swift-rootwrap /etc/swift/rootwrap.conf *
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
The Nova API container extended startup script has been updated to only
sync the local Nova cell. This resolves an error that would occur when the
Nova database password changes. More details can be found on `this bug
report <https://bugs.launchpad.net/kolla/+bug/2045558>`__.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
docker>=2.4.2 # Apache-2.0
docker>=2.4.2,<7.0.0 # Apache-2.0
Jinja2>=3.0.1 # BSD License (3 clause)
GitPython>=1.0.1 # BSD License (3 clause)
oslo.config>=5.1.0 # Apache-2.0