XenHVM does no show CDROM as mounted in SolusVM web interface.

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

When a user mounts ISO image as CD-ROM device for XenHVM VPS it does not change status to mount in web interface.

Inspection of VPS configuration file /home/xen/vmID/vmID.cfg shows that ISO has been attached actually:

# cat /home/xen/vm102/vm102.cfg | grep cdrom
disk = ['phy:/dev/solusvmtest/vm102_img,hda,w', 'file:/home/solusvm/xen/iso/debian-10.1.0-amd64-xfce-CD-1.iso,hdc:cdrom,r']

Cause

This behavior is confirmed as a product bug #SVM-3002 and will be fixed in future releases

Resolution

You can ignore this cosmetic behavior and continue further with action plan you have.

If it is required to unmount ISO image use the following steps as a workaround:

  1. Access slave node via SSH
  2. Find a configuration file for a XenHVM VPS. In general, it looks like /home/xen/vmID/vmID.cfg

    Example

    # ls -l /home/xen/vm102/vm102.cfg
    -rw-r--r-- 1 solusvm solusvm 684 Mar 30 12:38 /home/xen/vm102/vm102.cfg

  3. Open it with a preferable text editor, like vim and remove mentions about ISO image from line with disk parameter:

    Before

    # cat /home/xen/vm102/vm102.cfg | grep disk
    disk = ['phy:/dev/solusvmtest/vm102_img,hda,w', 'file:/home/solusvm/xen/iso/debian-10.1.0-amd64-xfce-CD-1.iso,hdc:cdrom,r']

    After

    # cat /home/xen/vm102/vm102.cfg | grep disk
    disk = ['phy:/dev/solusvmtest/vm102_img,hda,w']

  4. Reboot VPS to apply changes

 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.