← Back to team overview

holland-coredev team mailing list archive

[Bug 753070] [NEW] mkvirtenv.py issues - holland-test config not parsed

 

Public bug reported:

Previously (< 1.1.x), running ./scripts/mkvirtenv.py would just 'work'
out of the box.. meaning I could run the script, and start issuing
holland commands.  In Amsterdam (current) it seems to no longer look for
the config in ~/holland-test/etc/holland:

[wdierkes@derks-linux holland]$ ./scripts/mkvirtenv.py 
New python executable in /home/wdierkes/holland-test/bin/python
Installing setuptools...............done.
[INFO] Installed holland-core.
[INFO] Installing holland plugins
[INFO] Installed plugin holland.lib.common
[INFO] Installed plugin holland.lib.mysql
[INFO] Installed plugin holland.lib.lvm
[INFO] Installed plugin holland.backup.mysqldump
[INFO] Installed plugin holland.backup.mysql_lvm
[INFO] Installed plugin holland.backup.xtrabackup
[INFO] An existing config already exists in /home/wdierkes/holland-test/etc/holland. Not installing test configs.
[INFO] Starting shell in virtual environment /bin/bash - use ctrl-d to exit


[holland-test]% holland list-backups
2011-04-06 18:39:05,974 [ERROR] Failed to read /etc/holland/holland.conf: [Errno 2] No such file or directory: '/etc/holland/holland.conf'
2011-04-06 18:39:05,975 [INFO] Failed to open log file: [Errno 13] Permission denied: '/var/log/holland/holland.log'
2011-04-06 18:39:05,975 [INFO] Skipping file logging.
2011-04-06 18:39:06,001 [INFO] No backup-directory specified

** Affects: holland-backup
     Importance: Undecided
     Assignee: Andrew Garner (muzazzi)
         Status: New

** Affects: holland-backup/1.1
     Importance: Undecided
     Assignee: Andrew Garner (abg)
         Status: New

** Changed in: holland-backup
    Milestone: None => 1.1.0a2

** Also affects: holland-backup/1.1
   Importance: Undecided
       Status: New

** Changed in: holland-backup/1.1
    Milestone: None => 1.1.0a2

** Changed in: holland-backup
     Assignee: (unassigned) => Andrew Garner (muzazzi)

** Changed in: holland-backup/1.1
     Assignee: (unassigned) => Andrew Garner (abg)

-- 
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/753070

Title:
  mkvirtenv.py issues - holland-test config not parsed

Status in Holland Backup Framework:
  New
Status in holland-backup 1.1 series:
  New

Bug description:
  Previously (< 1.1.x), running ./scripts/mkvirtenv.py would just 'work'
  out of the box.. meaning I could run the script, and start issuing
  holland commands.  In Amsterdam (current) it seems to no longer look
  for the config in ~/holland-test/etc/holland:

  [wdierkes@derks-linux holland]$ ./scripts/mkvirtenv.py 
  New python executable in /home/wdierkes/holland-test/bin/python
  Installing setuptools...............done.
  [INFO] Installed holland-core.
  [INFO] Installing holland plugins
  [INFO] Installed plugin holland.lib.common
  [INFO] Installed plugin holland.lib.mysql
  [INFO] Installed plugin holland.lib.lvm
  [INFO] Installed plugin holland.backup.mysqldump
  [INFO] Installed plugin holland.backup.mysql_lvm
  [INFO] Installed plugin holland.backup.xtrabackup
  [INFO] An existing config already exists in /home/wdierkes/holland-test/etc/holland. Not installing test configs.
  [INFO] Starting shell in virtual environment /bin/bash - use ctrl-d to exit

  
  [holland-test]% holland list-backups
  2011-04-06 18:39:05,974 [ERROR] Failed to read /etc/holland/holland.conf: [Errno 2] No such file or directory: '/etc/holland/holland.conf'
  2011-04-06 18:39:05,975 [INFO] Failed to open log file: [Errno 13] Permission denied: '/var/log/holland/holland.log'
  2011-04-06 18:39:05,975 [INFO] Skipping file logging.
  2011-04-06 18:39:06,001 [INFO] No backup-directory specified



Follow ups

References