Skip to content

Update schema-41310to41400.sql#3999

Merged
andrijapanicsb merged 4 commits into
masterfrom
update-the-desc-of-snapshot.backup.to.secondary
Apr 4, 2020
Merged

Update schema-41310to41400.sql#3999
andrijapanicsb merged 4 commits into
masterfrom
update-the-desc-of-snapshot.backup.to.secondary

Conversation

@andrijapanicsb
Copy link
Copy Markdown
Contributor

@andrijapanicsb andrijapanicsb commented Mar 30, 2020

Keeping the snapshot on Primary storage only, was originally implemented for KVM+Ceph specifically as it seems, since it's seriously broken for KVM+NFS/local in 4.11+ (and not applicable/doesn't affects VMware at all, while it accidentally works for XS+NFS as they share the same "strategy")

Thus update the desc so that KVM users don't find themselves scratching their head.
We would want to fix/implement this in 4.15 (?) since when using qcow2 the snaps can be kept "attached" to it, the same way they are now attached/part of the rbd image (Ceph)

ping @GabrielBrascher @wido @weizhouapache

cc @nathanejohnson (you guys implemented this, right?)

@andrijapanicsb andrijapanicsb added this to the 4.14.0.0 milestone Mar 30, 2020
Comment thread engine/schema/src/main/resources/META-INF/db/schema-41310to41400.sql Outdated
DaanHoogland
DaanHoogland previously approved these changes Mar 30, 2020
Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👎

@DaanHoogland DaanHoogland dismissed their stale review March 30, 2020 20:33

should be 👎

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see my drunken comment

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

I love you comments ❤️ don't worry 😉
say, what makes you think it's needed? this global setting is already in the DB - so my idea is to edit the DB.
The config key you've shared (AFAIK!?) would create a setting that doesn't exist, right? but since it's already there from 4.11.3, I thought to just update it?

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Copy link
Copy Markdown
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos7 ✔debian. JID-1108

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

image
This was on both clean install and when 4.13.1-snapshot was upgraded to master (this PR code) -so it looks good <--- Works without the config key update

Will rebuild just for the sake of re-testing (and upgrade my envs)

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos7 ✔debian. JID-1110

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

Doesn't count from my side - but this one is LGTM after manual testing

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

for the sake of fun, I don't find the tests needed for this change.

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@andrijapanicsb a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@DaanHoogland
Copy link
Copy Markdown
Contributor

this PR looks good, despite travis :(

@apache apache deleted a comment from blueorangutan Apr 3, 2020
@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

Looks good, except the description is incomplete 🤦‍♂

* Update schema-41310to41400.sql

* update configkey desc
@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos7 ✔debian. JID-1123

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@andrijapanicsb a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-1357)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 41869 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3999-t1357-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Smoke tests completed. 82 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Error 186.87 test_internal_lb.py

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

Looking good, 2 x LGTMs, manual testing regression testing OK (failed test nothing to do with the PR).

Merging.

@andrijapanicsb andrijapanicsb merged commit d52f3f4 into master Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants