Comment 3 for bug 1970437

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Hello,

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'
~~~

Following are the permissions on this file:

~~~
-rw-------. 1 root root 399 Apr 27 05:20 /etc/os-net-config/config.yaml
~~~