Bug 1702495 - xl toolstack hangs on a fully upgraded Fedora 29 VM
Summary: xl toolstack hangs on a fully upgraded Fedora 29 VM
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: 35
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Michael Young
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-23 22:37 UTC by mathieu.tarral
Modified: 2023-09-18 00:16 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-13 15:13:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
sudo xl list hangs (83.78 KB, image/png)
2019-04-23 22:37 UTC, mathieu.tarral
no flags Details
xl list hangs (75.13 KB, image/png)
2019-04-23 22:41 UTC, mathieu.tarral
no flags Details
Information about Xen environment (139.65 KB, image/png)
2019-04-24 21:25 UTC, mathieu.tarral
no flags Details

Description mathieu.tarral 2019-04-23 22:37:31 UTC
Created attachment 1557871 [details]
sudo xl list hangs

I'm running Fedora 29 using the Vagrant image "fedora/29-cloud-base"

If i start the VM and install the Xen package and reboots, Xen works.

However, if i decide to fully upgrade Fedora, and then install Xen, the VM will, but the xl toolstack will hang for no reasons.

Version-Release number of selected component (if applicable):
4.11.1-4.fc29

How reproducible:
always

Steps to Reproduce:
1. use "fedora/29-cloud-base"
2. fully upgrade the image
3. install Xen
4. reboot
5. sudo xl list
6. hangs

You can find the vagrantfiles and playbook here to reproduce the bug:
https://github.com/Wenzel/vagrant-xen-pyvmidbg/tree/master/fedora

Thanks !

Comment 1 mathieu.tarral 2019-04-23 22:41:58 UTC
Created attachment 1557883 [details]
xl list hangs

ssh into the vm
displaying Xen version
displaying package info
running xl list to see it hang

Comment 2 Michael Young 2019-04-24 20:29:43 UTC
Could you get more information on the status of xen? Try running
systemctl | grep xen
ps -ef | grep xen
ls -al /proc/xen
ls -al /dev/xen
mount | grep xen

Comment 3 mathieu.tarral 2019-04-24 21:24:00 UTC
I provided the information you asked for in a new attachment.

Comment 4 mathieu.tarral 2019-04-24 21:25:16 UTC
Created attachment 1558398 [details]
Information about Xen environment

Informations asked by Michael Young:
https://bugzilla.redhat.com/show_bug.cgi?id=1702495#c2

Comment 5 mathieu.tarral 2019-04-24 21:26:32 UTC
It looks like the xenstored service failed to initialize:

[vagrant@localhost ~]$ sudo systemctl status xenstored
● xenstored.service - The Xen xenstore
   Loaded: loaded (/usr/lib/systemd/system/xenstored.service; enabled; vendor preset: enabled)
   Active: failed (Result: protocol) since Wed 2019-04-24 21:21:24 UTC; 4min 35s ago
  Process: 527 ExecStart=/etc/xen/scripts/launch-xenstore (code=exited, status=0/SUCCESS)
  Process: 512 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
 Main PID: 527 (code=exited, status=0/SUCCESS)

Apr 24 21:21:24 localhost.localdomain systemd[1]: Starting The Xen xenstore...
Apr 24 21:21:24 localhost.localdomain xenstored[536]: Checking store ...
Apr 24 21:21:24 localhost.localdomain launch-xenstore[527]: Starting /usr/sbin/xenstored...
Apr 24 21:21:24 localhost.localdomain xenstored[536]: Checking store complete.
Apr 24 21:21:24 localhost.localdomain launch-xenstore[527]: FATAL: Failed to initialize dom0 state: Permission denied
Apr 24 21:21:24 localhost.localdomain systemd[1]: xenstored.service: Failed with result 'protocol'.
Apr 24 21:21:24 localhost.localdomain systemd[1]: Failed to start The Xen xenstore.

Comment 6 mathieu.tarral 2019-05-09 20:39:08 UTC
Hi,

did you had the time to investigate the bug ?
do you need more information from my side ?

it's easy to reproduce though.

Thanks.

Comment 7 Ben Cotton 2019-10-31 19:21:50 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2019-11-27 22:30:35 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 G Crowe 2020-10-05 20:51:32 UTC
This is still a problem with Fedora 32, see the following...

# systemctl status xenstored
● xenstored.service - The Xen xenstore
     Loaded: loaded (/usr/lib/systemd/system/xenstored.service; enabled; vendor preset: enabled)
     Active: failed (Result: protocol) since Mon 2020-10-05 21:49:57 AEDT; 10h ago
    Process: 1106 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
    Process: 1107 ExecStart=/etc/xen/scripts/launch-xenstore (code=exited, status=0/SUCCESS)
   Main PID: 1107 (code=exited, status=0/SUCCESS)
        CPU: 10ms

Oct 05 21:49:57 host2.crowie.net systemd[1]: Starting The Xen xenstore...
Oct 05 21:49:57 host2.crowie.net systemd[1]: xenstored.service: Failed with result 'protocol'.
Oct 05 21:49:57 host2.crowie.net systemd[1]: Failed to start The Xen xenstore.

Comment 10 Cameron 2021-11-17 01:55:24 UTC
I'm also hitting this on Fedora Workstation 35. Would it be possible to open this again? Or has someone found a solution?

Comment 11 Cameron 2021-11-17 16:51:23 UTC
I was able to get xenstored to start by disabling SELinux. Is there a way to start xenstored without doing that?

Comment 12 Michael Young 2022-08-13 14:56:19 UTC
Instead of disabling selinux, you can put it in permissive mode, and use that to build a custom selinux module using audit2allow

Comment 13 Ben Cotton 2022-11-29 16:46:16 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 14 Ben Cotton 2022-12-13 15:13:02 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 15 Red Hat Bugzilla 2023-09-18 00:16:06 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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