View Issue Details

IDProjectCategoryView StatusLast Update
0016429CentOS-7virt-managerpublic2019-09-20 17:39
Reporterpenguinpages 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016429: [abrt] virt-manager: __init__.py:105:<module>:ImportError: cannot import name DependencyWarning
DescriptionDescription of problem:
My guess is this is just another querk I am seeing with LibVirtManager. I have ghost VMs created now and can't delete them. Even when I delete them in UI.. after reboot they show up again.

Version-Release number of selected component:
virt-manager-1.5.0-7.el7

Truncated backtrace:
#1 <module> in /usr/lib/python2.7/site-packages/requests-2.21.0-py2.7.egg/requests/__init__.py:105
#2 <module> in /usr/share/virt-manager/virtinst/urlfetcher.py:33
#3 <module> in /usr/share/virt-manager/virtinst/distroinstaller.py:23
#4 <module> in /usr/share/virt-manager/virtinst/__init__.py:90
#5 <module> in /usr/share/virt-manager/virt-manager:35
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python2 /usr/share/virt-manager/virt-manager
dso_list: virt-manager-common-1.5.0-7.el7.noarch
executable: /usr/share/virt-manager/virt-manager
kernel: 3.10.0-1062.1.1.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: unknown
type: Python
uid: 0
TagsNo tags attached.
abrt_hash260492cabff69a0617367ac98364f4632e5d0d4c
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/80804cd20b47da5f75ba18da0c1a43b164da5aea

Activities

penguinpages

penguinpages

2019-09-20 15:55

reporter  

backtrace (7,359 bytes)
__init__.py:105:<module>:ImportError: cannot import name DependencyWarning

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 35, in <module>
    from virtinst import util as util
  File "/usr/share/virt-manager/virtinst/__init__.py", line 90, in <module>
    from virtinst.distroinstaller import DistroInstaller
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 23, in <module>
    from . import urlfetcher
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 33, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests-2.21.0-py2.7.egg/requests/__init__.py", line 105, in <module>
    from urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning

Local variables in innermost frame:
__warningregistry__: None
warnings: None
__builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2013 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
    for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, '_': <bound method NullTranslations.gettext of <gettext.NullTranslations instance at 0x7f7a834b5680>>, 'TypeError': <type 'exceptions.TypeError'>, 'license': See http://www.python.org/2.7/license.html, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
