Hristo Benev
2007-Sep-04 16:14 UTC
[CentOS-virt] virt-factory investigation (Server settings)
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
Hristo Benev
2007-Sep-04 16:33 UTC
[CentOS-virt] Re: virt-factory investigation (Server settings)
I assume that I also need to configure server In /etc/virt-factory/settings ----------------------- databases: primary: "postgres://virtfactory:%(password)s at localhost/virtfactory" -------------------------- I do not know PG is this line correct? ----------------------------------------------------------------- ??? ? ??????? ???? ????, ?????? ???? ????????! WWW.ZOOM.BG
Hristo Benev
2007-Sep-04 17:08 UTC
[CentOS-virt] Re: virt-factory investigation (Server settings)
Just followup on the problem. I asked in IRC channel and they told me that next version 0.0.4 will be released in a week and it will be better to wait. ----------------------------------------------------------------- ??? ? ??????? ???? ????, ?????? ???? ????????! WWW.ZOOM.BG