after updating from 8.0 to 8.2 I have encountered an issue with container plugin. When creating coreOS VM or editing existing the provisioning doesn't work anymore.
The error in Xencenter says:
"There was a failure communicating with the plugin"
The xscontainer.log says:
2021-04-07 17:03:12 - [18560] - INFO - Command ['mount', '-o', 'loop', '-t', 'iso9660', '/tmp/tmp_ttOnn.raw', '/tmp/tmpOgizfG'] exited with rc 0: Stdout: Stderr: mount: /dev/loop0 is write-protected, mounting read-only
2021-04-07 17:03:12 - [18560] - INFO - Command ['umount', '/tmp/tmpOgizfG'] exited with rc 0: Stdout: Stderr:
2021-04-07 17:03:30 - [18997] - INFO - create_config_drive for vm cbeca4cc-e889-d23e-19fb-37644bdfdf8d on sr 12d2f0f5-fd98-6dd3-6b35-9b0d0e24907f
2021-04-07 17:03:30 - [18997] - INFO - create_config_drive_iso for vm cbeca4cc-e889-d23e-19fb-37644bdfdf8d
2021-04-07 17:03:30 - [18997] - ERROR - Nobody caught plugin exception: <class'xscontainer.util.XSContainerException'>
2021-04-07 17:03:30 - [18997] - ERROR - Traceback (most recent call last):
2021-04-07 17:03:30 - [18997] - ERROR - File "/etc/xapi.d/plugins/xscontainer", line 26, in decorated
return func(*args, **kwargs)
2021-04-07 17:03:30 - [18997] - ERROR - File "/etc/xapi.d/plugins/xscontainer", line 76, in create_config_drive
configuration))
2021-04-07 17:03:30 - [18997] - ERROR - File "/usr/lib/python2.7/site-packages/xscontainer/coreos.py", line 269, in create_config_drive
isofile = create_config_drive_iso(session, userdata, vmuuid)
2021-04-07 17:03:30 - [18997] - ERROR - File "/usr/lib/python2.7/site-packages/xscontainer/coreos.py", line 212, in create_config_drive_iso
tools_iso_path = find_latest_tools_iso_path()
2021-04-07 17:03:30 - [18997] - ERROR - File "/usr/lib/python2.7/site-packages/xscontainer/coreos.py", line 169, in find_latest_tools_iso_path
% (XS_TOOLS_ISO_PATH))
2021-04-07 17:03:30 - [18997] - ERROR - XSContainerException: Can't locate XS tools in /opt/xensource/packages/iso/*tools-*.iso.
Container plugin version is 1.0.4.
Looks like the python module can't find the xs-tools.iso and throws an exception.
I see in the changelog of Hypervisor 8.2 that xs-tools.iso is no longer provided.
I opened a support case, but I'm also looking to a (hopefully) temporary workaround.
Question
Riccardo Bicelli
Hello,
after updating from 8.0 to 8.2 I have encountered an issue with container plugin. When creating coreOS VM or editing existing the provisioning doesn't work anymore.
The error in Xencenter says:
"There was a failure communicating with the plugin"
The xscontainer.log says:
Container plugin version is 1.0.4.
Looks like the python module can't find the xs-tools.iso and throws an exception.
I see in the changelog of Hypervisor 8.2 that xs-tools.iso is no longer provided.
I opened a support case, but I'm also looking to a (hopefully) temporary workaround.
Link to comment
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now