primary-ceph-mon failed if non default hostname used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
High
|
Michael Polenchuk | ||
Newton |
Won't Fix
|
High
|
Oleksiy Molchanov |
Bug Description
I try to deploy Newton release with Ubuntu 16.04+UCA to 3 Controllers and 3 comp nodes; with Ceph for Nova, Glance, Cinder.
I use non default hostname for nodes. I change node-2 to tctl03, node-5 to tcomp03 ...
Expected results: Deployed OpenStack
Actual result: Deployment failed with message "Deployment has failed. All nodes are finished. Failed tasks: Task[primary-
In puppet logs I have this errors:
2017-01-17 14:18:12 ERR (/Stage[
2017-01-17 14:13:12 ERR (/Stage[
Reproducibility:
Every time when I try to deploy
Description of the environment:
Fuel for OpenStack 10.0
In deployment task details I found:
"puppet_manifest": "/etc/puppet/
version 2.1.0
groups primary-controller
Additional information:
My suggestion that problem in mon.pp in lines
if $primary_
$mon_
$mon_host = $primary_mon_ip
} else {
$mon_
$mon_host = $mon_ips
}
I add additional output to mon.pp and see that in my case $primary_
Changed in fuel: | |
milestone: | none → 11.0 |
assignee: | nobody → Oleksiy Molchanov (omolchanov) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Oleksiy Molchanov (omolchanov) → Michael Polenchuk (mpolenchuk) |
Changed in fuel: | |
status: | In Progress → Won't Fix |
Hello,
Same problem here, custom hostname creates the same error.
Any workaround to fix this that is not using the default hostnames? Don't really want to call my controllers "node-X"
Deployment has failed. All nodes are finished. Failed tasks: Task[primary- ceph-mon/ 21] Stopping the deployment process!
2017-01-30 17:06:42 ERR (/Stage[ main]/Osnailyfa cter::Ceph: :Mon/Ceph: :Key[client. bootstrap- osd]/Exec[ ceph-injectkey- client. bootstrap- osd]/onlyif) Check "/bin/true # comment to satisfy puppet syntax requirements\nset -ex\nOLD_ KEYRING= $(mktemp) \nceph --name 'mon.' --keyring '/var/lib/ ceph/mon/ ceph-controller -03/keyring' auth get client. bootstrap- osd -o $OLD_KEYRING || true\ndiff -N $OLD_KEYRING /etc/ceph/ ceph.client. bootstrap- osd.keyring | grep '>'\nrm $OLD_KEYRING" exceeded timeout main]/Osnailyfa cter::Ceph: :Mon/Ceph: :Key[client. admin]/ Exec[ceph- injectkey- client. admin]/ onlyif) Check "/bin/true # comment to satisfy puppet syntax requirements\nset -ex\nOLD_ KEYRING= $(mktemp) \nceph --name 'mon.' --keyring '/var/lib/ ceph/mon/ ceph-controller -03/keyring' auth get client.admin -o $OLD_KEYRING || true\ndiff -N $OLD_KEYRING /etc/ceph/ ceph.client. admin.keyring | grep '>'\nrm $OLD_KEYRING" exceeded timeout
2017-01-30 17:01:42 ERR (/Stage[