Skip to content

Instantly share code, notes, and snippets.

@okoye
Created December 21, 2009 10:10
Show Gist options
  • Save okoye/260888 to your computer and use it in GitHub Desktop.
Save okoye/260888 to your computer and use it in GitHub Desktop.
[root@chuka binaries]# python haoscar_wizard.py
========================================
== 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']
--> '/home'
--> Detected multiple active interfaces: lo, eth0,
Select a network interface from the options above:
--> invalid device specified, skipping for now
--> generating list of 'default' highly available services
--> finished generating configuration...
========================================
== Database Initialization
========================================
--> initializing database
--> database setup completed sucessfully
--> populating database
Debug: query is=> INSERT INTO hainfo (name, value) VALUES('DATA_DIR' , ''/home'')
Traceback (most recent call last):
File "haoscar_wizard.py", line 58, in <module>
ddriver.insert_db('hainfo',sys_config)
File "../halib/chaif/DatabaseDriver.py", line 54, in insert_db
c.execute(query)
sqlite3.OperationalError: near "''": syntax error
[root@chuka binaries]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment