Skip to content

Adding SUSE 15 support - #5110

Merged
yadvr merged 22 commits into
apache:mainfrom
shapeblue:opensuse-support
Aug 19, 2021
Merged

yadvr merged 22 commits into
apache:mainfrom
shapeblue:opensuse-support

Conversation

@davidjumani

@davidjumani davidjumani commented Jun 15, 2021 •

Copy link
Copy Markdown
Contributor

Description

This PR adds support for SUSE Leap 15.2+ as a KVM hypervisor and Management / Usage server on Cloudstack
Related docs link apache/cloudstack-documentation#224

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale

  • Major
  • Minor

Screenshots (if appropriate):

Screenshot from 2021-06-15 09-47-00

How Has This Been Tested?

#5110 (comment)

@davidjumani
davidjumani force-pushed the opensuse-support branch 2 times, most recently from b8147e2 to d23b208 Compare June 15, 2021 04:42
Comment thread packaging/centos8/cloud.spec Resolved
@mib1185

mib1185 commented Jun 15, 2021 •

Copy link
Copy Markdown
Contributor

Hi @davidjumani
we are also working on SUSE 15 support (for now focused on common and agent).
Maybe we can combine our efforts (see our progress here NDBSGMS#2)
Additional we will also add SUSE15 support to cloudstack-rpm-builder (see NDBSGMS/cloudstack-rpm-builder#1)

@davidjumani

Copy link
Copy Markdown
Contributor Author

Hi @davidjumani
we are also working on SUSE 15 support (for now focused on common and agent).
Maybe we can combine our efforts (see our progress here NDBSGMS#2)
Additional we will also add SUSE15 support to cloudstack-rpm-builder (see NDBSGMS/cloudstack-rpm-builder#1)

Hi @mib1185 that sounds like a good idea, So far opensuse is working as an agent, I've tested it against basic / adv zones and smoke tests are passing. Right now I'm testing it with ovs and dpdk. It will be great if you can review / update stuff that needs changes

@mib1185 mib1185 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@davidjumani I added some first comments, but need to check more in detail, since our efforts were based on 4.15.1 where #4727 is not included and those some additional changes were needed (e.g. e7138ad)

Comment thread packaging/centos8/cloud.spec Resolved
Comment thread packaging/centos8/cloud.spec Resolved
Comment thread packaging/centos8/cloud.spec Resolved
Comment thread packaging/centos8/cloud.spec Resolved
Comment thread scripts/vm/hypervisor/versions.sh Resolved
Comment thread python/lib/cloudutils/utilities.py Resolved
@davidjumani

Copy link
Copy Markdown
Contributor Author

Thanks @mib1185 I'll add the changes and run a round of tests

@mib1185

mib1185 commented Jun 15, 2021

Copy link
Copy Markdown
Contributor

Maybe a more generell discussion, but we call it already only SUSE support, since upcoming openSUSE Leap 15.3 and SLES 15.3 will be official 100% compatible to each other (but from our observations already 15.2 is compatible in scope of needed dependencies for CloudStack) and those "SUSE support" will include openSUSE Leap and SLES. Or should we still differ between "openSUSE Leap" and "SUSE Linux Enterprise Server" support in CloudStack?

@davidjumani

Copy link
Copy Markdown
Contributor Author

Maybe a more generell discussion, but we call it already only SUSE support, since upcoming openSUSE Leap 15.3 and SLES 15.3 will be official 100% compatible to each other (but from our observations already 15.2 is compatible in scope of needed dependencies for CloudStack) and those "SUSE support" will include openSUSE Leap and SLES. Or should we still differ between "openSUSE Leap" and "SUSE Linux Enterprise Server" support in CloudStack?

Good point, I'll rename it to suse

davidjumani and others added 2 commits June 15, 2021 16:25
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@davidjumani davidjumani changed the title Opensuse support Adding SUSE support Jun 15, 2021
@davidjumani davidjumani changed the title Adding SUSE support Adding SUSE 15 support Jun 15, 2021
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✖️ centos7 ✖️ centos8 ✔️ debian. SL-JID 238

@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 239

@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@davidjumani 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 ✔️ centos8 ✔️ debian. SL-JID 245

@davidjumani

Copy link
Copy Markdown
Contributor Author

@mib1185 Can you test it with DPDK? I'm unable to in my environment
@GabrielBrascher Once this is ready would you be able to test suse + CEPH ?

@mib1185

mib1185 commented Jun 17, 2021 •

Copy link
Copy Markdown
Contributor

@mib1185 Can you test it with DPDK? I'm unable to in my environment

I'm sorry, but our current (very limited) test and also our productive environment uses linux bridges, so honestly there is no experience with OVS nor DPDK on our side 😕
In addition, since we are currently in evaluation of 4.15.1.0, we are unfortunately very limited in our capacity for the next weeks.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 261

@andrijapanicsb

andrijapanicsb commented Aug 12, 2021 •

Copy link
Copy Markdown
Contributor

LGTM based on manual and automatic tests.

automatic tests are failing miserably, so we cant LGMT-it until they pass with same "score" as the master branch (I understand this is local lab issue - but others won't understand/know this, by browsing the PR test results)

No LGTM until tests show no errors (or just the known ones)

@yadvr

yadvr commented Aug 14, 2021

Copy link
Copy Markdown
Member

@blueorangutan test suse15 kvm-suse15

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1637)
Environment: kvm-suse15 (x2), Advanced Networking with Mgmt server s15
Total time taken: 35879 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5110-t1637-kvm-suse15.zip
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 87 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_migrate_VM_and_root_volume Error 70.47 test_vm_life_cycle.py
test_02_migrate_VM_with_two_data_disks Error 48.24 test_vm_life_cycle.py
test_hostha_enable_ha_when_host_in_maintenance Error 304.85 test_hostha_kvm.py

@yadvr

yadvr commented Aug 14, 2021

Copy link
Copy Markdown
Member

@blueorangutan test suse15 kvm-suse15

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1639)
Environment: kvm-suse15 (x2), Advanced Networking with Mgmt server s15
Total time taken: 38931 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5110-t1639-kvm-suse15.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 87 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
ContextSuite context=TestKubernetesCluster>:teardown Error 72.02 test_kubernetes_clusters.py
test_01_migrate_VM_and_root_volume Error 71.76 test_vm_life_cycle.py
test_02_migrate_VM_with_two_data_disks Error 49.22 test_vm_life_cycle.py

@andrijapanicsb

Copy link
Copy Markdown
Contributor

@davidjumani would kind confirming that the 3 failed tests are due to e.g. DNS resolution issue on the lab where the tests are running, i.e. NOT related to this PR - so that we can merge it?

I can't Approve the request (myself) until we have clear understanding on the root cause of tests failures

Thanks

@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@davidjumani 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: ✔️ el7 ✔️ el8 ✔️ debian ✖️ suse15. SL-JID 900

@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@davidjumani 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: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 901

@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan test suse15 kvm-suse15

@blueorangutan

Copy link
Copy Markdown

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

@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@davidjumani 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: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 905

@davidjumani

Copy link
Copy Markdown
Contributor Author

@blueorangutan test suse15 kvm-suse15

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1687)
Environment: kvm-suse15 (x2), Advanced Networking with Mgmt server s15
Total time taken: 38335 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5110-t1687-kvm-suse15.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Smoke tests completed. 88 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
ContextSuite context=TestKubernetesCluster>:teardown Error 69.91 test_kubernetes_clusters.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1692)
Environment: kvm-suse15 (x2), Advanced Networking with Mgmt server s15
Total time taken: 41385 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5110-t1692-kvm-suse15.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 88 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_hostha_enable_ha_when_host_disabled Error 2.61 test_hostha_kvm.py
test_hostha_enable_ha_when_host_in_maintenance Error 304.84 test_hostha_kvm.py

@davidjumani

Copy link
Copy Markdown
Contributor Author

Env related issues, good to merge

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.

8 participants