Loading cloudcontrol/node/hypervisor/domains/__init__.py +3 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,9 @@ class VirtualMachine(object): if self.stream is not None: raise ConsoleAlreadyOpened('Console for this VM is already' ' opened') if self.hypervisor.handler.tag_db['libvirtver'].value.startswith('8'): if str( self.hypervisor.handler.tag_db['__main__']['libvirtver'].value, ).startswith('8'): raise ConsoleError( 'Cannot open console, not compatible with this version of libvirt') logger.info('Opening console stream on VM %s', self.name) Loading Loading
cloudcontrol/node/hypervisor/domains/__init__.py +3 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,9 @@ class VirtualMachine(object): if self.stream is not None: raise ConsoleAlreadyOpened('Console for this VM is already' ' opened') if self.hypervisor.handler.tag_db['libvirtver'].value.startswith('8'): if str( self.hypervisor.handler.tag_db['__main__']['libvirtver'].value, ).startswith('8'): raise ConsoleError( 'Cannot open console, not compatible with this version of libvirt') logger.info('Opening console stream on VM %s', self.name) Loading