Skip to content

Bugfix: no support for XCPng 8.2.1 - #6362

Merged
nvazquez merged 2 commits into
apache:mainfrom
shapeblue:supportxcpng821
May 6, 2022
Merged

nvazquez merged 2 commits into
apache:mainfrom
shapeblue:supportxcpng821

Conversation

@nvazquez

@nvazquez nvazquez commented May 6, 2022

Copy link
Copy Markdown
Contributor

Description

This PR adds initial support for XCPng 8.2.1 for a minimal working version based on the workaround found on #6349

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 or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@nvazquez

nvazquez commented May 6, 2022

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@nvazquez a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@nvazquez nvazquez changed the title Initial support for XCPng 8.2.1 Bugfix: no support for XCPng 8.2.1 May 6, 2022

-- Copy XenServer 8.2.0 hypervisor guest OS mappings to XenServer 8.2.1
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'Xenserver', '8.2.1', guest_os_name, guest_os_id, utc_timestamp(), 0 FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='Xenserver' AND hypervisor_version='8.2.0';
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (hypervisor_type, guest_os_name, guest_os_id, hypervisor_version, uuid, created, removed, is_user_defined) VALUES ('Xenserver', 'Debian Bullseye 11', 337, '8.2.1', uuid(), now(), NULL, 0);

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.

@nvazquez
would be good to use the procedure cloud.ADD_GUEST_OS_AND_HYPERVISOR_MAPPING ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, thanks

@weizhouapache

Copy link
Copy Markdown
Member

this seems not to be a bug :-D

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3359

@nvazquez

nvazquez commented May 6, 2022

Copy link
Copy Markdown
Contributor Author

Ping for review @AlexanderKgr @BenoitLair

@nvazquez

nvazquez commented May 6, 2022

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@nvazquez a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3360

@weizhouapache weizhouapache 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 lgtm

@nvazquez

nvazquez commented May 6, 2022

Copy link
Copy Markdown
Contributor Author

Verified on vanilla env, no need to run tests

@nvazquez
nvazquez merged commit 362488e into apache:main May 6, 2022
@AlexanderKgr

AlexanderKgr commented May 17, 2022

Copy link
Copy Markdown

sorry checked again and there is no problem

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

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

No support for xcp-ng 8.2.1 - many hypervisor capabilities not available

5 participants