5deabcec6f7a0b630e713efb35e7a30e57f8b7f7
323 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Lee Yarwood
|
caf3ebeaba |
Do not run dnf update -y after configuring ceph repos
This isn't required with dnf and can overwrite package downgrades working around other issues in the underlying OS. Change-Id: I6940f06c14a0e41d63d632724e85bb790229f307 |
||
|
Lee Yarwood
|
001f3a9b3a |
Use the py3 el8 RPMs on Fedora
As Fedora 32 has dropped py2 support we need to switch over to the py3 based el8 RPMs now. Fedora 31 can support both allowing us to switch while still technically supporting it. Change-Id: I79f61d61ccb044b6c24b5747b991045edf25679e |
||
|
Lee Yarwood
|
f41119e1ef |
dnf: Correctly configure repos
I0eab8ad25112511b0c4dd4b7796b4cda821bca8b incorrectly attempted to write directly to the /etc/repos.d/ directory as the stack user. This isn't possible even with sudo so use the config-manager command to import locally written files as the stack user. Additionally ensure there is no whitespace at the start of each line within the files. Change-Id: I2fbc3b7c7df90328954eb4dcee921bd2ae9b2706 |
||
|
Victoria Martinez de la Cruz
|
8c194dfada |
Stop using shaman
Shaman packages are not stable and generates breakages in our gates quite frequently. Use packages available in download.ceph.com instead. Change-Id: I0eab8ad25112511b0c4dd4b7796b4cda821bca8b |
||
|
Lee Yarwood
|
95665d8041 |
zuul: Add devstack-plugin-ceph-compute-local-ephemeral job
This job covers the popular usecase of not using rbd for ephemeral storage for nova while it is used for Glance and Cinder. This job additionally enables the recently implemented direct download of rbd hosted Glance images into the file based ephemeral store of Nova. Change-Id: Ieddd803fccb097657fffe30ef87c1c8385e7eb28 |
||
|
Radosław Piliszek
|
6f48063468 |
[CI] Gate on voting jobs
Per the best practices. Change-Id: I7896886d356a75a896660e08e2152c69534fa26f |
||
|
Mohammed Naser
|
6b409867bf |
shaman: use 'ready' repo instead of any
We seem to have been requesting the latest build from the Shaman API provided by Ceph however we did not filter the status to be 'ready' which meant that we sometimes got 'building' status repositories that cause the jobs to fail. This should stabilize jobs a lot more by using only the ready repositories. Change-Id: Iff47bbe4954da3ab582a007ba04b3df50ae21cd4 |
||
|
Zuul
|
62fab285e8 | Merge "Set Ceph ISCSI tempest storage protocol to "iSCSI"" | ||
|
Zuul
|
0d985a8a46 | Merge "Fix ceph iscsi gw not working on ubuntu focal" | ||
|
Kevin Zhao
|
fd628e4530 |
Set Ceph ISCSI tempest storage protocol to "iSCSI"
We are using iSCSI protocol to operate the volume, instead of ceph in that case. The storage protocol ceph is used as Ceph RBD. Change-Id: I288b08279311991a79fdad25e43a51366de7876d Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> |
||
|
Dan Smith
|
5a0a36f159 |
Set the bluestore block size
It looks like the default bluestore that came with nautilus is limiting us to a for-testing size of 10G regardless of what the actual ceph volume is supposed to be. Try setting it to the size we want (minus some room for overhead). Closes-Bug: #1888895 Change-Id: I4e5233df826af6eeddc4e77820958909d4fe7d45 |
||
|
Victoria Martinez de la Cruz
|
4ca64cd718 |
Add mgr caps to manila user
Added mgr "allow *" for manila user Change-Id: I4a0dfbe4925554adbb40fe3d24e44098589f1a09 |
||
|
Goutham Pacha Ravi
|
25968ce86b |
[manila][ci] Replace legacy jobs
- manila-tempest-minimal-dsvm-cephfs-native and manila-tempest-minimal-dsvm-cephfs-nfs are both legacy jobs that use the now deprecated devstack-gate. - We no longer need the CentOS based experimental jobs for manila since the manila team plans to delete them from their tree. Newer CentOS experiments can happen with the native zuulv3 style jobs. - The jobs added are inheriting manila-tempest-plugin jobs, but currently don't override anything - there's a plan to supply overrides soon to accommodate the ceph support matrix that the manila team wants to test via this repository. - Also make minor refactors to existing base jobs to make reuse of certain things easier A future commit will remove the pre-test-hook and post-test-hook scripts; they're presently there to allow testing legacy jobs against older releases of openstack/manila. Change-Id: I20ab47cf7846e7c0291ef4771cc93fd85d0452b0 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Xinliang Liu
|
478b61632b |
Fix ceph iscsi gw not working on ubuntu focal
Limit ceph iscsi ubuntu support only to Focal. As only Focal has the required packages and we don't want to install ceph-iscsi from master source code which is changing all the way is not a good way for CI. Remove api_host setting, let it be ceph iscsi default setting "::"[1], Which references to ceph-ansible configuration[2]. This makes rbd-target-api accessible for both localhost(gwcli) and HOST_IP. Otherwise iscsi gateway creation will fail in newer version ceph-iscsi[3]. Change minimum-gateways default to 1 for newer version ceph-iscsi, otherwise client creation will fail on all-in-one setup[4]. Fix gateway creation failure with error: "The first gateway defined must be the local machine" Ceph-iscsi requires gateway name to be FQDN, sometimes hostname is not the same as FQDN. Fix stop_ceph_iscsi run twice. Remove setup_packages_for_iscsi as openstack won't support projects that require packages installed with git clone. [1]: https://github.com/ceph/ceph-iscsi/blob/master/ceph_iscsi_config/gateway_setting.py#L174 [2]: https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-iscsi-gw/templates/iscsi-gateway.cfg.j2 [3]: https://github.com/ceph/ceph-iscsi/issues/193 [4]: https://github.com/ceph/ceph-iscsi/issues/195 Change-Id: I215b870c66cc27f10f8a6bf18d93feda477a3970 |
||
|
Zuul
|
819f3995af | Merge "Use apt-get to update repos on Ubuntu" | ||
|
Goutham Pacha Ravi
|
9036cca285 |
[manila][ci] Disable tempest opt for snapshot cloning
CephFS drivers don't support cloning snapshots into shares. Manila's tempest tests need to be told this explicitly. So, update the gate hooks that control tempest configuration. This affects all legacy style CephFS jobs that use devstack-gate. These jobs will go away soon, and be replaced with Zuulv3 native style job definitions and this patch is a stop-gap, because devstack-plugin-ceph is a branchless devstack plugin, and we need to support legacy style jobs for a while. Change-Id: I885ff78586540d01590f98cca2a00d55161dbe04 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Zuul
|
1ec4941c19 | Merge "Enable volume revert to snapshot RBD tests from Ussuri" | ||
|
Lee Yarwood
|
16f8bef33b |
Use apt-get to update repos on Ubuntu
The use of apt to refresh repos is discouraged and prints the following warning when used: WARNING: apt does not have a stable CLI interface. Use with caution in scripts The use of apt also appears to break on our Xenial based branches where we enable the Xenial Queens Ubuntu Cloud Archive repos that are unsigned. When using apt to refresh these repos apt returns a failure, while apt-get only returns a warning. This change simply switches to apt-get to avoid the above warning and to allow the older Xenial based stable branches to continue to work. Change-Id: Ic534a47fff17d36eb1ef128ad6af70a34ed942c9 |
||
|
Zuul
|
fe4c6bd60c | Merge "Updates script to use latest version of Ceph" | ||
|
Zuul
|
2df93a9975 | Merge "[manila] Don't set tempest opt "capability_snapshot_support"" | ||
|
Goutham Pacha Ravi
|
dcd7f8fe77 |
[manila] Don't set tempest opt "capability_snapshot_support"
Manila doesn't provide snapshots unless you assert that you want them via share type extra-specs. Tests that require "snapshot_support" do this by creating a share type with that extra-spec; so we don't need this config option to be set. It's actually detrimental when wanting to enable snapshots on the Ceph driver [1] [1] https://review.opendev.org/736827/ Change-Id: I41d6aa885e22d3f21150d49ae7e4a8f369cc96f5 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Victoria Martinez de la Cruz
|
5bfcd10235 |
Updates script to use latest version of Ceph
We were using Jewel/Luminous. Being a developer tool, we should be sticking with newer versions. This patch set also adds the following changes - Refactor setup_packages_for_manila_on_<distro> functions - Removes ceph_init call. Seems it lost relevance - Removes APT repositories setup. We directly use shaman/chacra packages directly - Removes RUN_AS env var. It has been a while since Ceph defaults to ceph user to run all the services. No longer needed. - Removes sleep calls for services start checks. We use systemctl checks. - Adds more debugging logs - Uses the search API from ceph shaman instead of hardwiring urls - Adds the jq (JSON processor) dependency Change-Id: I51c90e592070b99422e692d5e9e97083d93146e8 |
||
|
Kevin Zhao
|
7cb36090f3 |
support focal
Change-Id: Ieb04d25e0ce0b061e4e2ac26b36e371bd666eedd Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org> |
||
|
Zuul
|
d17b8c1cd8 | Merge "Update stable jobs" | ||
|
Zuul
|
167c4b0877 | Merge "Revert "Skip rescue BFV instance tests"" | ||
|
Zuul
|
13bc9c09e8 | Merge "Switch to newer openstackdocstheme and reno versions" | ||
|
Andreas Jaeger
|
6a252c1991 |
Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Set openstackdocs_auto_version to not auto-version the documents. Set openstackdocs_auto_name to use 'project' as name. 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. 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. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I71e78d4ff18b0fd92f16f0917283eddad543250f |
||
|
Ghanshyam Mann
|
1164d7ba4f |
Update stable jobs
Add ussuir and train stable job and remove the rocky and queens which are EM. Change-Id: I47406690552fc6f8d6fcc1cc04d94cf285d42037 |
||
|
Zuul
|
8d23cc6621 | Merge "Enable encrypted volume attachment on non-master branch" | ||
|
Luigi Toscano
|
3987d1d673 |
Enable encrypted volume attachment on non-master branch
Implement an old TODO item, but in the other way: instead of enabling the feature on certain branches, disable it on the old branches (anything still open - even EM - before queens) and rely on the default value (True) otherwise. Change-Id: Id5dedf496b355362031deefab1573d052fc72a66 |
||
|
Zuul
|
a75eaf6ede | Merge "[manila] Fix pre-test-hook to not setup ipv6 always" | ||
|
Goutham Pacha Ravi
|
ad7e234ff6 |
[manila] Fix pre-test-hook to not setup ipv6 always
IPv6 export policy support was added to the Manila CephFS-via-NFS driver in the Train release. This devstack plugin is branchless, so we'll need to check for the relevant branch to setup the ipv6 test harness. The pre-test and post-test hooks will be deleted soon when devstack-gate is dropped by manila test jobs in the Victoria cycle. So this code is temporary but required to make ceph-via-nfs tests pass in stable/queens-stein branches. Change-Id: I91a54a8f72d1d514afbfa769c7e8f2ac21d502dc Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Luigi Toscano
|
437ebc54b1 |
Enable volume revert to snapshot RBD tests from Ussuri
QA people pointed out that It should be set here, not in the job. Change-Id: Id925fe667472f7a71ac236aec136dd7b59e43794 |
||
|
Goutham Pacha Ravi
|
6e70fbcf81 |
Always enable manila if manila is available
The Manila driver is not WIP, it's used in many production deployments since the Liberty release. Set the option ENABLE_CEPH_MANILA to True in case, so that the manila related setup will occur automatically if manila is enabled in devstack. Change-Id: Iec66b201fd775125505fd229963f2d0a5e64c8cb Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Lee Yarwood
|
8d61c90121 |
Revert "Skip rescue BFV instance tests"
This reverts commit
|
||
|
Zuul
|
df5462d3a9 | Merge "[manila] Disable firewall and bgp setups" | ||
|
Zuul
|
71317476aa | Merge "Check that ceph-mon service has started to get its version" | ||
|
Zuul
|
1d4c5bee21 | Merge "Removes upstart support" | ||
|
Ghanshyam Mann
|
c1fc88670c |
Skip rescue BFV instance tests
Nova implemented the feature for rescuing the BFV instances. - https://specs.openstack.org/openstack/nova-specs/specs/ussuri/approved/virt-bfv-instance-rescue.html It is not working with ceph backend as new tests added in Tempest are failing ceph job Related-Bug: #1876330 Change-Id: Ie675610a040e9f4c164b51b6b61b2a8094ecd09f |
||
|
Goutham Pacha Ravi
|
5b378f49f3 |
[manila] Disable firewall and bgp setups
In the master (Victoria cycle), manila's devstack plugin will handle: - enabling NFS ports for access from guest VMs - setting up bgp speaker and peer for routing to ipv6 tenant networks I'll clean this up up entirely when we backport these changes to older branches of manila. Depends-On: https://review.opendev.org/#/c/724202/ Depends-On: https://review.opendev.org/#/c/724204/ Change-Id: I1087c562ff753cb764a174130ce1fed21a9c7b12 Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> |
||
|
Victoria Martinez de la Cruz
|
a97b1449cd |
Check that ceph-mon service has started to get its version
Add an extra check to verify that ceph-mon service has started before trying to retrieve its version. An already existing function is being used, wait_for_daemon Since we now guarantee that we are using systemctl, we can use the is-active feature. If the service is running, the exit code will be 0. Also, change the command used to get the mon version. We can use the ceph version command provided by the new cli instead of using ceph daemon command which requires more privileges. Change-Id: I2d4f23721107c4b5cb1c09719c55424eecd0c880 Closes-Bug: #1872855 |
||
|
Victoria Martinez de la Cruz
|
e6591702d8 |
Removes upstart support
Upstart is not being used anymore (last release was Sept 2014) Doesn't make sense to keep bits for this Make this plugin compatible only with distros with systemctl Change-Id: I4fd533985d5bce3e0513c46558763629fb1539fc Closes-Bug: #1874457 |
||
|
Ghanshyam Mann
|
6f1a6e2b9b |
[ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow the guidelines of the Ussuri cycle community goal[1]. [1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html Story: #2007236 Task: #38554 Change-Id: I1b544695dc5cc1c9f2cdd5fc3f686dae94d52aaa |
||
|
Ghanshyam Mann
|
65b5986a9e |
Set up the doc infra and add doc job
devstack-plugins-ceph does not have the doc infra set up and no doc publish job. This is need to add the contributor doc as per the ussuri community goal. Change-Id: Ib62c34b52b28b753f7f3046d51492fd8d9fb6193 |
||
|
Lee Yarwood
|
a7876566b4 |
zuul: Switch devstack-plugin-ceph-tempest-py3 to voting
While the job itself is not currently voting within openstack/nova the use of the plugin essentially is within the nova-live-migration job. As such we should really enable voting of this job within this project with the eventual goal of also enabling it within openstack/nova and other projects using it. Change-Id: Id243b92e800e2d6e8b2228fadbd1c72b194bbfb9 |
||
|
Ghanshyam Mann
|
dd2db52ac8 |
Stop running devstack-plugin-ceph-tempest on master
devstack-plugin-ceph-tempest is py2 job and not supposed to run on master gate. devstack-plugin-ceph master gate already run its py3 version devstack-plugin-ceph-tempest-py3. We need to keep the devstack-plugin-ceph-tempest definition for stable branches gate. Change-Id: I6c512b29a0346db1f92de34b1dbfb56958fa2cad |
||
|
Lee Yarwood
|
299e958635 |
Enable extend_attached_volume feature
I5698e451861828a8b1240d046d1610d8d37ca5a2 introduced support for this test in Stein so enable the compute feature from Stein onwards. Blueprint: extend-in-use-rbd-volumes Change-Id: I6b2575b12fdb9636f106b3ca28681e29ad3eb8ac |
||
|
Stephen Finucane
|
856dbe5280 |
Only install python3 packages if necessary
In change I43de36ab570af40bc837d859568f5428c167f083, we started installing the 'python3-' variants of the 'python-' packages installed by the 'ceph-common' package in 'install_ceph_remote'. In that change, we made the assertion that we didn't need to "both hiding this behind the 'python3_enabled' function or 'USE_PYTHON3' variable since (a) these packages can happily coexist, (b) projects should be switching to Python 3 now, and (c) using these would require sourcing additional, otherwise unnecessary devstack libraries just to use this simple function". However, this didn't take into account the fact that this plugin is not versioned. This means *any* job that uses this plugin, including things like stable/pike, will now attempt to install the 'python3-' packages. Since the base OS on stable/pike, Xenial (16.04), doesn't actually provide these 'python3-' variants, the command will always fail. Start hiding the command behind a 'use_python3' function call. Hopefully by time we drop Python 2 support here we won't have maintained branches using Xenial. If we do, we'll need to branch or something like that. Change-Id: I890a1e673fde212218eff4fcf82f7941b3283e5f Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Closes-Bug: #1853280 |
||
|
Zuul
|
ee8cc0e9d4 | Merge "Use vercmp" | ||
|
Zuul
|
ee65cca853 | Merge "Allow choosing Ceph release on CentOS" |