Skip to content
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

Update candidate: xcp-ng-pv-tools with support for new distros #293

Closed
stormi opened this issue Oct 16, 2019 · 6 comments
Closed

Update candidate: xcp-ng-pv-tools with support for new distros #293

stormi opened this issue Oct 16, 2019 · 6 comments
Assignees
Projects

Comments

@stormi
Copy link
Member

stormi commented Oct 16, 2019

For XCP-ng 8.0 for now.

Installation:

# first make sure to eject the tools ISO image from existing VMs

# then:
yum update xcp-ng-pv-tools --enablerepo=xcp-ng-testing

Then the install.sh script will be able to detect RHEL 8 and its derivatives.

@stormi stormi added this to To Do in Team board via automation Oct 16, 2019
@stormi stormi moved this from To Do to Update candidate / testing in Team board Oct 16, 2019
@stormi stormi self-assigned this Oct 16, 2019
@stormi stormi changed the title Update candidate: xcp-ng-pv-tools with support for RHEL 8 and derivatives Update candidate: xcp-ng-pv-tools with support for new distros Oct 16, 2019
@stormi
Copy link
Member Author

stormi commented Oct 16, 2019

Update: a new revision of the package now also adds tentative support for:

  • CloudLinux
  • Alpine Linux
  • FreePBX (Sangoma Linux)

I didn't test those myself because I don't use them, so I'm counting on community feedback!

@iServU
Copy link

iServU commented Oct 18, 2019

Updated hypervisor packages as referenced, uninstall xcp-ng tools from VM, rebooted.

This time after selecting the xcp-ng tools via xcp-ng center, mounting the cdrom drive and running the bash install command without the distro flags, it actually installed (which it refused to do before without the distro and version flags).

Another VM reboot and still, the memory usage doesn't show in xcp-ng center.
Annotation 2019-10-18 193300

During xcp-ng tools install, I did notice the same version being installed as before the above update. Ran xe-toolstack-restart just to be sure but no go!

The following changes will be made to this Virtual Machine:

  • packages to be installed/upgraded:
    • xe-guest-utilities-7.11.0-1.x86_64.rpm
    • xe-guest-utilities-xenstore-7.11.0-1.x86_64.rpm

This issue caused me to rebuild a VM from scratch based on the CentOS7 template with a CloudLinux ISO. This worked perfectly after installing xcp-ng tools. I'm decommissioning the old VM soon so I'm happy to run tests.

However, please be mindful that this is a production hypervisor.

@stormi
Copy link
Member Author

stormi commented Oct 21, 2019

@iServU thanks for testing. If I understand correctly, your old CloudLinux VM does not report memory usage but the new one does? Apart from memory usage, are the tools detected? I don't know how to check that in XCP-ng Center. In Xen Orchestra you'd see Hardware virtualization with paravirtualization drivers enabled (PVHVM) if the tools are detected.
On the old VM, is xe-daemon currently running. If not, what's the status of the xe-linux-distribution service?

@maxcuttins
Copy link

On 7.6, I got 2 warning.
They seems to me a typo in the code

Running transaction
  Updating   : xen-hypervisor-4.7.6-6.6.xcpng.x86_64                       1/18 
  Updating   : xen-dom0-libs-4.7.6-6.6.xcpng.x86_64                        2/18 
  Updating   : xen-libs-4.7.6-6.6.xcpng.x86_64                             3/18 
  Updating   : xen-tools-4.7.6-6.6.xcpng.x86_64                            4/18 
  Updating   : xen-dom0-tools-4.7.6-6.6.xcpng.x86_64                       5/18 
  Updating   : 2:microcode_ctl-2.1-26.xs6.xcpng.x86_64                     6/18 
  Updating   : kernel-4.4.52-4.0.13.x86_64                                 7/18 
  Updating   : xcp-ng-xapi-plugins-1.5.0-1.xcpng.noarch                    8/18 
  Updating   : xcp-ng-pv-tools-7.41.0-6.el7.centos.noarch                  9/18 
/opt/xensource/libexec/unmount_halted_xstools.sh: line 10: [: ==: unary operator expected
/opt/xensource/libexec/unmount_halted_xstools.sh: line 10: [: ==: unary operator expected
No need to scan rhe tools SR since this is not the master
  Cleanup    : xen-dom0-tools-4.7.6-6.5.1.xcpng.x86_64                    10/18 
  Cleanup    : 2:microcode_ctl-2.1-26.xs5.1.xcpng.x86_64                  11/18 
  Cleanup    : kernel-4.4.52-4.0.12.x86_64                                12/18 
  Cleanup    : xcp-ng-xapi-plugins-1.4.0-1.xcpng.noarch                   13/18

@stormi
Copy link
Member Author

stormi commented Nov 5, 2019

@maxcuttins Thanks for the report. This is not really related to the update candidate this issue is about, so could you open a separate issue?

@stormi
Copy link
Member Author

stormi commented Nov 8, 2019

Update published, without alpine linux support because was I had done didn't work.

@stormi stormi closed this as completed Nov 8, 2019
Team board automation moved this from Update candidate / testing to Done Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants