Bug 1180558 - Misleading "restart your domain" message on virt-install import completion
Summary: Misleading "restart your domain" message on virt-install import completion
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1180559 1201147
TreeView+ depends on / blocked
 
Reported: 2015-01-09 12:49 UTC by Federico Simoncelli
Modified: 2015-04-21 18:35 UTC (History)
3 users (show)

Fixed In Version: virt-manager-1.1.0-6.git8ca8490c.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1180559 (view as bug list)
Environment:
Last Closed: 2015-04-21 18:35:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Federico Simoncelli 2015-01-09 12:49:55 UTC
Description of problem:
On virt-install import completion the domain is running but virt-install suggests:

 Domain creation completed. You can restart your domain by running:
   virsh --connect qemu:///session start test01

Version-Release number of selected component (if applicable):
virt-install-1.1.0-4.git310f6527.fc21.noarch

How reproducible:
100%

Steps to Reproduce:
1. virt-install --name test01 --memory 1024 --disk none --import --noautoconsole
2. virsh list

Actual results:
On completion the vm is already running but virt-install reports:

Domain creation completed. You can restart your domain by running:
  virsh --connect qemu:///session start test01


Expected results:
virt-install shouldn't report that the domain is already running.


Additional info:
In case the argument "--noreboot" is used then the domain is stopped and the "You can restart your domain" message should be reported.

Comment 1 Cole Robinson 2015-03-26 20:44:20 UTC
Thanks for the report, fixed upstream now:

commit 2c9d2a2360d1da63dc94139f104494e0b957f415
Author: Cole Robinson <crobinso>
Date:   Thu Mar 26 16:43:28 2015 -0400

    virt-install: Don't print virsh command if VM is running (bz 1180558)

Comment 2 Fedora Update System 2015-03-27 21:13:17 UTC
virt-manager-1.1.0-6.git8ca8490c.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/virt-manager-1.1.0-6.git8ca8490c.fc22

Comment 3 Fedora Update System 2015-03-30 07:02:05 UTC
Package virt-manager-1.1.0-6.git8ca8490c.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-1.1.0-6.git8ca8490c.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4975/virt-manager-1.1.0-6.git8ca8490c.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-04-21 18:35:25 UTC
virt-manager-1.1.0-6.git8ca8490c.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.