-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adopt Glance with Swift backend #288
Conversation
1902359
to
3eac98e
Compare
3eac98e
to
5ba088b
Compare
5ba088b
to
04b8830
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/06542203ea9f441e85f0708d303cbb00 ❌ data-plane-adoption-osp-17-to-extracted-crc NODE_FAILURE Node request 100-0006921526 failed in 0s |
2c05629
to
6c2700e
Compare
54d973b
to
14717a7
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/e6fa2ee4dd5e48ebb71b7cd81f605838 ❌ data-plane-adoption-osp-17-to-extracted-crc RETRY_LIMIT in 1h 05m 34s |
adc2127
to
2048957
Compare
6874bfd
to
1c27685
Compare
@cescgina do you know how to trigger a |
7855aa8
to
915e0db
Compare
84062cf
to
7b566e4
Compare
# glance_backend can be 'local' or 'ceph' | ||
glance_backend: local | ||
# glance_backend can be 'local', 'ceph' or 'swift' | ||
glance_backend: swift |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jistr so this should trigger test_minimal
to deploy glance w/ a swift backend. While this would be the default behavior, I'm wondering if you think it's better to pass the var to the playbook itself.
What the minimal
use case would be? I think our choices depend on the environment we start with.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea the adoption has to follow the configuration of the environment we start with. I'm actually not sure what the Glance backend is when we deploy the Standalone without Ceph, but based on the defaults it's probably Swift, unless it's overriden somewhere else:
So changing the test-minimal default to Swift backend makes sense to me. We could feed the variable to the playbook too, but i'm not sure if we want to test with local
ever, now that we have Swift... So maybe it's ok just to change the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to keep swift
as default (which is aligned w/ what TripleO provides). local
shouldn't be tested at all, but we can keep that code because w/ a slightly change we can be ready to test the NFS
backend.
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/1f54ea2f96834160a51420217e7962cd ✔️ data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 20m 58s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/e7af6a5082d84c99ad95b67351fea073 ✔️ data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 18m 24s |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/4c1171cca5a74db198a9f429e871412c ❌ data-plane-adoption-osp-17-to-extracted-crc RETRY_LIMIT in 3h 00m 34s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/3e65a06ede3a4884b23d09e170c167d8 ✔️ data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 15m 06s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/57a5b439e7904e8d8d6112d5c9fef404 ❌ data-plane-adoption-osp-17-to-extracted-crc RETRY_LIMIT in 3h 11m 13s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/bbdba61efc1b469c8f7afbe489f1f10a ❌ data-plane-adoption-osp-17-to-extracted-crc RETRY_LIMIT in 3h 10m 58s |
recheck |
recheck |
@cescgina an interesting number of rechecks to get CI green: is there a particular known issue? |
yes, sorry, there are a number of problems going on at once. I was using this to test changes, but I moved now to use a testproject to reduce the noise |
np, looks like all the dependencies merged, I think this change is good to go as long as the CI is green, or do you have concerns except a green CI? |
I agree, I think it's good to go, we even had some green runs earlier this week, hopefully we can get CI back on track soon and this can be merged |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/7b50184bd4bb4e44999026809957ef92 ❌ data-plane-adoption-osp-17-to-extracted-crc RETRY_LIMIT in 2h 59m 11s |
This patch describes the required steps to adopt the OpenStack Image Service (Glance) with a Swift backend. It also improves the testsuite to make sure we can cover such scenario. Signed-off-by: Francesco Pantano <[email protected]>
The jobs should run on all changes except those that only touch the documentation.
This patch introduces the usage of files/ instead of hardcoded spec. This would likely avoid issues when we use golang templates and we can mantain files with per-backend configuration. Signed-off-by: Francesco Pantano <[email protected]>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/c376b08383ff4d0c9ed7b47113b11e2c ❌ data-plane-adoption-osp-17-to-extracted-crc RETRY_LIMIT in 13m 30s |
recheck |
This patch describes the required steps to adopt the
OpenStack Image Service
(
Glance
) with aSwift
backend. InTripleO
, if a Glance backend is not specified,Swift
is used as the default option. For this reason the test suite is also improvedto make sure we can cover this use case when
ENABLED_CEPH_BACKEND
is set toFalse
.Implements: OSPRH-784
Depends-On: #291
Depends-On: #312
Depends-On: #338
Depends-On: https://review.rdoproject.org/r/c/rdo-jobs/+/51896
Depends-On: openstack-k8s-operators/ci-framework#1212
Depends-On: openstack-k8s-operators/install_yamls#759