[Bug 1528136] [NEW] [1.2.16] Failed to initialize KVM & other internal errors

2015-12-21 Thread jean-christophe manciot
Public bug reported:

On Ubuntu Server 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux

sudo systemctl status libvirt-bin
● libvirt-bin.service - Virtualization daemon
   Loaded: loaded (/lib/systemd/system/libvirt-bin.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Mon 2015-12-21 09:47:02 CET; 3s ago
 Docs: man:libvirtd(8)
   http://libvirt.org
 Main PID: 20980 (libvirtd)
   CGroup: /system.slice/libvirt-bin.service
   └─20980 /usr/sbin/libvirtd

Dec 21 09:47:02 msi-ge60-ubuntu libvirtd[20980]: libvirt version: 1.2.16, 
package: 1.2.16-2ubuntu11.15.10.1
Dec 21 09:47:02 msi-ge60-ubuntu libvirtd[20980]: internal error: Unknown qemu 
capabilities flag vhost-user-multiqueue
Dec 21 09:47:02 msi-ge60-ubuntu libvirtd[20980]: Failed to load cached caps 
from 
'/var/cache/libvirt/qemu/capabilities/2d1567fa77de202a8d45125ec58eadc9538916e0d21b9ecbc092...-multiqueue
Dec 21 09:47:03 msi-ge60-ubuntu libvirtd[20980]: internal error: QEMU / QMP 
failed: Could not access KVM kernel module: Permission denied
 failed to initialize KVM: 
Permission denied
Dec 21 09:47:03 msi-ge60-ubuntu libvirtd[20980]: Failed to probe capabilities 
for /usr/bin/kvm: internal error: QEMU / QMP failed: Could not access KVM 
kernel module: Permission denied
 failed to initialize KVM: 
Permission denied
Dec 21 09:47:03 msi-ge60-ubuntu libvirtd[20980]: internal error: Unknown qemu 
capabilities flag vhost-user-multiqueue
Dec 21 09:47:03 msi-ge60-ubuntu libvirtd[20980]: Failed to load cached caps 
from 
'/var/cache/libvirt/qemu/capabilities/2d1567fa77de202a8d45125ec58eadc9538916e0d21b9ecbc092...-multiqueue
Dec 21 09:47:03 msi-ge60-ubuntu libvirtd[20980]: internal error: QEMU / QMP 
failed: Could not access KVM kernel module: Permission denied
 failed to initialize KVM: 
Permission denied
Dec 21 09:47:03 msi-ge60-ubuntu libvirtd[20980]: Failed to probe capabilities 
for /usr/bin/kvm: internal error: QEMU / QMP failed: Could not access KVM 
kernel module: Permission denied
 failed to initialize KVM: 
Permission denied
Dec 21 09:47:03 msi-ge60-ubuntu libvirtd[20980]: error creating bridge 
interface virbr0: File exists
Hint: Some lines were ellipsized, use -l to show in full.

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1528136

Title:
  [1.2.16] Failed to initialize KVM & other internal errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1528136/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1522190] Re: Permission denied (publickey) whereas the public key has been inserted into ~/.ssh/authorized_keys

2015-12-04 Thread jean-christophe manciot
We have a winner: setting usePAM to no generates the issue:
/etc/ssh/sshd_config
---
...
usePAM no

ChallengeResponseAuthentication no
PasswordAuthentication no
PermitEmptyPasswords no
...

ssh -v  root@localhost
-
...
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /root/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Offering ED25519 public key: /root/.ssh/id_ed25519
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).

However, setting usePAM to yes makes the session work:
/etc/ssh/sshd_config
---
...
use PAM yes

ChallengeResponseAuthentication no
PasswordAuthentication no
PermitEmptyPasswords no
...

ssh -v root@localhost

...
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /root/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
Enter passphrase for key '/root/.ssh/id_rsa': 
debug1: Authentication succeeded (publickey).
Authenticated to localhost ([::1]:xxx).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug1: client_input_global_request: rtype hostkeys...@openssh.com want_reply 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
Welcome to Ubuntu 15.10 (GNU/Linux 4.2.0-19-generic x86_64)
...

** Information type changed from Private Security to Public Security

** Summary changed:

- Permission denied (publickey) whereas the public key has been inserted into  
~/.ssh/authorized_keys
+ Permission denied (publickey) whereas the public key has been inserted into  
~/.ssh/authorized_keys: usePAM no issue

** Summary changed:

- Permission denied (publickey) whereas the public key has been inserted into  
~/.ssh/authorized_keys: usePAM no issue
+ Permission denied (publickey) whereas the public key has been inserted into  
~/.ssh/authorized_keys: "usePAM no" issue

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1522190

Title:
  Permission denied (publickey) whereas the public key has been inserted
  into  ~/.ssh/authorized_keys: "usePAM no" issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1522190/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497263] Re: Unable to negotiate a key exchange method

