master
156 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Tadas Sutkaitis
|
0b05f5dde9 |
fix: fetch-public-ssh-keys service targets
multi-user.target is a general runlevel target, and it can be considered reached once the basic services are up. That means sometimes network is still not reachable. Change-Id: I7312e05e12e978a96ee1bd3a74080d7f50523d80 Signed-off-by: Tadas Sutkaitis <tadasas@gmail.com> |
||
|
Zuul
|
3181d89123 | Merge "Replace UPPER_CONSTRAINTS_FILE" | ||
|
Takashi Kajinami
|
6219bf4432 |
Replace UPPER_CONSTRAINTS_FILE
It was deprecated in favor of TOX_CONSTRAINTS_FILE. Change-Id: I2faada9d4d590267b1246d2765ecbdcdc78ba8e3 |
||
|
Takashi Kajinami
|
5864a0987c |
Add note about requirements lower bounds
Since lower constraints job was removed the bounds are not actually tested. Add a note to explain the bounds are maintained on best effort basis. Also remove the note about old pip's behavior because recent pip can resolve dependencies without relying on the list order. Change-Id: I0ba9538fd7bab968fc06d3895560a056c44a2181 |
||
|
Takashi Kajinami
|
374bceea4e |
Adjust qemu package name for Ubuntu Noble (24.04)
qemu package was renamed to qemu-system package in Ubuntu Noble (24.04) so update the package name accordingly. Also make manila-image-elements-buildimage-docker non-voting now, because job rarely passes now due to reatelimit in docker.io . Change-Id: I40a71159cc0385e1236151bd33070adab9693e4c |
||
|
Zuul
|
ee780b7195 | Merge "Add doc/requirements" | ||
|
Takashi Kajinami
|
c49e4630c0 |
Drop unnecessary export
This is follow-up of
|
||
|
Takashi Kajinami
|
18b84b1d2c |
Fix installation of EPEL in recent versions
The current hard-coded rpm url does not work in CentOS/RHEL > 6. Also we have to use dnf instead of yum in recent versions (like CentOS >= 8). Change-Id: I3b0be9bd864a611d330b06a95913af8a12468200 |
||
|
Takashi Kajinami
|
61b2b86652 |
Make tox.ini compatible with recent tox versions
Change-Id: Idd269aba375ca31a24d5012da03214dc882e4014 |
||
|
wangjiaqi07
|
66126c2a77 |
remove unicode from code
Change-Id: If44e9324df8b1cfc358ae3e378617a19f7c2de12 |
||
|
Goutham Pacha Ravi
|
8cd2097190 |
Switch ubuntu image to Jammy Jellyfish
Move to the 22.04 LTS release. Also stop installing python2, since its EOL. Depends-On: Idd3e6a6fdb8cf13727cd674c76efd89b3aacfc52 Change-Id: I9b4c134ecc9279487e253fa3bc38ae32fe487ac6 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Goutham Pacha Ravi
|
a21683502a |
Fix setup.py and setup.cfg deprecations
This project cannot be "installed" as a python package, so specify there are no "py_modules" to install; alongside, hyphenated metadata headers are deprecated in setup.cfg, replace them. Change-Id: I0713f3c871180ea235c12f888e43a7a823341f0c Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
George Melikov
|
631a8542df |
Allow to set MANILA_USER_AUTHORIZED_KEYS
It may be appropriate to easily add keys for SSH auth. Change-Id: I7c7875fa1e6c2228d2268f6c26994d12a0a5262e Signed-off-by: George Melikov <mail@gmelikov.ru> |
||
|
George Melikov
|
156d9e370b |
Fix typo for manilauser-ssh-authorized-keys
Change-Id: I481f822f3de873754737e5805bce2766cb37434c |
||
|
George Melikov
|
93957d68ef |
Allow empty MANILA_PASSWORD to harden security
There is a check for empty value of `DIB_MANILA_USER_PASSWORD` in `elements/manila-ssh/install.d/50-manila-user` already. Just allow to set MANILA_PASSWORD empty. Change-Id: I08ee3e643bb0c6208bda7caadc11f865617163f3 Signed-off-by: George Melikov <mail@gmelikov.ru> |
||
|
Zuul
|
9c00e86d17 | Merge "Add OpenLDAP to manila-docker-container" | ||
|
Eduardo Santos
|
b9e4bd6b73 |
Add OpenLDAP to manila-docker-container
This patch adds an OpenLDAP server and some LDAP utilities to the manila-docker-container Docker image. It modifies the Dockerfile so it installs the ``slapd`` and ``ldap-utils`` packages, calls the slapd.sh shell script, which configures slapd, and makes the container start slapd automatically when run. Change-Id: I56995cff4457a2cbfbf42a86ee45c75a259f41e5 |
||
|
Eduardo Santos
|
6496b2f2ba |
Remove lower-constraints job
This patch removes the lower-constraints job entirely. This change is needed due to an update in the pip-dependency-resolver which broke the lower-constraints job. Change-Id: Ie97fec3d6edf93a1506a38ead8a17534e6bb0ccd |
||
|
Hervé Beraud
|
8036700154 |
Add doc/requirements
Removing specific doc requirements from test-requirements.txt and move them to a dedicated place. Indeed, we need to specify doc requirements in doc/requirements.txt to avoid problems with the pip resolver [1] for the release team [2][3]. The problem here is that this repos haven't doc/requirements.txt file and by default in this case zuul will use the test-requirements.txt file to pull requirements [4]. This requirements file contains extra requirements like flake8 that collided with those allowed in our job environment and so the new pip resolver fails to install these requirements and the job exits in error. This project meet the conditions leading to the bug. [1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html [2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html [3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html [4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36 Change-Id: Ibf838f01d935763ff1e0d19f10340c8ee360784c |
||
|
Zuul
|
d6220444fd | Merge "Ignore *.service files when linting bash scripts" | ||
|
Goutham Pacha Ravi
|
7725e2cbbf |
Ignore *.service files when linting bash scripts
Prevents this bashate warning: ./elements/manila-ssh/install.d/fetch-public-ssh-keys.service:1:1: E005 File does not begin with #! or have .sh prefix TrivialFix Change-Id: I9e4e6b96730ddc62ac1094ec4af0c84863acc60f Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Goutham Pacha Ravi
|
f780218341 |
Switch ubuntu image to Focal Fossa (20.04 LTS)
Test infrastructure is moving to Focal Fossa in this release, the service image could too. Change-Id: I89ff01d31012633a2cefd6ef453530c011ff8a09 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
d9d2f16360 | Merge "Native Zuulv3 container scenario test job" | ||
|
Zuul
|
344ea15972 | Merge "Native Zuulv3 scenario test job" | ||
|
Goutham Pacha Ravi
|
6a026e72b4 |
Native Zuulv3 container scenario test job
Replace the "manila-tempest-dsvm-container-scenario-custom-image" job with a native Zuulv3 style job that does not use the deprecated devstack-gate project. This new test job runs backend tests at the moment with the container driver. Scenario tests that include mounting shares to tenant VMs aren't yet enabled, and doing so is a TODO item for the future. Change-Id: I65379ffcf06e9de111d69cd3b5bc4acc7af0547e Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Goutham Pacha Ravi
|
873527d746 |
Native Zuulv3 scenario test job
Replace the "manila-tempest-dsvm-generic-scenario-custom-image" job with a native Zuulv3 style job that does not use the deprecated devstack-gate project. This new test job runs integration NFS and CIFS tests against a newly created test image that is used as the service instance image, as well as the client image. Change-Id: I3d2345e80f3bc18558d4cc6cc58108ff63119460 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
207e43a9aa | Merge "Start ssh only after full boot" | ||
|
George Melikov
|
bc5e37ffd9 |
Start ssh only after full boot
Before this change instance may close ssh connection on boot with message: "System is booting up. See pam_nologin(8)" Connection closed by XXX port 22 , so manila think that password/private key is wrong and fails share creation. Closes-bug: #1888569 Change-Id: I032e77e2f16e1d445c72eb3abd99a09c413dabe5 Signed-off-by: George Melikov <mail@gmelikov.ru> |
||
|
George Melikov
|
8d0a0e8a52 |
Install qemu-quest-agent
It's needed for some cases (fox ex. online disk resize) Change-Id: I136b46ea8f6f1630eb5691e9b6eeadcc92dd6197 Signed-off-by: George Melikov <mail@gmelikov.ru> |
||
|
Goutham Pacha Ravi
|
9f1a542e44 |
Ensure tox in test job
We use tox to build images, and it is no longer being included in the base job that we depend on. Change-Id: I608d380f2347efe8615c5ff3ae157f27bbfbf497 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
2859569635 | Merge "Change DHCP timeout" | ||
|
Andreas Jaeger
|
e5ae79051f |
Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using this version will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Id7a2401cd31c0b05812a76d2cc5f1e6a014cb510 |
||
|
Goutham Pacha Ravi
|
f75519fba5 |
Refactor cephfs element
DIB ignores a plain "install.d" directive silently currently, producing images without the packages we asked for. Use the "package-installs" approach to install element dependencies. No configuration is added at the moment, but may be required in the future. Also install the "fuse" package to get the ability to execute "fusermount" command. Change-Id: Ifbd7344b20940575348a856521539425b34a4279 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
George Melikov
|
1d9010cdb8 |
Change DHCP timeout
Manila service network may be large and dnsmasq may be available slower than in 60 seconds. Change-Id: I27e625ecccec0b7294bf0022f11bbd36d8ace5b4 Signed-off-by: George Melikov <mail@gmelikov.ru> |
||
|
Zuul
|
0f8e60eee5 | Merge "Modify job to build images" | ||
|
Goutham Pacha Ravi
|
a833b762d7 |
Modify job to build images
We currently only build the generic driver
image with the job "manila-image-elements-buildimage-generic".
Since we'd like to use a cephfs based client image,
we can reuse the job to produce two images instead
of one. The new job "manila-image-elements-buildimages"
produces two images: "manila-service-image-cephfs-{tag}.qcow2"
and "manila-service-image-{tag}.qcow2"; where the
tag corresponds to the version of this project.
The job also creates a soft link of the tagged images
with a "-master" suffix instead of the tag - this
is useful for CI jobs that don't need to worry
about changing/using the latest tag.
Change-Id: I60c6b38b5d5de7649c0d760519a79288fafca1e3
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
|
||
|
Zuul
|
4508f1fa8d | Merge "Pass env vars into tox buildimage sections" | ||
|
George Melikov
|
685e79ab0f |
README: add example for variable override
Change-Id: Ic63b298a185e7493032b6b59943db8e8bd42b18c Signed-off-by: George Melikov <mail@gmelikov.ru> |
||
|
George Melikov
|
36584b81dd |
Pass env vars into tox buildimage sections
Change-Id: Ia447d5fef7dd09ad6a68c6516a07306f314247e1 Signed-off-by: George Melikov <mail@gmelikov.ru> |
||
|
Zuul
|
73524efb43 | Merge "Fix hacking min version to 3.0.1" | ||
|
Ghanshyam Mann
|
601b450cf9 |
Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. Also removing the hacking and other related dep from lower-constraints file as theose are blacklisted requirements and does not need to be present there. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: I475765d76453590c47de84809fd51433d4577c76 |
||
|
lkuchlan
|
fa2177bdf6 |
Add support for CephFS Native
Elements have been added to support mounting Ceph file systems. Change-Id: I7516ca10ea9ba2606185395e8f8cedf8304d46fb |
||
|
Andreas Jaeger
|
c127687d3d |
Cleanup py27 support
This repo is now testing only with Python 3, so let's make a few cleanups: - Remove python 2.7 stanza from setup.py - Remove obsolete sections from setup.cfg - Update requirements, no need for python_version anymore - Cleanup doc/source/conf.py to remove now obsolete content. - Use newer openstackdocstheme version - Remove install_command from tox.ini, the default is fine; move contraints into deps - Move python3 into base tox environment. Change-Id: Ibd243ce5be8415147c24f596b4059ec3fb68a89c |
||
|
Andreas Jaeger
|
fd861534ef |
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Change-Id: Ia544cd6c50fa458b14ca02648338aaecb17b0de9 |
||
|
jacky06
|
67b317ce82 |
Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since sphinx 2.0 no longer supports Python 2.7. 2. Update the UPPER_CONSTRAINTS_FILE for tox[1] 3. Update some URLs to latest [1]: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: Ibe8c402c2817c31748e6a4b8344024a276609260 |
||
|
Zuul
|
cbd9e5880b | Merge "Replace git.openstack.org URLs with opendev.org URLs" | ||
|
Andreas Jaeger
|
6777ba5519 |
Update docs job
build-openstack-sphinx-docs jobs are obsolete since some time, use the newer build-openstack-docs-pti jobs instead. Update tox.ini to use sphinx-build directly as recommended by PTI. Change-Id: Ib1bb988889db8f6c0a0ee4d4fbf8921725c9790f |
||
|
caoyuan
|
782ba82156 |
Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I38a97dabafd78c48da3668d4b92cb817e1fd3ed9 |
||
|
OpenDev Sysadmins
|
1643ee1416 |
OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have. |
||
|
Zuul
|
0639271d7f | Merge "Update service image from Xenial to Bionic" |