_check_cryptography: None
__file__: None
urllib3: None
__package__: None
__path__: None
check_compatibility: None
chardet: None
exceptions: None
__name__: None
__doc__: None
RequestsDependencyWarning: None
backtrace (7,359 bytes)
environ (1,299 bytes)
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HOSTNAME=odin.penguinpage.local
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GJS_DEBUG_OUTPUT=stderr
LESSOPEN=||/usr/bin/lesspipe.sh %s
QT_IM_MODULE=ibus
LOGNAME=root
USER=root
HOME=/root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
GUESTFISH_RESTORE=\e[0m
GUESTFISH_INIT=\e[1;34m
SSH_AGENT_PID=4968
LANG=en_US.UTF-8
TERM=dumb
SHELL=/bin/bash
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/4234,unix/unix:/tmp/.ICE-unix/4234
SHLVL=3
HISTSIZE=1000
IMSETTINGS_INTEGRATE_DESKTOP=yes
GIO_LAUNCHED_DESKTOP_FILE_PID=13915
IMSETTINGS_MODULE=none
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/virt-manager.desktop
XDG_RUNTIME_DIR=/run/user/0
GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\] 
SSH_AUTH_SOCK=/run/user/0/keyring/ssh
XMODIFIERS=@im=ibus
GNOME_SHELL_SESSION_MODE=classic
XDG_MENU_PREFIX=gnome-
XDG_CURRENT_DESKTOP=GNOME
XDG_SESSION_ID=c1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-j4nHomsNxo,guid=8954f79a270bd6e78157d7e05d84f279
DISPLAY=:2
GUESTFISH_OUTPUT=\e[0m
VNCDESKTOP=odin.penguinpage.local:2 (root)
HISTCONTROL=ignoredups
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
PWD=/root
MAIL=/var/spool/mail/root
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
environ (1,299 bytes)
machineid (135 bytes)
systemd=b4f48b24ff4f4601ac4a35dc5db84a71
sosreport_uploader-dmidecode=8661dd562fbc9460df721f13dd29a7c3ab83c1a790c1ff27333656e966258076
machineid (135 bytes)
penguinpages

penguinpages

2019-09-20 15:57

reporter   ~0035166

Another user experienced a similar problem:

I assume this is same issue as the other bug posting in the two node cluster I have. LibVirtManager keeps crashing and I think it is related to some VMs created .. .deleted.. but always after reboot they show again. CLI shows no domain ID.. so I can't delete but by name in the GUI as the shell shows no character difference.


reporter: libreport-2.1.11.1
cmdline: /usr/bin/python2 /usr/share/virt-manager/virt-manager
dso_list: virt-manager-common-1.5.0-7.el7.noarch
executable: /usr/share/virt-manager/virt-manager
kernel: 3.10.0-1062.1.1.el7.x86_64
package: virt-manager-1.5.0-7.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: __init__.py:105:<module>:ImportError: cannot import name DependencyWarning
reproducible: Not sure how to reproduce the problem
runlevel: unknown
type: Python
uid: 0
penguinpages

penguinpages

2019-09-20 17:27

reporter   ~0035169

I am not sure. But it could be purely a GUI issue. But what I can also provide is that I now have an entire list of VMs which are without domain IDs. I am not able to track down where libvirtd imports these at boot so as to clean them up. All I know is the VMs seem to be from when I clone the template, and it initially clones with disk name and then does change name (I think) to what i called it. That disk ID still seems to be left around.


Here is list of VMs on each server:
[root@thor ~]# virsh list --all
 Id Name State
----------------------------------------------------
 1 tprod running
 2 tdev running
 3 osinf02 running
 4 osinf03 running
 5 osinf01 running
 6 osmstr01 running
 7 osmstr02 running
 8 osmstr03 running
 9 osworker01 running
 10 osworker02 running
 11 osworker03 running
 12 rhel7 running
 - centos7 shut off
 - osetcd01
                      shut off
 - osetcd02
                      shut off
 - osinf01
                       shut off
 - osinf02
                       shut off
 - osinf03
                       shut off
 - osmstr01
                      shut off
 - osmstr02
                      shut off
 - osmstr03
                      shut off
 - osworker01
                    shut off
 - osworker02
                    shut off
 - osworker03
                    shut off
 - undercloud00 shut off

[root@odin ~]# virsh list --all
 Id Name State
----------------------------------------------------
 1 ns01 running
 2 ns02 running
 3 centos7 running
 - ibmspectrumdiscover shut off
 - okdetcd01 shut off
 - okdetcd01
                     shut off
 - okdetcd02 shut off
 - okdetcd02
                     shut off
 - okdetcd03 shut off
 - okdetcd03
                     shut off
 - okdinf01 shut off
 - okdinf02 shut off
 - okdinf03 shut off
 - okdmstr01 shut off
 - okdmstr01
                     shut off
 - okdmstr02 shut off
 - okdmstr02
                     shut off
 - okdmstr03 shut off
 - okdproxy01
                    shut off
 - okdproxy02
                    shut off
 - okdproxy03
                    shut off
 - okdworker01 shut off
 - okdworker01
                   shut off
 - okdworker02 shut off
 - okdworker02
                   shut off
 - okdworker03 shut off
 - okdworker03
                   shut off
 - rhel7 shut off



[root@odin ~]# cd /data/gv1/vms
[root@odin vms]# ls -alh
total 322G
drwx--x--x 3 root root 4.0K Sep 18 16:06 .
drwxr-xr-x 8 root root 4.0K Aug 8 22:19 ..
-rwxrwx--- 1 qemu qemu 21G Sep 20 13:15 centos7.qcow2
drwxr-xr-x 2 root root 4.0K Aug 14 09:04 cloudinitiso
-rw-r--r-- 1 qemu qemu 33G Sep 18 14:03 ibmspectrumdiscover-disk1.qcow2
-rw------- 1 qemu qemu 101G Aug 23 10:06 ibmspectrumdiscover-disk2.qcow2
-rw------- 1 qemu qemu 151G Aug 23 10:07 ibmspectrumdiscover-disk3.qcow2
-rw-r--r-- 1 64 64 25G Jun 10 20:47 MetaOcean_2.0.1-13-disk1.vmdk
-rw-r--r-- 1 64 64 149 Jun 10 19:53 MetaOcean_2.0.1-13.mf
-rw-r--r-- 1 64 64 588K Jun 10 19:53 MetaOcean_2.0.1-13.ovf
-rw------- 1 qemu qemu 13G Sep 20 13:15 ns01.qcow2
-rw------- 1 qemu qemu 13G Sep 20 13:14 ns02.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdetcd01_opt.qcow2
-rw------- 1 root root 5.6G Sep 20 10:31 okdetcd01.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:31 okdetcd01_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdetcd02_opt.qcow2
-rw------- 1 root root 5.6G Sep 20 10:31 okdetcd02.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:31 okdetcd02_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdetcd03_opt.qcow2
-rw------- 1 root root 5.5G Sep 20 10:32 okdetcd03.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:31 okdetcd03_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdinf01_opt.qcow2
-rw------- 1 root root 5.5G Sep 20 10:31 okdinf01.qcow2
-rw-r--r-- 1 root root 3.1G Sep 20 10:31 okdinf01_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdinf02_opt.qcow2
-rw------- 1 root root 5.6G Sep 20 10:31 okdinf02.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:31 okdinf02_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdinf03_opt.qcow2
-rw------- 1 root root 5.5G Sep 20 10:32 okdinf03.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:31 okdinf03_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdmstr01_opt.qcow2
-rw------- 1 root root 5.6G Sep 20 10:32 okdmstr01.qcow2
-rw-r--r-- 1 root root 2.8G Sep 20 10:31 okdmstr01_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdmstr02_opt.qcow2
-rw------- 1 root root 16G Sep 20 10:32 okdmstr02.qcow2
-rw-r--r-- 1 root root 3.6G Sep 20 10:31 okdmstr02_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdmstr03_opt.qcow2
-rw------- 1 root root 5.5G Sep 20 10:31 okdmstr03.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:31 okdmstr03_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdworker01_opt.qcow2
-rw------- 1 root root 5.5G Sep 20 10:31 okdworker01.qcow2
-rw-r--r-- 1 root root 3.1G Sep 20 10:31 okdworker01_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdworker02_opt.qcow2
-rw------- 1 root root 5.5G Sep 20 10:32 okdworker02.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:32 okdworker02_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 20 10:31 okdworker03_opt.qcow2
-rw------- 1 root root 5.6G Sep 20 10:31 okdworker03.qcow2
-rw-r--r-- 1 root root 3.0G Sep 20 10:31 okdworker03_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 18 12:22 osinf01_opt.qcow2
-rw------- 1 qemu qemu 6.2G Sep 20 11:27 osinf01.qcow2
-rw-r--r-- 1 qemu qemu 2.0G Sep 18 16:01 osinf01_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 11 11:54 osinf02_opt.qcow2
-rw------- 1 qemu qemu 6.2G Sep 18 10:08 osinf02.qcow2
-rw-r--r-- 1 qemu qemu 1.8G Sep 18 10:10 osinf02_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 18 12:21 osinf03_opt.qcow2
-rw------- 1 qemu qemu 6.4G Sep 20 11:22 osinf03.qcow2
-rw-r--r-- 1 qemu qemu 2.5G Sep 18 16:01 osinf03_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 20 11:45 osmstr01_opt.qcow2
-rw------- 1 qemu qemu 6.4G Sep 20 13:12 osmstr01.qcow2
-rw-r--r-- 1 qemu qemu 2.5G Sep 20 13:10 osmstr01_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 20 11:45 osmstr02_opt.qcow2
-rw------- 1 qemu qemu 6.2G Sep 20 13:12 osmstr02.qcow2
-rw-r--r-- 1 qemu qemu 3.6G Sep 20 13:10 osmstr02_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 20 11:45 osmstr03_opt.qcow2
-rw------- 1 qemu qemu 6.3G Sep 20 13:12 osmstr03.qcow2
-rw-r--r-- 1 qemu qemu 3.4G Sep 20 13:10 osmstr03_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 20 11:45 osworker01_opt.qcow2
-rw------- 1 qemu qemu 6.2G Sep 20 13:12 osworker01.qcow2
-rw-r--r-- 1 qemu qemu 2.5G Sep 20 13:10 osworker01_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 20 11:45 osworker02_opt.qcow2
-rw------- 1 qemu qemu 6.2G Sep 20 13:12 osworker02.qcow2
-rw-r--r-- 1 qemu qemu 2.5G Sep 20 13:10 osworker02_var.qcow2
-rw-r--r-- 1 qemu qemu 1.4G Sep 20 11:45 osworker03_opt.qcow2
-rw------- 1 qemu qemu 6.2G Sep 20 13:12 osworker03.qcow2
-rw-r--r-- 1 qemu qemu 2.0G Sep 20 13:10 osworker03_var.qcow2
-rw------- 1 qemu qemu 31G Sep 20 13:15 rhel7.qcow2
-rw-r--r-- 1 root root 1.4G Sep 9 09:29 sethlnx01_opt.qcow2
-rw------- 1 root root 5.4G Sep 9 09:29 sethlnx01.qcow2
-rw-r--r-- 1 root root 2.5G Sep 9 09:29 sethlnx01_var.qcow2
-rw-r--r-- 1 root root 25G Aug 23 08:15 spectrum-discover-2.0.1.ova
-rwxrwx--- 1 qemu qemu 1.4G Sep 20 11:40 tdev_opt.qcow2
-rwxrwx--- 1 qemu qemu 7.7G Sep 20 13:02 tdev.qcow2
-rwxrwx--- 1 qemu qemu 4.2G Sep 20 13:10 tdev_var.qcow2
-rwxrwx--- 1 qemu qemu 1.4G Sep 20 11:40 tprod_opt.qcow2
-rwxrwx--- 1 qemu qemu 7.8G Sep 20 13:03 tprod.qcow2
-rwxrwx--- 1 qemu qemu 3.7G Sep 20 13:10 tprod_var.qcow2
-rw-r--r-- 1 root root 1.4G Sep 19 15:44 undercloud00_opt.qcow2
-rw------- 1 root root 5.5G Sep 19 15:44 undercloud00.qcow2
-rw-r--r-- 1 root root 2.2G Sep 19 15:44 undercloud00_var.qcow2
[root@odin vms]#

Ex:
[root@odin vms]# virsh list --all |grep okdetcd03 | awk '{print $2}'
okdetcd03
okdetcd03
[root@odin vms]# virsh list --all |grep okdetcd03 | awk '{print $2}' > /tmp/junkvm_diff.out
[root@odin vms]# vi /tmp/junkvm_diff.out


:set list

okdetcd03$
okdetcd03$
~


Seems like no "funky characters" so.. <shrugs> not sure what was or is goin on here. It thinks there are duplicate named VMs.

Its almost like the VM names have a carriage return appended to the name.

And when I try to edit ([root@odin vms]# virsh edit okdetcd03) everything looks fine.
but I am not sure which vm its editing.
penguinpages

penguinpages

2019-09-20 17:39

reporter   ~0035170

I think that is issue. When I do dump of virsh list --all into file direct it shows carrage return as part of field for VM name.


I tried
Last login: Fri Sep 20 13:14:13 2019 from 172.16.100.163
[root@odin ~]# virsh edit "okdetcd01\r"
error: failed to get domain 'okdetcd01\r'
error: Domain not found: no domain with matching name 'okdetcd01\r'

[root@odin ~]# virsh edit 'okdetcd01\r'
error: failed to get domain 'okdetcd01\r'
error: Domain not found: no domain with matching name 'okdetcd01\r'

[root@odin ~]# virsh edit okdetcd01\r
error: failed to get domain 'okdetcd01r'
error: Domain not found: no domain with matching name 'okdetcd01r'

[root@odin ~]#


and that fails

Issue History

Date Modified Username Field Change
2019-09-20 15:55 penguinpages New Issue
2019-09-20 15:55 penguinpages File Added: backtrace
2019-09-20 15:55 penguinpages File Added: environ
2019-09-20 15:55 penguinpages File Added: machineid
2019-09-20 15:57 penguinpages Note Added: 0035166
2019-09-20 17:27 penguinpages Note Added: 0035169
2019-09-20 17:39 penguinpages Note Added: 0035170