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:
- Access slave node via SSH
- 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 - 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'] - Reboot VPS to apply changes
Comments
0 commentsPlease sign in to leave a comment.