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.
Bug 1731803 - [machines] The PXE installation failed if VM is created by non-root user
Summary: [machines] The PXE installation failed if VM is created by non-root user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit-appstream
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.1
Assignee: Katerina Koukiou
QA Contact: YunmingYang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-22 06:32 UTC by YunmingYang
Modified: 2020-11-14 07:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:41:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3325 0 None None None 2019-11-05 20:42:06 UTC

Description YunmingYang 2019-07-22 06:32:52 UTC
Description of problem:
After creating the VM with PXE installation, there will be an error raised if clicking the install button

Version-Release number of selected component (if applicable):
cockpit-machines-197-1.el8.noarch
libvirt-dbus-1.2.0-2.module+el8.1.0+2983+b2ae9c0a.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Login with non-root user, Create a VM with 'QEMU/KVM User connection' and  'PXE installation', for the source of PXE installation, every one is OK, such as 'eno1'.
2.Click install

Actual results:
The installation failed with an error message

Expected results:
The installation can be successful

Additional info:
The error message is that 'ERROR error creating macvtap interface macvtap0@eno1 (52:54:00:1c:f3:7b): Operation not permitted Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///session start test123 otherwise, please restart your installation.'

Comment 1 Katerina Koukiou 2019-07-25 08:40:46 UTC
Fixed upstream with:

commit 96458223e193315945eebdac528d29ff03db05fe
Author: Katerina Koukiou <kkoukiou>
Date:   Wed Jul 24 13:07:48 2019 +0200

    machines: disable pxe booting when a user selected session connection

git describe 964582
198-104-g96458223e

Comment 2 Martin Pitt 2019-07-25 10:09:02 UTC
Yunming, can you please QA ack?

Comment 3 YunmingYang 2019-07-25 10:26:42 UTC
Martin, i check the flag, it seems that i have already set the 'QA ack' flag. Did I miss something?

Comment 4 Martin Pitt 2019-07-25 12:21:12 UTC
Yunming: Ah, my bad, it was devack that was missing :) Thanks!

Comment 6 YunmingYang 2019-08-06 05:54:48 UTC
Test Versions:
cockpit-machines-197.1-1.el8.noarch
libvirt-dbus-1.2.0-2.module+el8.1.0+2983+b2ae9c0a.x86_64


Test Steps:
1. Login cockpit with a non-root user
2. Open the VM creation dialog
3. Change the Connection to 'QEMU/KVM User connection', then check 'Installation Source Type'

Test Results:
When Connection is set to 'QEMU/KVM User connection', 'Netwrok Boot(PXE)' in 'Installation Source Type' can not be selected.


According to the results, move the status to VERIFIED.

Comment 8 errata-xmlrpc 2019-11-05 20:41:55 UTC
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://access.redhat.com/errata/RHBA-2019:3325


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