Closed TsutomuNakamura closed 2 years ago
Differences of /etc/hosts
might cause differences amount configurations.
Configurations might have differences are.
controller node
glance-api.conf
local_settings.py
ml2_conf.ini
neutron.conf
nova.conf
compute node
neutron.conf
nova.conf
controller node
[x] glance-api.conf // both are same
[x] local_settings.py // both are same
[x] neutron.conf // both are same
[x] nova.conf // both are same
compute node
[x] neutron.conf // both are same
[x] nova.conf // both are same
🤔
After deployed with hosts Settings will be failed
in first comment of this issue, I changed hosts Settings will be succeeded
and re-create Cirros instance, then Cirros failed to running.
A cause of this issue is existing in some roles before a role test_env
.
These test cases need modifying /etc/hosts(/etc/cloud/templates/hosts.debian.tmpl)
during each border of test cases.
A test case need changing /etc/hosts
between the role keystone
and glance
for example.
TestCase01:
to: keystone, from: glance
Changing border will detect where the bugs are existed.
Syntax is ...
ex)
keystone - glance
means Run Ansible to a role keystone
, then change hosts, then run Ansible to glance.
To detect where the error points are existed, run Ansible till previous point of the Neutron (Nova), then modify sinarios of Neutron, then run Ansible from neutron.
There are some problems at installing OVN packages on compute node.
We can set /etc/hosts by writing each hostname at each line to solve this problem temporary.
Before
x.x.x.x controller.example.com controller
y.y.y.y compute.example.com compute
After
x.x.x.x controller.example.com
x.x.x.x controller
y.y.y.y compute.example.com
y.y.y.y compute
This already fixed.
When I set
/etc/hosts
(in cloud-init,/etc/cloud/templates/hosts.debian.tmpl
) as certain settings, launching Cirros will be failed.Results are difference between settings of /etc/hosts below.
Settings will be failed
Settings will be succeeded