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>
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>
It may be appropriate to easily add keys for SSH auth.
Change-Id: I7c7875fa1e6c2228d2268f6c26994d12a0a5262e
Signed-off-by: George Melikov <mail@gmelikov.ru>
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>
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
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
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>
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>
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>
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>
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>
It's needed for some cases (fox ex. online disk resize)
Change-Id: I136b46ea8f6f1630eb5691e9b6eeadcc92dd6197
Signed-off-by: George Melikov <mail@gmelikov.ru>
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>
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
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>
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>
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>
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
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
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
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
When we merged https://review.openstack.org/#/c/631846/ the
new image failed to upload to tarballs.openstack.org and the
error message in the post job indicated that the artifacts
directory was missing.
Change-Id: If1068b410e646f780635d733b52172d93da78db5
Replace the auto-converted legacy jobs with native jobs
and define all the jobs in-tree. After we merge this we
can remove the legacy-manila-publish-generic job from the
openstack-zuul-jobs repository.
Note that the old job apparently relied on some JJB magic
to construct tagged-image names. This no longer works so
instead we use 'git describe --tags' to obtain a current
tag, publish the image with its tagged name, and symlink
manila-service-image-master.qcow2 -- which is the expected
image-name for our CI jobs -- to it.
Unfortunately the new publish job can't be tested
beforehand so we may have to follow this with another
patch if there are issues.
Closes-Bug: #1812478
Change-Id: Ie0c367591c0e1ae4fefb62688ecd76aff5b94464
With the dependent changes, we no longer attempt to use a local
webserver to hand off newly created manila service images.
So simplify this script to remove the branch that sets up this
local webserver.
Depends-on: https://review.openstack.org/#/c/623551/
Depends-on: https://review.openstack.org/#/c/623330
Change-Id: I5795928d6de64ea6602141f494252d7b75fdfbe9
Put the image name in a file for retrieval by jobs that
need it so they don't have to play (buggy) tricks with
git to get it. Also ensure that debootstrap is installed.
Depends-on: https://review.openstack.org/623551
Closes-bug: #1807969
Change-Id: I6dfeb5fb236579aa1755c6806f9ffc397690fba6
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I3a20dc68bf1d4051724d148b0fa808ea3d0a1673
Signed-off-by: Doug Hellmann <doug@doughellmann.com>