New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qubes 4.0 Updated, no vms are starting #3314

Open
linuxcomputer opened this Issue Nov 16, 2017 · 6 comments

Comments

Projects
None yet
4 participants
@linuxcomputer

linuxcomputer commented Nov 16, 2017

Qubes OS version:

Qubes release 4.0 (R4.0)

Affected TemplateVMs:

All the VMs

Steps to reproduce the behavior:

Update the system using this command:
sudo qubes-dom0-update
It was working after that, but when i reboot the machine, none of the VMs are starting.

Expected behavior:

Update the system and vms should work after a reboot

Actual behavior:

None of the VMs are starting after update

General notes:

Already tried starting them manually and still not working but i got this message:
COMMAND: qvm-start vault
RESULT: volume qubes_dom0/vm-fedora-25-root missing
And aso
COMMAND: qvm-start debian-8
RESULT: volume qubes_dom0/vm-debian-8-private missing
What can i do? I got important things on my vms.

@linuxcomputer

This comment has been minimized.

Show comment
Hide comment
@linuxcomputer

linuxcomputer Nov 17, 2017

Did
sudo lvs
Results:
vm-debian-8-private-snap
vm-debian-8-private-tmp
Same with fedora VM

linuxcomputer commented Nov 17, 2017

Did
sudo lvs
Results:
vm-debian-8-private-snap
vm-debian-8-private-tmp
Same with fedora VM

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Nov 17, 2017

Member

Did your system crashed during debian-8 shutdown?
Anyway try this:

sudo lvrename qubes_dom0 vm-debian-8-private-tmp vm-debian-8-private

Try similar thing with fedora-25-root (look for fedora-25-root-tmp).

Then, lets try to find the root cause. Search sudo journalctl -u qubesd for things about fedora-25-root (and debian-8-private).

Member

marmarek commented Nov 17, 2017

Did your system crashed during debian-8 shutdown?
Anyway try this:

sudo lvrename qubes_dom0 vm-debian-8-private-tmp vm-debian-8-private

Try similar thing with fedora-25-root (look for fedora-25-root-tmp).

Then, lets try to find the root cause. Search sudo journalctl -u qubesd for things about fedora-25-root (and debian-8-private).

@Aekez

This comment has been minimized.

Show comment
Hide comment
@Aekez

Aekez Nov 21, 2017

I just encountered this same problem today, at least it looks alike, with some slight differences.

My qvm-run instead rapport a missing directory. Journalctl seem to give the details below.

How to reproduce (from today's update, was fully updated yesterday). Ran
qubes-dom0-update --enablerepo=qubes-dom0-current-testing

From what I can tell, or guess, it's probably the Qubes admin update that broke things, and it looks like it too?when running
Sudo journalctl -u qubesd --boot
As you suggested.

Unfortunately I can't post the entire output before I get near another trustworthy computer which I can transfer the log to his USB in dom0. I'll provide this in half a day if it a still needed.

Here is what it tells me in rough cheery picking from the log, in order. All events happen inn the same second, to the same activity. For example starting sys-net.

  • Starting sys-net
    -A fee likes if proper working code it seems.
  • FileNotFoundError: [Error 2] No such file or directory.
  • During handling of the above exception, another exception occurred:
  • Traceback (most recent call last):
  • Some 10-12 give or take python code that gives no errors. Until;
  • File "/usr/lib/python3.5/site-packages/qubes/vm/qubesvm.pv", line 1257, in requested memory raise IOError('Failed to connect to qmemman: {!s}' .format(e))
  • OSError: Failed to connect tool qmemman: [Error 2] No such file or directory.
  • End of log event for sys-net start-up.

The first error, appears to be to the working line reference before it, /var/run/qubes/qmemman.sock")

Issues:
How to prevent it from happening?
How to fix it, once it happens?

I'll post the full detailed log in half a day from now, if the above is not sufficient to find out what's wrong.

Much appreciated,
Aekez

Aekez commented Nov 21, 2017

I just encountered this same problem today, at least it looks alike, with some slight differences.

My qvm-run instead rapport a missing directory. Journalctl seem to give the details below.

How to reproduce (from today's update, was fully updated yesterday). Ran
qubes-dom0-update --enablerepo=qubes-dom0-current-testing

From what I can tell, or guess, it's probably the Qubes admin update that broke things, and it looks like it too?when running
Sudo journalctl -u qubesd --boot
As you suggested.

Unfortunately I can't post the entire output before I get near another trustworthy computer which I can transfer the log to his USB in dom0. I'll provide this in half a day if it a still needed.

Here is what it tells me in rough cheery picking from the log, in order. All events happen inn the same second, to the same activity. For example starting sys-net.

  • Starting sys-net
    -A fee likes if proper working code it seems.
  • FileNotFoundError: [Error 2] No such file or directory.
  • During handling of the above exception, another exception occurred:
  • Traceback (most recent call last):
  • Some 10-12 give or take python code that gives no errors. Until;
  • File "/usr/lib/python3.5/site-packages/qubes/vm/qubesvm.pv", line 1257, in requested memory raise IOError('Failed to connect to qmemman: {!s}' .format(e))
  • OSError: Failed to connect tool qmemman: [Error 2] No such file or directory.
  • End of log event for sys-net start-up.

The first error, appears to be to the working line reference before it, /var/run/qubes/qmemman.sock")

Issues:
How to prevent it from happening?
How to fix it, once it happens?

I'll post the full detailed log in half a day from now, if the above is not sufficient to find out what's wrong.

Much appreciated,
Aekez

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Nov 21, 2017

Member

This looks rather like #3324

Member

marmarek commented Nov 21, 2017

This looks rather like #3324

@Aekez

This comment has been minimized.

Show comment
Hide comment
@Aekez

Aekez Nov 21, 2017

Thanks mamare,, your solution in that thread worked instantly. I was able to start all the VMs without any trouble after typing in
sudo systemctl start qubes-qmemman.service

What did not work was:

  • I tried the restarting approach a few times as well, but this approach did not work in my case. I tried 5 restarts.
  • Also the solution of typing in the command, does not stick after a fresh boot. But it's still a big improvement, now I can use my system, albeit by having to type in the command at every boot first.

Aekez commented Nov 21, 2017

Thanks mamare,, your solution in that thread worked instantly. I was able to start all the VMs without any trouble after typing in
sudo systemctl start qubes-qmemman.service

What did not work was:

  • I tried the restarting approach a few times as well, but this approach did not work in my case. I tried 5 restarts.
  • Also the solution of typing in the command, does not stick after a fresh boot. But it's still a big improvement, now I can use my system, albeit by having to type in the command at every boot first.
@Aekez

This comment has been minimized.

Show comment
Hide comment
@Aekez

Aekez Nov 21, 2017

Of course! I have to use enable instead of just start, my, I feel stupid for something to obvious. Albeit in also really exhausted, might explain it. Well.. Now it works automatically too.

I apologize for typo in your name, was not meant as disrespect.

Aekez commented Nov 21, 2017

Of course! I have to use enable instead of just start, my, I feel stupid for something to obvious. Albeit in also really exhausted, might explain it. Well.. Now it works automatically too.

I apologize for typo in your name, was not meant as disrespect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment