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>
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>
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>
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>
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
This change aims to add the foundations for CentOS support
on manila-image-elements.
In this patch-set, the following has been modified
- Added elements for manila-centos-minimal
- Added elements for centos-nfs
- Added elements for centos-cifs
- Renamed all elements for the different protocols to distro-protocol
to facilitate automation
- Modified the main script to take the distro param
Follow-up patches will add centos-based elements
for all other protocols supported.
Change-Id: Ie1469a8b3973b9a15c3fa27688df3b7e7e8da688
Partial-Bug: #1675538
Elements were already available for use with containers.
A few updates on the elements were made in order to get
the latest changes for NFS Ganesha.
Closes-Bug: #1649404
Change-Id: I605e8a3793ec1dde1efcfcef2a84c42abe5219de
Commit ac84122598 refactoring
broke manila gate by changing the default behavior of the
image creation. The generic drivers requires CIFS+NFS, and
after this change the default image shipped NFS only.
This patch set adds a default value with CIFS+NFS.
Change-Id: Ia620c04f68d0a627b047616cf5a39e2ba681c77f
Closes-Bug: #1657121
This patch set refactors manila-image-create script to allow
end users to pick which share protocol install on their images.
This change slightly affects the current behavior of the script.
If an image is created using tox -e buildimage (as stated by current
docs) an Ubuntu Trusty Minimal image with NFS will be created.
Now, calling manila-image-create with params, will generate an image with
the filesystem protocol desired.
Change-Id: I0419cbf9a39290d32409f7a5ab9dfaf5ca636bb7
Closes-Bug: #1643034
The support for LXC/LXD was added as part of the initial effort
to develop a container driver for Manila which was later on
abandoned. Despite of that, the code in the manila-image-elements
remained.
This patch set removes LXC/LXD container support in
manila-image-elements. Code-path used for generation of Docker images is
preserved.
This will help for the parallel effort of making
manila-image-elements usable by end users.
Change-Id: I99c6a7fbf2b2fb0cebb7b16d94c66f807e7ac7ef
Closes-Bug: #1646615
Assuming users will be working with latests versions
for RHEL, Centos or Fedora, the requirement for EPEL
repo is not longer needed. This requirement was due
to argparse not being present in standard repos, something
that does not hold anymore.
For this reason, this patch set removes the installation
of the EPEL repo.
On the other hand, this patch set also makes an extra check
to use dnf when this script is run on Fedora. Since Fedora 22
dnf has been the default package manager instead of yum.
Change-Id: I9fcd47a0bf9302506949fa56efb42b77552710f6
Closes-Bug: #1611527
Support of ubuntu-core was dropped and now it is impossible to
continue using it. Therefore, start using ubuntu-minimal OS element
for building image.
Also, add 'other-requirements.txt' file with list of required system
packages to be installed prior to buidling image.
Change-Id: Ief7059b9e6cc2aad03c81225663f5313a8d2f5f2
Closes-Bug: #1586351
Manila service image was generated with incorrect name
which led to publishing job failure. This change fixes
the problem.
Change-Id: I1d5a01cf23e5be35022998619d61aea37bfcd960
Closes-Bug: #1557758
ZFS filesystem is going to be used for replication feature by
Manila Generic share driver.
So, add appropriate Manila image element as optional and enabled by default.
Set env var 'MANILA_ENABLE_ZFS_SUPPORT' to any value other than 'yes' to
disable its installation.
Change-Id: If58186dc03d43430c1225e77aa80a1f85a62dd1b
Closes-Bug: #1538658
Job named "buildimage" fails with following error:
E: Package 'kpartx' has no installation candidate
So, execute "apt-get update" before required dependencies installation.
Also, do not install dependencies specified in 'test-requirements.txt'
as redundant.
Change-Id: Ic4beaa6be81eb50bafa1dd029722ec84288e6f20
Closes-Bug: #1537011