Modify

Ticket #1145 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

AttributeError: 'module' object has no attribute 'Metadata'

Reported by: https://www.google.com/accounts/o8/id?id=AItOawm7-QeHxXGyyMwjN6_wFPC-gGTvrxu0YaE Owned by: desai
Priority: major Milestone: Bcfg2 1.3.2 Release (Bugfix)
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

bcfg2-admin init Store Bcfg2 configuration in etc/bcfg2.conf: Location of Bcfg2 repository var/lib/bcfg2: Input password used for communication verification (without echoing; leave blank for a random): What is the server's hostname [bcfg2]: Input the server location https://bcfg2:6789: Input base Operating System for clients: 1: Red Hat/Fedora?/RHEL/RHAS/Centos 2: SUSE/SLES 3: Mandrake 4: Debian 5: Ubuntu 6: Gentoo 7: FreeBSD 8: Arch : 6 Path where Bcfg2 server private key will be created etc/ssl/bcfg2.key: Path where Bcfg2 server cert will be created etc/ssl/bcfg2.crt: The following questions affect SSL certificate generation. If no data is provided, the default values are used. Country name (2 letter code) for certificate: ru State or Province Name (full name) for certificate: mo Locality Name (eg, city) for certificate: mo

Warning: /etc/bcfg2.conf already exists. Overwrite? [y/N]: y Generating a 2048 bit RSA private key ......+++ ......................................+++ writing new private key to '/etc/ssl/bcfg2.key'


Signature ok subject=/C=ru/ST=mo/L=mo/CN=bcfg2 Getting Private key Traceback (most recent call last):

File "/usr/sbin/bcfg2-admin-2.7", line 95, in <module>

main()

File "/usr/sbin/bcfg2-admin-2.7", line 85, in main

mode(setupargs?[1:])

File "/usr/lib64/python2.7/site-packages/Bcfg2/Server/Admin/Init.py", line 193, in call

self.init_repo()

File "/usr/lib64/python2.7/site-packages/Bcfg2/Server/Admin/Init.py", line 341, in init_repo

self._init_plugins()

File "/usr/lib64/python2.7/site-packages/Bcfg2/Server/Admin/Init.py", line 302, in _init_plugins

Bcfg2.Server.Plugins.Metadata.Metadata.init_repo(

AttributeError?: 'module' object has no attribute 'Metadata'

Attachments

Change History

comment:1 Changed 10 years ago by https://www.google.com/accounts/o8/id?id=AItOawm7-QeHxXGyyMwjN6_wFPC-gGTvrxu0YaE

I am sorry, I forgot code tag.

comment:2 Changed 10 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.