Failed to open some config files: /etc/ironic/ironic.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Waldemar Znoinski | ||
Mitaka |
Won't Fix
|
High
|
Waldemar Znoinski |
Bug Description
6. docker logs ironic_inspector
…
INFO:_
INFO:_
INFO:_
INFO:_
INFO:_
INFO:_
INFO:_
INFO:_
Running command: 'ironic-inspector --config-file /etc/ironic/
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
service.
File "/usr/lib/
self.
File "/usr/lib/
CONF(args, project=
File "/usr/lib/
self.
oslo_config.
7. (ironic-
drwxr-xr-x 4 ironic ironic 4096 Aug 5 17:02 /etc/ironic
drwxr-x--- 3 ironic-inspector ironic-inspector 4096 Aug 5 16:59 /etc/ironic-
8. ls -l /etc/ironic/
total 80
-rw------- 1 root root 1128 Aug 5 17:02 ironic.conf
-rw-r--r-- 1 ironic ironic 65181 Aug 5 11:45 ironic.conf.sample
-rw-r--r-- 1 ironic ironic 115 Aug 5 11:45 policy.json
-rw-r--r-- 1 ironic ironic 995 Aug 5 11:45 rootwrap.conf
drwxr-xr-x 2 ironic ironic 4096 Aug 5 11:45 rootwrap.d
9. ironic_conductor for comparison:
(ironic-
total 80
-rw------- 1 ironic ironic 963 Aug 5 15:45 ironic.conf
-rw-r--r-- 1 ironic ironic 65181 Aug 5 11:45 ironic.conf.sample
-rw-r--r-- 1 ironic ironic 115 Aug 5 11:45 policy.json
-rw-r--r-- 1 ironic ironic 995 Aug 5 11:45 rootwrap.conf
drwxr-xr-x 2 ironic ironic 4096 Aug 5 11:45 rootwrap.d
FIX (changing owner root->ironic):
root@os:
{
"command": "ironic-inspector --config-file /etc/ironic/
"config_files": [
{
"dest": "/etc/ironic/
"perm": "0600"
}
]
}
Changed in kolla: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → newton-3 |
Changed in kolla: | |
milestone: | newton-3 → newton-rc1 |
Changed in kolla: | |
milestone: | newton-rc1 → newton-rc2 |
Host: RELEASE= 16.04 CODENAME= xenial DESCRIPTION= "Ubuntu 16.04.1 LTS" www.ubuntu. com/" help.ubuntu. com/" bugs.launchpad. net/ubuntu/" CODENAME= xenial
cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
UBUNTU_
Linux silpixa00385229 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ansible 1.9.5
configured module search path = None
kolla stable/mitaka vip_address: "10.237.222.18" 100.1:4000" external_ interface: "enp130s0f0"
Kolla globals:
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "mitaka"
enable_haproxy: "no"
enable_keepalived: "no"
kolla_internal_
docker_registry: "192.168.
network_interface: "eno1"
neutron_
enable_ironic: "yes"
Container: RELEASE= 14.04 CODENAME= trusty DESCRIPTION= "Ubuntu 14.04.5 LTS" www.ubuntu. com/" help.ubuntu. com/" bugs.launchpad. net/ubuntu/"
cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
python --version
Python 2.7.6
Ironic:
driver: pxe_ipmitool