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
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: I68cdf0090169ea7d1b18bd0dcc67b2a716f94118
Commit ac84122598432fa1030a345e2b3b8caa193d6c96 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
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
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
To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.
Change-Id: I9b1ffe86e5bbf7219246c0e56a86dfffa0266b3e
The 0.13.1 release breaks some documentation jobs when it tries to build
docs with remote images. This has been reported upstream[0]. The version
matches the supported docutils versions for sphinx.
The requirements patch is here: [1]
[0] https://sourceforge.net/p/docutils/bugs/301/
[1] https://review.openstack.org/#/c/409529/
Change-Id: I13832c4103f5c2a3fd9271e1ed55598d786f6bde
Add the usual sphinx configuration for setup.cfg so that docs are built
at the usual place required for OpenStack CI.
Change-Id: I3d510f09a5e4d5945c62e2e75c90e8a0ea88fa0c
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
The change adds nfs-ganesha to the container image. Nfs-ganesha
is compiled with dbus support on. Also some initial container
setup is performed.
Change-Id: Ic0b350ce5aa2efd16dc71e46dcd3c6159ca17978
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
Add new job 'buildimage-docker' which produces a compressed
image from which a Docker container can be started. This
container is designed to run Samba.
Change-Id: I499fa1850d3ad197cab5f742bfca1a9f074e9a8b
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
Now that images are automatically uploaded to tarballs site,
provide a link so people can just download images without needing
to pull the source and build their own.
Change-Id: I1282ddd84ec4693696135a12b0a0ea5a954ea1e4
Bashate seems to be running on many files it shouldn't. There
is an error related to a conf file, so I'm explicitly excluding
conf files. Also reformat the run_bashate script so it doesn't
warn about itself.
Change-Id: I3986ecefcfb91c6a090697c782371dd100dc0d67
Add following elements to .gitignore:
- root dir called 'build' that is used by 'docs' tox job.
- vim temporary files
- pydev/eclipse project files
- log files with suffix '*.log'
Change-Id: I99f6206d80fa360c113c889e4c535541d2d4978a
Closes-Bug: #1538663
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
It is very useful to have detailed messages in CI logs for case we have
errors. So, enable it for CI.
Change-Id: Icf943dfababad8f6a99c2a754a753a40be9457b1
Closes-Bug: #1538662
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