On Wed 16 Nov 2011 11:44:57 AM IST, Federico Simoncelli wrote:
----- Original Message -----
From: "Saggi Mizrahi"smizrahi@redhat.com To: "Federico Simoncelli"fsimonce@redhat.com Cc: vdsm-devel@lists.fedorahosted.org, "Jenna Johnson"jennajohnson390@gmail.com Sent: Wednesday, November 16, 2011 10:27:25 AM Subject: Re: Install VDSM on Ubuntu
On Wed 16 Nov 2011 11:25:34 AM IST, Federico Simoncelli wrote:
----- Original Message -----
From: "Jenna Johnson"jennajohnson390@gmail.com To: vdsm-devel@lists.fedorahosted.org Sent: Wednesday, November 16, 2011 9:59:19 AM Subject: Install VDSM on Ubuntu
Hey guys,
Trying to install VDSM on Ubuntu11.04,pulled vdsm code ,here are my steps:
1../autobuild --system 2.make 3.sudo make install 4.sudo service vdsmd start
encountered error : unrecognised service
Does someone have idea about how to install and startup VDSM on Ubuntu?
Jenna,
Hi Jenna, you need a proper upstart service file for vdsm. One of the problem you might be facing is that our current init script is doing much more than just starting/stopping a service. That has to change.
Some time ago I proposed to strip the current init extra-logic (eg: configuring libvirt, etc...) to an external tool (vdsm-tool).
That will allow us to have regular init/upstart scripts that are just taking care of starting/stopping/restarting the service.
Talking fedora. The extra stuff we do is actually handled by systemd. Does anyone know what's the state of systemd in ubuntu?
I believe you refer to the NEEDED_SERVICES/CONFLICTING_SERVICES part. But we also (might not be complete):
- configure libvirtd.conf/qemu.conf
- setup a password for libvirt
- configure sysctl.conf
- create some paths (if missing)
Configuring libvirt could be moved to an external tool using something like augeas, creating the paths can be moved (where possible) inside vdsm.
+1