Unexpected instantiation failure for plugin <class 'Bcfg2.Server.Plugins.Metadata.Metadata'>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/Core.py", line 427, in init_plugin
self.plugins[plugin.name] = plugin(self)
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/Plugins/Metadata.py", line 564, in __init__
self.password = Bcfg2.Options.setup.password
AttributeError: 'Namespace' object has no attribute 'password'
No Metadata plugin loaded; failed to instantiate Core
Traceback (most recent call last):
File "/usr/sbin/bcfg2-admin", line 10, in <module>
sys.exit(CLI().run())
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/Admin.py", line 1241, in run
cmd.setup()
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/Admin.py", line 141, in setup
self.core.load_plugins()
File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/Core.py", line 407, in load_plugins
raise CoreInitError("No Metadata Plugin")
Bcfg2.Server.Core.CoreInitError: No Metadata Plugin
On the other hand, bcfg2-admin xcmd Packages.Refresh works fine.
When I run
bcfg2-admin viz
, I get the following:On the other hand,
bcfg2-admin xcmd Packages.Refresh
works fine.