Pivotal Knowledge Base

Follow

Installing NSX-T Container Plugin Tile on PAS 2.1 fails with error "Failed to open some config files"

Environment

Pivotal Cloud Foundry (PCF) 2.1 and above

VMware NSX-T Container Plugin Tile version 2.1.0 and 2.1.1

Symptom

During "Apply Changes" after adding NSX-T Container Plugin Tile in Operations Manager, the deployment fails with the following error:

oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/nsx-ujo/ncp.ini
Traceback (most recent call last):
 File "/usr/local/bin/ncp", line 10, in <module>
  sys.exit(main())
 File "/usr/local/lib/python2.7/dist-packages/nsx_ujo/cmd/ncp.py", line 11, in main
  nsx_log_adaptor.init_log('nsx-container-ncp', 'ncp')
 File "/usr/local/lib/python2.7/dist-packages/nsx_ujo/common/nsx_log_adaptor.py", line 134, in init_log   cfg.CONF(args=sys.argv[1:], default_config_files=[constants.NCP_INI_PATH])
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2493, in __call__
   self._namespace._files_permission_denied)
oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/nsx-ujo/ncp.ini

Cause

This is a known issue with versions 2.1.0 and 2.1.1 of NSX-T Container Plugin Tile with Pivotal Application Service (PAS) version 2.0. 

Resolution

The issue is fixed in version 2.1.2 of NSX-T Container Plugin Tile.

Note that this issue does not exist with Pivotal Application Service (PAS) version 2.0.

Comments

Powered by Zendesk