I have also noticed this issue when re-running undercloud install(as normal user) in my environment.
~~~
zuul@undercloud ~]$ openstack undercloud install
Deprecated: Option "ipxe_deploy" from group "DEFAULT" is deprecated. Use option "ipxe_enabled" from group "DEFAULT".
Deprecated: Option "enable_nova" from group "DEFAULT" is deprecated for removal (Nova can no longer be enabled via the config settings.). Its value may be silently ignored in the future.
Deprecated: Option "enable_novajoin" from group "DEFAULT" is deprecated for removal (Support for the novajoin metadata service has been deprecated.). Its value may be silently ignored in the future.
Deprecated: Option "enable_heat" from group "DEFAULT" is deprecated for removal (Heat has been replaced by the heat-ephemeral service and this option has been deprecated.). Its value may be silently ignored in the future.
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/tripleoclient/command.py", line 34, in run
super(Command, self).run(parsed_args)
File "/usr/lib/python3.9/site-packages/osc_lib/command/command.py", line 39, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python3.9/site-packages/cliff/command.py", line 186, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python3.9/site-packages/tripleoclient/v1/undercloud.py", line 154, in take_action
cmd = undercloud_config.prepare_undercloud_deploy(
File "/usr/lib/python3.9/site-packages/tripleoclient/v1/undercloud_config.py", line 799, in prepare_undercloud_deploy
undercloud_preflight.check(verbose_level, upgrade, net_config_yaml)
File "/usr/lib/python3.9/site-packages/tripleoclient/v1/undercloud_preflight.py", line 542, in check
_validate_no_ip_change(net_config_yaml)
File "/usr/lib/python3.9/site-packages/tripleoclient/v1/undercloud_preflight.py", line 307, in _validate_no_ip_change
with open(os_net_config_file, 'r') as f:
PermissionError: [Errno 13] Permission denied: '/etc/os-net-config/config.yaml'
[Errno 13] Permission denied: '/etc/os-net-config/config.yaml'
~~~
Hello,
I have also noticed this issue when re-running undercloud install(as normal user) in my environment.
~~~ python3. 9/site- packages/ tripleoclient/ command. py", line 34, in run parsed_ args) python3. 9/site- packages/ osc_lib/ command/ command. py", line 39, in run parsed_ args) python3. 9/site- packages/ cliff/command. py", line 186, in run action( parsed_ args) or 0 python3. 9/site- packages/ tripleoclient/ v1/undercloud. py", line 154, in take_action config. prepare_ undercloud_ deploy( python3. 9/site- packages/ tripleoclient/ v1/undercloud_ config. py", line 799, in prepare_ undercloud_ deploy preflight. check(verbose_ level, upgrade, net_config_yaml) python3. 9/site- packages/ tripleoclient/ v1/undercloud_ preflight. py", line 542, in check no_ip_change( net_config_ yaml) python3. 9/site- packages/ tripleoclient/ v1/undercloud_ preflight. py", line 307, in _validate_ no_ip_change net_config_ file, 'r') as f: net-config/ config. yaml' net-config/ config. yaml'
zuul@undercloud ~]$ openstack undercloud install
Deprecated: Option "ipxe_deploy" from group "DEFAULT" is deprecated. Use option "ipxe_enabled" from group "DEFAULT".
Deprecated: Option "enable_nova" from group "DEFAULT" is deprecated for removal (Nova can no longer be enabled via the config settings.). Its value may be silently ignored in the future.
Deprecated: Option "enable_novajoin" from group "DEFAULT" is deprecated for removal (Support for the novajoin metadata service has been deprecated.). Its value may be silently ignored in the future.
Deprecated: Option "enable_heat" from group "DEFAULT" is deprecated for removal (Heat has been replaced by the heat-ephemeral service and this option has been deprecated.). Its value may be silently ignored in the future.
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
cmd = undercloud_
File "/usr/lib/
undercloud_
File "/usr/lib/
_validate_
File "/usr/lib/
with open(os_
PermissionError: [Errno 13] Permission denied: '/etc/os-
[Errno 13] Permission denied: '/etc/os-
~~~
Following are the permissions on this file:
~~~ net-config/ config. yaml
-rw-------. 1 root root 399 Apr 27 05:20 /etc/os-
~~~