Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionFederico Simoncelli
2015-01-09 12:53:10 UTC
+++ This bug was initially created as a clone of Bug #1180558 +++
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 3Giuseppe Scrivano
2015-04-21 19:13:44 UTC
upstream commit:
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)
I can reproduce this bug with package:
virt-install-1.1.0-12.el7.noarch
Steps are the same as description above.
Then try to verify with new build:
virt-manager-1.2.0-4.el7.noarch
Steps:
1. Install a new guest with: #virt-install --name test01 --memory 1024 --disk none --import --noautoconsole
2. Check the VM's status with: #virsh list
Actual results:
1. After step 1, on completion and virt-install reports:
Starting install...
Creating domain... | 0 B 00:00
Domain creation completed.
2. After step 2, check the VM is still running.
Id Name State
----------------------------------------------------
2 test01 running
As it shows, when the VM is running, the hint: 'You can restart your domain by running: virsh --connect qemu:///session start test01' will not appear
According to the result above in the latest version of virt-manager, move this bug from ON_QA to VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-2206.html