[Bug 1744758] Re: libvirt 2.5.0-3ubuntu5.6~cloud0 appears to be compiled without gnutls

Lee Yarwood lyarwood at redhat.com
Wed Jan 24 08:54:37 UTC 2018


Thanks Corey, Christian, the new build WORKSFORME!

# virsh attach-device test disk.xml
error: Failed to attach device from disk.xml
error: unsupported configuration: luks encryption requires encrypted secrets to be supported
# add-apt-repository cloud-archive:ocata-proposed
# apt-get update
# apt-get upgrade
# systemctl restart libvirtd
# virsh attach-device test disk.xml
Device attached successfully
# dpkg -l | grep libvirt
ii  libvirt-bin                         2.5.0-3ubuntu5.6~cloud1                    amd64        programs for the libvirt library
ii  libvirt-clients                     2.5.0-3ubuntu5.6~cloud1                    amd64        Programs for the libvirt library
ii  libvirt-daemon                      2.5.0-3ubuntu5.6~cloud1                    amd64        Virtualization daemon
ii  libvirt-daemon-system               2.5.0-3ubuntu5.6~cloud1                    amd64        Libvirt daemon configuration files
ii  libvirt0:amd64                      2.5.0-3ubuntu5.6~cloud1                    amd64        library for interfacing with different virtualization systems
ii  python-libvirt                      3.0.0-2~cloud0                             amd64        libvirt Python bindings

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1744758

Title:
  libvirt 2.5.0-3ubuntu5.6~cloud0  appears to be compiled without gnutls

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive ocata series:
  Fix Committed
Status in libvirt package in Ubuntu:
  Incomplete

Bug description:
  Currently seeing the following error in OpenStack CI on 16.04 with
  Libvirt 2.5.0 provided via the UCA when attempting to create a `luks`
  Libvirt secret:

  http://logs.openstack.org/50/536350/1/check/legacy-grenade-dsvm-
  neutron-multinode-live-
  migration/5f7ed57/logs/screen-n-cpu.txt.gz?level=ERROR#_Jan_22_15_09_28_467904

  ~~~
  libvirtError: unsupported configuration: luks encryption requires encrypted secrets to be supported
  ~~~

  This appears to be bubbling up due to the HAVE_GNUTLS_CIPHER_ENCRYPT
  macro being 0 in this build due to gnutls_cipher_encrypt being missing
  at build time :

  src/util/vircrypto.c

  102 virCryptoHaveCipher(virCryptoCipher algorithm)                                  
  103 {                                                                               
  104     switch (algorithm) {                                                        
  105                                                                                 
  106     case VIR_CRYPTO_CIPHER_AES256CBC:                                           
  107 #ifdef HAVE_GNUTLS_CIPHER_ENCRYPT                                               
  108     return true;                                                                
  109 #else                                                                           
  110     return false;                                                               
  111 #endif                                                                          
  112                                                                                 
  113     case VIR_CRYPTO_CIPHER_NONE:                                                
  114     case VIR_CRYPTO_CIPHER_LAST:                                                
  115         break;                                                                  
  116     };                                                                          
  117                                                                                 
  118     return false;                                                               
  119 }

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1744758/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list