Hello,
the problem is that my externet network uses http proxy for downloading package from internet
The file /etc/sysconfig/heat-params containes the HTTP_PROXY variable I passed to the cluster template but it does not export it for part007 script and etcd is not downloaded.
If I change /etc/sysconfig/heat-params and insert at the head
set -a

and then I run part007 script, it works because reads the HTTP_PROXY variable and can download etcd.

This seems a bug.
Regards
Ignazio


Il giorno gio 4 lug 2019 alle ore 04:39 Feilong Wang <feilong@catalyst.net.nz> ha scritto:

Hi Ignazio,

Based on the error message you provided, the etcd cluster is not started successfully. You can run the script part-007 manually to debug what's the root cause.


On 4/07/19 7:03 AM, Ignazio Cassano wrote:
Hi All,
I 've just installed openstack kolla queens and wen I try to run a kubernetes cluster,
the master node reports the following in the cloud init log file:
Cloud-init v. 0.7.9 running 'modules:config' at Wed, 03 Jul 2019 18:57:19 +0000. Up 20.40 seconds.
+ CA_FILE=/etc/pki/ca-trust/source/anchors/openstack-ca.pem
+ '[' -n '' ']'

/var/lib/cloud/instance/scripts/part-007: line 57: /etc/etcd/etcd.conf: No such file or directory
/var/lib/cloud/instance/scripts/part-007: line 70: /etc/etcd/etcd.conf: No such file or directory
/var/lib/cloud/instance/scripts/part-007: line 86: /etc/etcd/etcd.conf: No such file or directory
Cloud-init v. 0.7.9 running 'modules:final' at Wed, 03 Jul 2019 18:57:21 +0000. Up 21.93 seconds.
2019-07-03 18:59:23,121 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-007 [1]

The image I am using is suggested in the openstack documentation:

$ wget https://download.fedoraproject.org/pub/alt/atomic/stable/Fedora-Atomic-27-20180212.2/CloudImages/x86_64/images/Fedora-Atomic-27-20180212.2.x86_64.qcow2

The volume driver is cinder and the docker storage driver is overlay.
The docker volume size is 5 GB  and THE VOLUME SIZE OF THE FLAVOR IS 20gb.

Seems image is missing some packeages :-(
Anyone could help me, please ?
Ignazio


-- 
Cheers & Best regards,
Feilong Wang (王飞龙)
--------------------------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: flwang@catalyst.net.nz
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
--------------------------------------------------------------------------