2015-12-03 Thread jean-christophe manciot
I really appreciate you're taking some time to answer this.

However, there's some confusion here: you're answering in this thread to
another issue which is located in another thread
(https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1522190). My
configuration is not the same. could you try to reproduce the new issue
with my new settings and answer in the new thread?

In the meantime, I'll post more information about sshd_config & ssh_config in 
the new thread. 
You were right: I'm not using a default configuration, but openssh should also 
work in other situations that the default one, right?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1497263

Title:
  Unable to negotiate a key exchange method

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1497263/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497263] Re: Unable to negotiate a key exchange method

2015-12-03 Thread jean-christophe manciot
** Changed in: openssh (Ubuntu)
   Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1497263

Title:
  Unable to negotiate a key exchange method

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1497263/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497263] Re: Unable to negotiate a key exchange method

2015-12-02 Thread jean-christophe manciot
That issue has been solved with newer versions openssh-server/client 6.9p1-2.
However, another issue has surfaced: cf. 
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1522190

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1497263

Title:
  Unable to negotiate a key exchange method

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1497263/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1497263] [NEW] Unable to negotiate a key exchange method

2015-09-18 Thread jean-christophe manciot
Public bug reported:

Client: Ubuntu Server 15.04 with openssh-client 6.7p1
Server: Ubuntu cloud server 15.04 with openssh-server 6.7p1

Connection trace:
root@msi-ge60-ubuntu:/media/actionmystique/SAMSUNG-Ext4/KVM-Qemu/VMs# ssh -v -p 
22 -i ./KVM-Ubuntu-Server-15.04-ubuntu-id_rsa ubuntu@172.16.100.245
OpenSSH_6.7p1 Ubuntu-5ubuntu1.3, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 172.16.100.245 [172.16.100.245] port 22.
debug1: Connection established.
debug1: key_load_private_type: No such file or directory
debug1: key_load_private_cert: No such file or directory
debug1: key_load_private_cert: No such file or directory
debug1: key_load_private_cert: No such file or directory
debug1: key_load_private_cert: No such file or directory
debug1: key_load_private_type: No such file or directory
debug1: permanently_set_uid: 0/0
debug1: identity file ./KVM-Ubuntu-Server-15.04-ubuntu-id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file ./KVM-Ubuntu-Server-15.04-ubuntu-id_rsa-cert type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1.3
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 
Ubuntu-5ubuntu1.3
debug1: match: OpenSSH_6.7p1 Ubuntu-5ubuntu1.3 pat OpenSSH* compat 0x0400
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug1: kex: client->server aes128-ctr hmac-sha1 none
Unable to negotiate a key exchange method

Am I missing something?

** Affects: openssh (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1497263

Title:
  Unable to negotiate a key exchange method

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1497263/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1360780] [NEW] Setup Error

2014-08-24 Thread jean-christophe manciot
Public bug reported:

Ubuntu 14.04.1 LTS

root@MSI-GE60-Ubuntu-14:/home/actionmystique/Program-Files/Ubuntu/Libvirt-python/libvirt-python-1.2.2#
 python setup.py build
running build
/usr/bin/python generator.py libvirt 
/usr/local/share/libvirt/api/libvirt-api.xml
Found 388 functions in /usr/local/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 325 wrapper functions
Missing type converters: 
virNetworkDHCPLeasePtr **:1 
virNetworkDHCPLeasePtr:1 
long long *:1 
unsigned int *:1 
char **:2 
ERROR: failed virDomainFSFreeze
ERROR: failed virDomainFSThaw
ERROR: failed virDomainGetTime
ERROR: failed virNetworkDHCPLeaseFree
ERROR: failed virNetworkGetDHCPLeases
ERROR: failed virNodeGetFreePages
error: command '/usr/bin/python' failed with exit status 1

** Affects: libvirt-python (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: libvirt-python

** Tags added: libvirt-python

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt-python in Ubuntu.
https://bugs.launchpad.net/bugs/1360780

Title:
  Setup Error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1360780/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1353923] [NEW] Installing Docker Breaks KVM

2014-08-07 Thread jean-christophe manciot
Public bug reported:

Installing Docker 0.9.1 on Ubuntu 14.04 Desktop:

- creates a new bridge docker0
- deletes virbr0

Since thern, I've never been able to restore the correct environment for
KVM, even by uninstalling docker.

If I try to manually add the bridge with *brctl addbr virbr0*, the
creation does not survive across reboots and:

virsh net-start default

error: Failed to start network default
error: Unable to create bridge virbr0: File exists

Very strange error.

What must be done to solve or workaround that issue?
Any help will be greatly appreciated.

** Affects: docker.io (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to docker.io in Ubuntu.
https://bugs.launchpad.net/bugs/1353923

Title:
  Installing Docker Breaks KVM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1353923/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs