On 03/10/2014 10:36 AM, Sven Kieske wrote:
Hi,
I just did some additional research, here are my results:
on a clean debian 7 x64 VM inside oVirt:
I did as root:
apt-get install python-software-properties
add-apt-repository -y ppa:zhshzhou/vdsm-ubuntu
vim /etc/apt/sources.list.d/zhshzhou-vdsm-ubuntu-wheezy.list
change the following lines from:
deb
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu wheezy main
deb-src
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu wheezy main
to:
deb
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu precise main
deb-src
http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu precise main
then:
apt-get update
apt-get install ovirt-guest-agent
You get an error:
Setting up ovirt-guest-agent (1.0.8.201309301944.gitb7f8f2-1ppa1) ...
chown: cannot access `/var/log/ovirt-guest-agent/ovirt-guest-agent.log':
No such file or directory
but it works:
ls -lashi /var/log/ovirt-guest-agent/ovirt-guest-agent.log
533212 4.0K -rw-r--r-- 1 ovirtagent ovirtagent 208 Mar 10 10:20
/var/log/ovirt-guest-agent/ovirt-guest-agent.log
service ovirt-guest-agent status
[ ok ] ovirt-guest-agent is running.
IP information shows up in ovirt.
it would be cool if the folder "precise" on the ppa could
be cloned to be a folder "wheezy".
Cool thanks for checking.
Zhou Zheng Sheng: Could you please do that on PPA? Of course only if
this is possible somehow. Thanks :)
So you would not need to change the apt-sources entries.
I don't know why this chown error occurs, but it seems to work!
I think the
chown error occurs because the first time the chown is
executed the file does not exist but then the guest agent starts and it
does exist since it creates the file due to the logging. But I am not
100% certain about that.
--
Regards,
Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo
Better technology. Faster innovation. Powered by community collaboration.
See how it works at
redhat.com