Activity log for bug #1733806

Date Who What changed Old value New value Message
2017-11-22 09:03:29 Kevin Zhao bug added bug
2017-11-22 09:05:24 Kevin Zhao description I've already change the nova-libvirt yaml file, comment the "rpm -e qemu-system-x86 || true;" Use "kubectl logs nova-compute** -n kolla" I can see the libvirtd starts. But check the libvirtd I find the deployment failed still got the error as below: Steps to Reproduce: Minimized, easy-to-follow steps that will trigger the bug. Include any special setup steps. 1.helm install --debug kolla-kubernetes/helm/service/nova-compute --namespace kolla --name nova-compute --values /tmp/cloud.yaml 2. wait and get the logs from nova-libvirt container 3. docker inspect <nova libvirt container id> 4. Get the logs directory from host() { "Type": "bind", "Source": "/var/lib/kubelet/pods/31346c57-cb5c-11e7-bfb3-525400a49c3b/volumes/kubernetes.io~empty-dir/kolla-logs", "Destination": "/var/log/kolla", "Mode": "", "RW": true, "Propagation": "" }, 5. Check the libvirtd logs ... Container image: haerwu/debian-source-nova-libvirt 5.0.1 2ae38ecc5e5c 3 days ago 1.02 GB Actual Results: What happened after performing the above steps. Check the logs from the container. 2017-11-17 05:57:57.385+0000: 18161: info : libvirt version: 3.6.0, package: 1~bpo9+1 (Riku Voipio <riku.voipio@linaro.org> Mon, 14 Aug 2017 14:02:02 +0300) 2017-11-17 05:57:57.385+0000: 18161: info : hostname: kolla-kubernetes-arm64 2017-11-17 05:57:57.385+0000: 18161: error : daemonSetupNetworking:502 : unsupported configuration: No server certificate path set to match server key server certificate path set to match server key I've already change the nova-libvirt yaml file, comment the "rpm -e qemu-system-x86 || true;" ================================================================================= linux@kolla-kubernetes-arm64:~/kolla-bringup/k8s/kolla-kubernetes$ git diff helm/microservice/nova-libvirt-daemonset/templates/nova-libvirt.yaml diff --git a/helm/microservice/nova-libvirt-daemonset/templates/nova-libvirt.yaml b/helm/microservice/nova-libvirt-daemonset/templates/nova-libvirt.yaml index 58caaaf..e851cf0 100644 --- a/helm/microservice/nova-libvirt-daemonset/templates/nova-libvirt.yaml +++ b/helm/microservice/nova-libvirt-daemonset/templates/nova-libvirt.yaml @@ -91,8 +91,12 @@ spec: modprobe rbd; # Following is added to workaround bug # https://bugs.launchpad.net/kolla/+bug/1649009 +{{- if $localVals.kolla_base_distro }} rpm -e qemu-system-x86 || true; +{{- end }} +{{- if $localVals.ceph_backend }} cp -a {{ $containerConfigDirectory }}/secrets /etc/libvirt; +{{- end }} kolla_start securityContext: privileged: true ================================================================================= Use "kubectl logs nova-compute** -n kolla" I can see the libvirtd starts. But check the libvirtd I find the deployment failed still got the error as below: Image is 5.0.1, Pike, Libvirt version is 3.6.0 Steps to Reproduce: Minimized, easy-to-follow steps that will trigger the bug. Include any special setup steps. 1.helm install --debug kolla-kubernetes/helm/service/nova-compute --namespace kolla --name nova-compute --values /tmp/cloud.yaml 2. wait and get the logs from nova-libvirt container 3. docker inspect <nova libvirt container id> 4. Get the logs directory from host()             {                 "Type": "bind",                 "Source": "/var/lib/kubelet/pods/31346c57-cb5c-11e7-bfb3-525400a49c3b/volumes/kubernetes.io~empty-dir/kolla-logs",                 "Destination": "/var/log/kolla",                 "Mode": "",                 "RW": true,                 "Propagation": ""             }, 5. Check the libvirtd logs ... Container image: haerwu/debian-source-nova-libvirt 5.0.1 2ae38ecc5e5c 3 days ago 1.02 GB Actual Results: What happened after performing the above steps. Check the logs from the container. 2017-11-17 05:57:57.385+0000: 18161: info : libvirt version: 3.6.0, package: 1~bpo9+1 (Riku Voipio <riku.voipio@linaro.org> Mon, 14 Aug 2017 14:02:02 +0300) 2017-11-17 05:57:57.385+0000: 18161: info : hostname: kolla-kubernetes-arm64 2017-11-17 05:57:57.385+0000: 18161: error : daemonSetupNetworking:502 : unsupported configuration: No server certificate path set to match server key server certificate path set to match server key
2017-11-27 14:43:42 Oliver Walsh bug added subscriber Oliver Walsh
2019-03-26 10:30:40 Mark Goddard affects kolla kolla-kubernetes