Skip to content

Instantly share code, notes, and snippets.

@okoye
Created February 7, 2010 00:06
Show Gist options
  • Save okoye/297072 to your computer and use it in GitHub Desktop.
Save okoye/297072 to your computer and use it in GitHub Desktop.
[root@develop binaries]# ./haoscar_configure -m primary
========================================
== HAOSCAR Installation Wizard Running
========================================
========================================
== System Sanity Checks
========================================
--> checking to make sure system environment is sane
--> yup, system is sane
--> sanity check completed, proceeding to next step
========================================
== Environment Configuration
========================================
--> Local system is a redhat based distro
--> Setting HAS_HOME directory variable to current dir
--> It seems HAS_HOME(csh) has been set already, skipping
--> It seems HAS_HOME(sh) has been set already, skipping
========================================
== Gathering System Config Info
========================================
--> gathering system configuration facts
--> added home directory '/home' for replication :)
Enter any other directories that may contain user data seperated by commas [e.g /data,/repos]:
--> is a valid directory[ies]?
--> /home is a valid path
--> Detected multiple active interfaces: lo, , ,
Select a network interface from the options above: eth0
--> adding interface to config file, proceeding...
--> adding ip address of associated interface...
--> generating list of 'default' highly available services
--> finished generating configuration...
========================================
== Database Initialization
========================================
--> initializing database
--> database setup completed sucessfully
--> populating database with primary config data
{'HOSTNAME': 'develop.latech', 'IP_ADDR': '138.47.102.61', 'NIC_INFO': 'eth0'}
--> sucessfully populated data for primary server
--> gathering secondary server configuration info
enter the host name of the secondary server: asdasd
Traceback (most recent call last):
File "./haoscar_configure", line 117, in <module>
main()
File "./haoscar_configure", line 93, in main
sys_config = chaif.secondaryConfigurator()
File "../halib/chaif/Chaif.py", line 76, in secondaryConfigurator
return config.secConfig()
File "../halib/chaif/SysConfigurator.py", line 60, in secConfig
sec_config['NIC_INFO'] = database_driver.select_db("Primary_Configuration")['NIC_INFO']
File "../halib/chaif/DatabaseDriver.py", line 116, in select_db
keyz = row.keys()
AttributeError: 'sqlite3.Row' object has no attribute 'keys'
[root@develop binaries]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment