Re: [vdsm] ovirt-guest-agent on debian

2014-03-27 Thread Vinzenz Feenstra

On 03/26/2014 01:35 PM, Sven Kieske wrote:

Well I did find an error:

During system boot you get an error message:

dbus unknown username gdm in message bus configuration files

This error is caused by this conf file:
/etc/dbus-1/system.d/org.ovirt.vdsm.Credentials.conf
I think we won't have to install this file at all, since we don't have a 
working Single Sign On feature on Debian and Ubuntu at the moment.

So I guess dropping this file should solve this.


Is it save to remove the following part from the config file?

   policy user=gdm
 allow send_destination=org.ovirt.vdsm.Credentials
send_interface=org.ovirt.vdsm.Credentials /
   /policy


If yes it would be cool if the ubuntu packages could get
rebuild, because I guess you will encounter the same problem
there.




--
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

___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] ovirt-guest-agent on debian

2014-03-26 Thread Sven Kieske
Well I did find an error:

During system boot you get an error message:

dbus unknown username gdm in message bus configuration files

This error is caused by this conf file:
/etc/dbus-1/system.d/org.ovirt.vdsm.Credentials.conf

Is it save to remove the following part from the config file?

  policy user=gdm
allow send_destination=org.ovirt.vdsm.Credentials
   send_interface=org.ovirt.vdsm.Credentials /
  /policy


If yes it would be cool if the ubuntu packages could get
rebuild, because I guess you will encounter the same problem
there.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] ovirt-guest-agent on debian

2014-03-11 Thread Vinzenz Feenstra

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

___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


[vdsm] ovirt-guest-agent on debian

2014-03-10 Thread Sven Kieske
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.

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!


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] ovirt-guest-agent on debian

2014-01-22 Thread Vinzenz Feenstra

On 01/21/2014 09:41 PM, Sven Kieske wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

here are my results so far.

I did:

install debian 7 x64 into a vm
as root:

mkdir code

cd code

git clone git://gerrit.ovirt.org/ovirt-guest-agent

cd ovirt-guest-agent

./autogen.sh

./autogen.sh: 3: ./autogen.sh: autoreconf: not found

apt-get install dh-autoreconf

./autogen.sh

./configure
configure: error: no suitable Python interpreter found

apt-get install python

./configure

./configure: line 15790: --variable=systemdsystemunitdir: command not
found
checking for pep8... no
configure: WARNING: python-pep8 not found
./configure: line 15868: syntax error near unexpected token 'GDM_PLUGIN, '
./configure: line 15868: '  PKG_CHECK_MODULES(GDM_PLUGIN; '

apt-get install pep8

I found this:

http://lists.ovirt.org/pipermail/users/2013-August/015773.html

so I tried:

./configure --with-gdm=no --with-sso=no

but I get the same errors again.

Doing less configure shows however that this options should be
recognized and supported?

Any help will be appreciated.

I will try to maintain some manual and get patches in so we can
get a stable build for Debian.
the command should be ./configure --without-gdm not sure about 
--with-gdm=no I never tested it.
However we won't support sso at all on debian for now, therefore I would 
suggest just: ./configure --without-sso
Then you won't have to build gdm and kdm plugins (and have to have their 
dependencies installed) and the same for the pam plugin.



HTH


Thanks for your time.

Sven
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQGcBAEBAgAGBQJS3ttmAAoJEAq0kGAWDrqlezAMAJwi4ZPMdWCCANUdWn7fPUDm
6QsAamcaNm5pcSwUHYKMLjhfn+UO2NoVb/f46UVOSadJ1Yfr7CbVutnRy+W0MMjR
PehaoZw5o2bJ09Is8nLN505iriiw4Xvwk1MvmYCIj8XcHC0Uj3q+VU7erV0fE4Js
XHUMuHto8S/4op9MDAfjAAJfu0l/9ADSIcp4HRo75NCqt0r3wccT8tSI/t+ABYc1
7luDA0RqRAbnYgqZPgfv7P3l0wHy5SBCEbFP8md5CH0VHJw1w8x40Mx4X9K1UI2g
9nkyI+ObNlTI7ori6OP0ZHjQpddzQlO8r965rANW4Zlj4YHwRL6Z0YlgVNzIlFLJ
ps5qAKc2xxXfC3cqk/EGalGaLGwQNV1rI1s/Ah/jsET0sNAc55tBFvsYOQxkoVit
lFbzXm9J17kUBb+EcIxMihkU2abQMx+j4KVaxA430uwggQL1mmTLgGfgBtFhOB8t
laWExv4FAoy4UQLHkOptmscPiRfKPAzRvXNd9q5oMg==
=b9/7
-END PGP SIGNATURE-
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel



--
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

___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] ovirt-guest-agent on debian

2014-01-22 Thread Yedidyah Bar David
Hi,

