libvirt 2.5.0-3ubuntu5.6~cloud0 appears to be compiled without gnutls
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Ocata |
Fix Released
|
High
|
Unassigned | ||
libvirt (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
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:
~~~
libvirtError: unsupported configuration: luks encryption requires encrypted secrets to be supported
~~~
This appears to be bubbling up due to the HAVE_GNUTLS_
src/util/
102 virCryptoHaveCi
103 {
104 switch (algorithm) {
105
106 case VIR_CRYPTO_
107 #ifdef HAVE_GNUTLS_
108 return true;
109 #else
110 return false;
111 #endif
112
113 case VIR_CRYPTO_
114 case VIR_CRYPTO_
115 break;
116 };
117
118 return false;
119 }
summary: |
- libvirt 2.5.0 appears to be compiled without gnutls + libvirt 2.5.0-3ubuntu5.6~cloud0 appears to be compiled without gnutls |
tags: | added: xenial |
Hi,
first of all thanks Lee for the update and your help to spot and fix another issue.
So this is 2.5 which was based on the version in Zesty IIRC.
There are no build logs anymore as zesty is out of support already.
So I checked the others first. include/ p11-kit- 1 -lgnutls
Xenial (1.3.1):
checking for GNUTLS... yes
checking for gnutls/crypto.h... yes
configure: gnutls: -I/usr/
Artful (3.6): cipher_ encrypt. .. yes '-I/usr/ include/ p11-kit- 1' LIBS='-lgnutls')
checking for GNUTLS... yes
checking for gnutls/crypto.h... yes
checking for gnutls_rnd... yes
checking for gnutls_
configure: gnutls: yes (CFLAGS=
Ok, good on those two. cipher_ encrypt. .. yes '-I/usr/ include/ p11-kit- 1' LIBS='-lgnutls')
So I really need to dig towards the 2.5 version
IIRC there was a bug in gnutls which broke libvirt completely
2.1.0-1ubuntu12 fixed the related FTBFS
2.1.0-1ubuntu13 then depended on the newer fixed gnutls
2.5.0-3ubuntu5.6 is the last of these zesty builds in the main archive
Zesty (2.5):
checking for GNUTLS... yes
checking for gnutls/crypto.h... yes
checking for gnutls_rnd... yes
checking for gnutls_
configure: gnutls: yes (CFLAGS=
But knowing that there was an issue in gnutls causing a FTBFS in libvirt, and that it relied on a newer gnutls might imply that on the cloud archive build this was reverted/dropped - as it most likely has to build against the Xenial version of the lib.
So I checked the cluod-archive build of 2.5.0-3ubuntu5. 6~cloud0 at: /launchpad. net/~ubuntu- cloud-archive/ +archive/ ubuntu/ ocata-staging/ +packages cipher_ encrypt. .. yes '-I/usr/ include/ p11-kit- 1' LIBS='-lgnutls')
https:/
But that has it as well:
checking for GNUTLS... yes
checking for gnutls/crypto.h... yes
checking for gnutls_rnd... yes
checking for gnutls_
configure: gnutls: yes (CFLAGS=
hmm ...?