[CentOS-virt] virt-factory investigation (Server settings)

Hristo Benev foxb at abv.bg
Tue Sep 4 16:14:38 UTC 2007


Hi,

Next step is setting up mirrors fo virtual guest deployment
This requires editing:
----------------------------
/etc/virt-factory/settings
----------------------------

This time I'll use FC6 mirrors to test product functionality.

When editing this file setup local IP (not localhost) of the server.

Next step is to start management server:
--------------------------------------------
/etc/init.d/puppetmaster start
Starting puppetmaster:                                     [  OK  ]
--------------------------------------------

puppetmaster, apache, and virt-factory services could be set-up to start with the machine

Then start the service:

vf_server import

Unfortunately I've recived error
-----------------------------------------
vf_server import
***** CONFIG RELOAD *****
Traceback (most recent call last):
  File "/usr/bin/vf_server", line 12, in ?
    server.main(sys.argv)
  File "/usr/lib/python2.4/site-packages/virt-factory/server/server.py", line 185, in main
    websvc = XmlRpcInterface()
  File "/usr/lib/python2.4/site-packages/virt-factory/server/server.py", line 72, in __init__
    Database(url)
  File "/usr/lib/python2.4/site-packages/virt-factory/server/db.py", line 346, in __init__
    global_connect(interpolate_url_password(url), echo=False)
  File "/usr/lib/python2.4/site-packages/virt-factory/server/db.py", line 317, in interpolate_url_password
    pwfile = open("/etc/virt-factory/db/dbaccess")
IOError: [Errno 2] No such file or directory: '/etc/virt-factory/db/dbaccess'
------------------------------------------------------

Any ideas what it could be?






-----------------------------------------------------------------
ЕЛА и направи свой сайт, намери нови приятели!
WWW.ZOOM.BG


More information about the CentOS-virt mailing list