Skip to content

vmware: disk controller fix#4416

Closed
Spaceman1984 wants to merge 1 commit into
apache:4.14from
shapeblue:disk-controller-vmware
Closed

vmware: disk controller fix#4416
Spaceman1984 wants to merge 1 commit into
apache:4.14from
shapeblue:disk-controller-vmware

Conversation

@Spaceman1984

Copy link
Copy Markdown
Contributor

Description

Fixes: #4344

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)

Screenshots (if appropriate):

How Has This Been Tested?

Change the disk controller setting while the instance is stopped.
Start the instance.
Check vSphere client for disk controller change.

@Spaceman1984

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@Spaceman1984 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. JID-2249

@shwstppr

shwstppr commented Feb 3, 2021

Copy link
Copy Markdown
Contributor

Reopening to address the issue in 4.14

@shwstppr shwstppr reopened this Feb 3, 2021
@shwstppr shwstppr changed the base branch from master to 4.14 February 3, 2021 06:29
@shwstppr shwstppr force-pushed the disk-controller-vmware branch from 1402f36 to 042e5cc Compare February 3, 2021 06:34
@shwstppr

shwstppr commented Feb 3, 2021

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@shwstppr shwstppr changed the title Fixed - unable to change disk controller - vmware vmware: disk controller fix Feb 3, 2021
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2643

@shwstppr shwstppr added this to the 4.14.1.0 milestone Feb 3, 2021
@shwstppr

shwstppr commented Feb 3, 2021

Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-3483)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36714 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4416-t3483-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Smoke tests completed. 80 look OK, 3 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_04_change_offering_small Error 5.34 test_service_offerings.py
test_02_create_template_with_checksum_sha1 Error 5.23 test_templates.py
test_03_create_template_with_checksum_sha256 Error 5.22 test_templates.py
test_04_create_template_with_checksum_md5 Error 5.23 test_templates.py
test_change_service_offering_for_vm_with_snapshots Error 150.22 test_vm_snapshots.py

@harikrishna-patnala harikrishna-patnala left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

code looks good to me, hope you have tested with both deploy as is VMs and usual VMs!
I'll do quick test and update.

@shwstppr

shwstppr commented Feb 8, 2021

Copy link
Copy Markdown
Contributor

On 4.14 fix looks good but with forward merge on 4.15 (https://github.com/shapeblue/cloudstack/tree/disk-controller-vmware-415), with new template (deploy-as-is), change of controller doesn't reflect at vCenter side.
I upgraded a 4.14 env to 4.15 to test both old and new templates
This will need a bit more testing and some fixes.
Better to move it to 4.14.2 or 4.15.1? @rhtyd @harikrishna-patnala

@yadvr yadvr modified the milestones: 4.14.1.0, 4.14.2.0 Feb 8, 2021
@yadvr yadvr modified the milestones: 4.14.2.0, 4.15.1.0 Apr 23, 2021
@shwstppr

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@shwstppr 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. SL-JID 459

@shwstppr

Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-529)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34470 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4416-t529-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Smoke tests completed. 82 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_10_traceroute_in_vr Failure 61.12 test_diagnostics.py

@yadvr

yadvr commented Apr 28, 2021

Copy link
Copy Markdown
Member

ping @Spaceman1984 cc @harikrishna-patnala

@Spaceman1984 Spaceman1984 marked this pull request as draft May 5, 2021 07:28
@Spaceman1984

Copy link
Copy Markdown
Contributor Author

Raised #5006 PR to fix #4344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changing disk controller type is not working for root disk or data disk

5 participants