Skip to content
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

qvm-device and qubesd: protocol error #6057

Closed
andrewclausen opened this issue Sep 16, 2020 · 16 comments · Fixed by QubesOS/qubes-core-admin-client#162
Closed

qvm-device and qubesd: protocol error #6057

andrewclausen opened this issue Sep 16, 2020 · 16 comments · Fixed by QubesOS/qubes-core-admin-client#162

Comments

@andrewclausen
Copy link

Qubes OS version R4.0 with all updates.

Affected component(s) or functionality
qvm-device and qubesd

The Problem

I can list/attach/detach devices correctly with the GUI "Qubes Devices" tool, but not on the command line:

[clausen@dom0 ~]$ qvm-device list
Got empty response from qubesd. See journalctl in dom0 for details.
[clausen@dom0 ~]$ sudo journalctl --since "10 seconds ago" | grep qubesd
Sep 16 12:10:44 dom0 qubesd[1815]: protocol error for call b'admin.vm.device.list.Available'+b'' (b'dom0' → b'admin') with payload of 0 bytes
@andrewclausen andrewclausen added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Sep 16, 2020
@andrewclausen
Copy link
Author

I should add: I am sure this worked last week. I only noticed it stop working today. I can't guess what changed.

@marmarek
Copy link
Member

[clausen@dom0 ~]$ qvm-device list

This couldn't possibly worked. You forgot device type, like qvm-device usb list.

@andrewclausen
Copy link
Author

Shouldn't qvm-device give an appropriate error message?

@marmarek
Copy link
Member

What you've done is requested list of devices of "list" type, which doesn't exist. Yes, the error message could be improved.
QubesOS/qubes-core-admin-client#162

@andrewclausen
Copy link
Author

Thanks a lot @marmarek !

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.1.10-1 has been pushed to the r4.1 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python3-qubesadmin-4.1.10-1.fc32 has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

marmarek added a commit to QubesOS/qubes-core-admin-client that referenced this issue Oct 24, 2020
marmarek added a commit to marmarek/qubes-core-admin-client that referenced this issue Oct 24, 2020
marmarek added a commit to marmarek/qubes-core-admin-client that referenced this issue Oct 24, 2020
marmarek added a commit to marmarek/qubes-core-admin-client that referenced this issue Oct 24, 2020
@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesadmin-4.0.31-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package You has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package core-admin-client has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesadmin-4.0.32-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package core-admin-client has been pushed to the r4.0 stable repository for the CentOS centos8 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.0.32-1+deb10u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin-client (including package python2-qubesadmin-4.0.32-1.fc32) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

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