[debian][kubernetes] Kubernetes Cluster failed to deploy on debian-based images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
murano-apps |
Fix Committed
|
High
|
Dmytro Dovbii | ||
Liberty |
Fix Committed
|
High
|
Dmytro Dovbii | ||
Mitaka |
Fix Committed
|
High
|
Dmytro Dovbii |
Bug Description
Steps:
1. Use debian-based image with k8s and docker elements
2. Add any Docker app to k8s cluster (Use default settings for k8s)
3. Deploy environment
Actual result:
Deployment fails with error:
2015-05-10 18:13:44 - [murano.
2015-05-10 18:13:44 - Error: {'errorCode': 100, 'message': u'Script setupFlannel returned error code', 'extra': None, 'details': {u'stdout': None, u'stderr': u'Error: cannot sync with the cluster using endpoints http://
Trace in murano-agent:
.py:69
2015-05-10 18:13:43.317 555 DEBUG application [-] 'setupFlannelMa
' run /opt/stack/
2015-05-10 18:13:43.317 555 ERROR muranoagent.app [-] Error running execution plan
2015-05-10 18:13:43.317 555 TRACE muranoagent.app Traceback (most recent call last):
2015-05-10 18:13:43.317 555 TRACE muranoagent.app File "/opt/stack/
2015-05-10 18:13:43.317 555 TRACE muranoagent.app result = runner.run()
2015-05-10 18:13:43.317 555 TRACE muranoagent.app File "/opt/stack/
2015-05-10 18:13:43.317 555 TRACE muranoagent.app raise script_
2015-05-10 18:13:43.317 555 TRACE muranoagent.app CustomException: Script setupFlannel returned error code
2015-05-10 18:13:43.317 555 TRACE muranoagent.app
This happened, because command "/opt/bin/etcdctl mk /coreos.
Error: cannot sync with the cluster using endpoints http://
This happened, because service etcd was dead.
root@murano-
● etcd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
We can use systemctl daemon-reload and get status of etcd one more time
root@murano-
root@murano-
● etcd.service - LSB: Start distributed key/value pair service
Loaded: loaded (/etc/init.d/etcd)
Active: inactive (dead)
And start it:
root@murano-
root@murano-
● etcd.service - LSB: Start distributed key/value pair service
Loaded: loaded (/etc/init.d/etcd)
Active: active (exited) since Sun 2015-05-10 18:23:50 UTC; 2s ago
Process: 841 ExecStart=
But nothing happened and process not running:
root@murano-
root 871 0.0 0.0 11120 1708 pts/0 R+ 18:25 0:00 grep etcd
And Flannel still can not sync.
root@murano-
Error: cannot sync with the cluster using endpoints http://
But if we use opts and binaries straight-forward we got working etcd service
http://
http://
And after we up our services by hand, Flannel works fine:
Changed in murano: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
milestone: | none → liberty-1 |
Changed in murano: | |
assignee: | nobody → Alexey Deryugin (velovec) |
Changed in murano: | |
status: | Confirmed → Fix Released |
Changed in murano: | |
status: | Fix Released → Confirmed |
affects: | murano → murano-apps |
Changed in murano-apps: | |
milestone: | liberty-1 → none |
milestone: | none → liberty-1 |
Changed in murano-apps: | |
milestone: | liberty-1 → liberty-2 |
Changed in murano-apps: | |
milestone: | liberty-2 → liberty-3 |
Changed in murano-apps: | |
milestone: | liberty-3 → liberty-rc1 |
no longer affects: | murano-apps/mitaka |
Changed in murano-apps: | |
status: | Confirmed → Won't Fix |
no longer affects: | murano-apps/liberty |
no longer affects: | murano-apps/mitaka |
Changed in murano-apps: | |
milestone: | liberty-rc1 → none |
no longer affects: | murano-apps/liberty |
no longer affects: | murano-apps/mitaka |
Changed in murano-apps: | |
status: | Won't Fix → Confirmed |
Changed in murano-apps: | |
milestone: | mitaka-2 → mitaka-3 |
Changed in murano-apps: | |
milestone: | mitaka-3 → mitaka-rc1 |
Changed in murano-apps: | |
milestone: | mitaka-rc1 → newton-1 |
Changed in murano-apps: | |
assignee: | nobody → Dmytro Dovbii (ddovbii) |
tags: | added: k8s |
Is there link to the fix for this issue anywhere?