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>
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>
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>
Because we're using ubuntu-minimal there is no cloud init support and
we have manila-ssh as a substitute. Manila-ssh was only designed to
work with upstart. This patch adds systemd support.
Change-Id: Id43dc8effb846dcaf68b50eace68df8a076899a1
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
When running ``tox`` for manila image elements bashate warnings
are emitted for lines that are too long. Suppress these since
we have no intention of enforcing that requirement. Also add a
shebang to the top of a shell script, which does no harm (even
though it is not needed when sourcing the script to set env files)
in order to make another warning go away.
TrivialFix
Change-Id: I7f2f2723f99d64a0e28b4d0fe43b79e7201f6121
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
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 has old "vi" that provides very narrow set of
functionality. So, install better text editor - "vim".
Change-Id: I06443c7c9a3585c65b58b20919eb63727ffbeb62
Closes-Bug: #1535807
Default shell in manila service image does not allow to use history of
executed commands and lots of special actions, such as "home", "end", etc...
So, set 'bash' as default shell for manila service image to make life
of its users much better.
Change-Id: I35ae2e93cb7f81e6cb1a87a4d26a315785e6b078
Closes-Bug: #1535800
Currently Manila service image has no info about its local domainnames,
and recent Neutron feature [1] became incompatible with Manila because of it.
That led to b_u_g 1535692. Neutron started adding default DNS resolvers to
Nova VMs, and Manila was failing because of timeouts, since default resolvers
do not know this local machine domainnames. So, add static domainname info
to make new Neutron feature be able to work with Manila.
[1] I17a884f467d307432a06f67a9dd93ed2fa6081a3
Closes-Bug: #1535804
Change-Id: Icf7f189d621e9686c4bb449b5770b83e4bd072ee
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