Ticket #1011 (closed defect: fixed)
global name 'keypath' is not defined
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawlPKYcLUHnVh6m82dkD_mNpQLOwSI_RzeQ | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: |
Description
"bcfg2-admin init" fails with Error global name 'keypath' is not defined occured while trying to write configuration file to '/etc/bcfg2.conf'.
Session follows:
[email protected]:~/.local/lib/python2.6/site-packages$ bcfg2-admin init Store Bcfg2 configuration in etc/bcfg2.conf: Location of Bcfg2 repository var/lib/bcfg2: Directory /var/lib/bcfg2 exists. Overwrite? [y/N]:N Location of Bcfg2 repository var/lib/bcfg2: Directory /var/lib/bcfg2 exists. Overwrite? [y/N]:y Input password used for communication verification (without echoing; leave blank for a random): What is the server's hostname [pebble.local]: Input the server location https://pebble.local: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 : 4 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: Locality Name (eg, city) for certificate: Novosibirsk
Warning: /etc/bcfg2.conf already exists. Overwrite? [y/N]: y Error global name 'keypath' is not defined occured while trying to write configuration file to '/etc/bcfg2.conf'.
[email protected]:~/.local/lib/python2.6/site-packages$ find ~/.local|grep egg /home/user/.local/lib/python2.6/site-packages/Bcfg2-1.2.0pre2.egg-info
This was fixed in 372347c63082fbb2e0c09f0b4e42f307a45c1fe6.