- Original Message -
 From: Sven Kieske svenkie...@gmail.com
 To: vdsm-devel@lists.fedorahosted.org
 Sent: Tuesday, January 21, 2014 10:41:10 PM
 Subject: [vdsm] ovirt-guest-agent on debian
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 here are my results so far.
 
 I did:
 
 install debian 7 x64 into a vm
 as root:
 
 mkdir code
 
 cd code
 
 git clone git://gerrit.ovirt.org/ovirt-guest-agent
 
 cd ovirt-guest-agent
 
 ./autogen.sh
 
 ./autogen.sh: 3: ./autogen.sh: autoreconf: not found
 
 apt-get install dh-autoreconf
 
 ./autogen.sh
 
 ./configure
 configure: error: no suitable Python interpreter found
 
 apt-get install python
 
 ./configure
 
 ./configure: line 15790: --variable=systemdsystemunitdir: command not
 found
 checking for pep8... no
 configure: WARNING: python-pep8 not found
 ./configure: line 15868: syntax error near unexpected token 'GDM_PLUGIN, '
 ./configure: line 15868: '  PKG_CHECK_MODULES(GDM_PLUGIN; '
 
 apt-get install pep8
 
 I found this:
 
 http://lists.ovirt.org/pipermail/users/2013-August/015773.html
 
 so I tried:
 
 ./configure --with-gdm=no --with-sso=no
 
 but I get the same errors again.
 
 Doing less configure shows however that this options should be
 recognized and supported?
 
 Any help will be appreciated.
 

Did you try as a start the packages pointed at from [1]?

 I will try to maintain some manual and get patches in so we can
 get a stable build for Debian.

Thanks!

[1] http://www.ovirt.org/How_to_install_the_guest_agent_in_Ubuntu

Best regards,
-- 
Didi
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] ovirt-guest-agent on debian

2014-01-22 Thread Vinzenz Feenstra

On 01/22/2014 09:13 AM, Yedidyah Bar David wrote:

Hi,

- Original Message -

From: Sven Kieske svenkie...@gmail.com
To: vdsm-devel@lists.fedorahosted.org
Sent: Tuesday, January 21, 2014 10:41:10 PM
Subject: [vdsm] ovirt-guest-agent on debian

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

here are my results so far.

I did:

install debian 7 x64 into a vm
as root:

mkdir code

cd code

git clone git://gerrit.ovirt.org/ovirt-guest-agent

cd ovirt-guest-agent

./autogen.sh

./autogen.sh: 3: ./autogen.sh: autoreconf: not found

apt-get install dh-autoreconf

./autogen.sh

./configure
configure: error: no suitable Python interpreter found

apt-get install python

./configure

./configure: line 15790: --variable=systemdsystemunitdir: command not
found
checking for pep8... no
configure: WARNING: python-pep8 not found
./configure: line 15868: syntax error near unexpected token 'GDM_PLUGIN, '
./configure: line 15868: '  PKG_CHECK_MODULES(GDM_PLUGIN; '

apt-get install pep8

I found this:

http://lists.ovirt.org/pipermail/users/2013-August/015773.html

so I tried:

./configure --with-gdm=no --with-sso=no

but I get the same errors again.

Doing less configure shows however that this options should be
recognized and supported?

Any help will be appreciated.


Did you try as a start the packages pointed at from [1]?
Thanks for the advice, however he'd like to try to package it for Debian 
and adjust the scripts for it :-)



I will try to maintain some manual and get patches in so we can
get a stable build for Debian.

Thanks!

[1] http://www.ovirt.org/How_to_install_the_guest_agent_in_Ubuntu

Best regards,



--
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

___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


[vdsm] ovirt-guest-agent on debian

2014-01-21 Thread Sven Kieske
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

here are my results so far.

I did:

install debian 7 x64 into a vm
as root:

mkdir code

cd code

git clone git://gerrit.ovirt.org/ovirt-guest-agent

cd ovirt-guest-agent

./autogen.sh

./autogen.sh: 3: ./autogen.sh: autoreconf: not found

apt-get install dh-autoreconf

./autogen.sh

./configure
configure: error: no suitable Python interpreter found

apt-get install python

./configure

./configure: line 15790: --variable=systemdsystemunitdir: command not
found
checking for pep8... no
configure: WARNING: python-pep8 not found
./configure: line 15868: syntax error near unexpected token 'GDM_PLUGIN, '
./configure: line 15868: '  PKG_CHECK_MODULES(GDM_PLUGIN; '

apt-get install pep8

I found this:

http://lists.ovirt.org/pipermail/users/2013-August/015773.html

so I tried:

./configure --with-gdm=no --with-sso=no

but I get the same errors again.

Doing less configure shows however that this options should be
recognized and supported?

Any help will be appreciated.

I will try to maintain some manual and get patches in so we can
get a stable build for Debian.

Thanks for your time.

Sven
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQGcBAEBAgAGBQJS3ttmAAoJEAq0kGAWDrqlezAMAJwi4ZPMdWCCANUdWn7fPUDm
6QsAamcaNm5pcSwUHYKMLjhfn+UO2NoVb/f46UVOSadJ1Yfr7CbVutnRy+W0MMjR
PehaoZw5o2bJ09Is8nLN505iriiw4Xvwk1MvmYCIj8XcHC0Uj3q+VU7erV0fE4Js
XHUMuHto8S/4op9MDAfjAAJfu0l/9ADSIcp4HRo75NCqt0r3wccT8tSI/t+ABYc1
7luDA0RqRAbnYgqZPgfv7P3l0wHy5SBCEbFP8md5CH0VHJw1w8x40Mx4X9K1UI2g
9nkyI+ObNlTI7ori6OP0ZHjQpddzQlO8r965rANW4Zlj4YHwRL6Z0YlgVNzIlFLJ
ps5qAKc2xxXfC3cqk/EGalGaLGwQNV1rI1s/Ah/jsET0sNAc55tBFvsYOQxkoVit
lFbzXm9J17kUBb+EcIxMihkU2abQMx+j4KVaxA430uwggQL1mmTLgGfgBtFhOB8t
laWExv4FAoy4UQLHkOptmscPiRfKPAzRvXNd9q5oMg==
=b9/7
-END PGP SIGNATURE-
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel