Skip to content

Missing password in viz #376

@0

Description

@0

When I run bcfg2-admin viz, I get the following:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions