Set host on all ironic-compute to same value
All ironic-computes should has same value of 'host' parameter to avoid problem with multiplication of hypervisors in nova. This is workaround, proper solution should be implemented in Ironic's upstream in next releases. Change-Id: I91f3028306177c037c8afa3c98fc56e176a9066e Closes-bug: #1522361
This commit is contained in:
parent
e54d4e1f2e
commit
691e7075fe
@ -92,7 +92,7 @@ class { 'nova::network::neutron':
|
||||
}
|
||||
|
||||
file { '/etc/nova/nova-compute.conf':
|
||||
ensure => absent,
|
||||
content => "[DEFAULT]\nhost=ironic-compute",
|
||||
require => Package['nova-compute'],
|
||||
} ~> Service['nova-compute']
|
||||
|
||||
|
@ -43,6 +43,10 @@ describe manifest do
|
||||
'value' => memcache_servers,
|
||||
)
|
||||
end
|
||||
|
||||
it 'nova-compute.conf should have host set to "ironic-compute"' do
|
||||
should contain_file('/etc/nova/nova-compute.conf').with('content' => "[DEFAULT]\nhost=ironic-compute")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user