Re: [vdsm] Remove and Add host does not work

2012-02-28 Thread Deepak C Shetty

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even able to
create and run VMs off it.
I tried removing the host from the OE (put host into maint. mode and
then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by selecting New 
on the Hosts tab

and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm processes
have been started.
I tried doing Confirm host has been rebooted on the OE, did not help.
I tried putting
host into maint. mode and re-activating the host, just doesn't help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and 
should work just like before.




Nothing changed on the host. In fact when i removed and added the host back
it says everything is installed so does nothing but reboots the host, 
post reboot
vdsm does not start automatically and host status is non-responsive 
on OE




I waited for ~45 mins thinking OE might connect to the host, start vdsm
and get me the Up status
but it failed.

Do i need to manually start vdsm in such a scenario on the host ?
Are there ways or methods to have OE forcibly start vdsm on the host ?

thanx,
deepak

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





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


Re: [vdsm] Remove and Add host does not work

2012-02-28 Thread Itamar Heim

On 02/28/2012 03:22 PM, Deepak C Shetty wrote:

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even able to
create and run VMs off it.
I tried removing the host from the OE (put host into maint. mode and
then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by selecting New
on the Hosts tab
and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm processes
have been started.
I tried doing Confirm host has been rebooted on the OE, did not help.
I tried putting
host into maint. mode and re-activating the host, just doesn't help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and
should work just like before.



Nothing changed on the host. In fact when i removed and added the host back
it says everything is installed so does nothing but reboots the host,
post reboot
vdsm does not start automatically and host status is non-responsive
on OE


if vdsm does not start, OE is correct...
does vdsm try to start and fails (and if so, log excerpt?)
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] Remove and Add host does not work

2012-02-28 Thread Deepak C Shetty

On 02/28/2012 06:57 PM, Itamar Heim wrote:

On 02/28/2012 03:22 PM, Deepak C Shetty wrote:

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even able to
create and run VMs off it.
I tried removing the host from the OE (put host into maint. mode and
then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by selecting New
on the Hosts tab
and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm processes
have been started.
I tried doing Confirm host has been rebooted on the OE, did not 
help.

I tried putting
host into maint. mode and re-activating the host, just doesn't help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and
should work just like before.



Nothing changed on the host. In fact when i removed and added the 
host back

it says everything is installed so does nothing but reboots the host,
post reboot
vdsm does not start automatically and host status is non-responsive
on OE


if vdsm does not start, OE is correct...
does vdsm try to start and fails (and if so, log excerpt?)


Right, but I dont see any traces of vdsm trying to start. Nothing in the 
vdsm.log
thats relevant to this. I just did chkconfig --list and don't see vdsmd 
in that, could

that be the reason.

On the host I manually did `service vdsmd restart` and then everythign works
fine.





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


Re: [vdsm] Remove and Add host does not work

2012-02-28 Thread Itamar Heim

On 02/28/2012 03:31 PM, Deepak C Shetty wrote:

On 02/28/2012 06:57 PM, Itamar Heim wrote:

On 02/28/2012 03:22 PM, Deepak C Shetty wrote:

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even able to
create and run VMs off it.
I tried removing the host from the OE (put host into maint. mode and
then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by selecting New
on the Hosts tab
and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm processes
have been started.
I tried doing Confirm host has been rebooted on the OE, did not
help.
I tried putting
host into maint. mode and re-activating the host, just doesn't help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and
should work just like before.



Nothing changed on the host. In fact when i removed and added the
host back
it says everything is installed so does nothing but reboots the host,
post reboot
vdsm does not start automatically and host status is non-responsive
on OE


if vdsm does not start, OE is correct...
does vdsm try to start and fails (and if so, log excerpt?)


Right, but I dont see any traces of vdsm trying to start. Nothing in the
vdsm.log
thats relevant to this. I just did chkconfig --list and don't see vdsmd
in that, could
that be the reason.

On the host I manually did `service vdsmd restart` and then everythign
works
fine.







you are basically saying re-installing a host causes vdsm to not start 
by default.
reproducing this again to make sure and opening a bug seems the right 
course.
trying to trace the install flow to provide root cause or even a patch 
would help more to fix this

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


Re: [vdsm] Remove and Add host does not work

2012-02-28 Thread Deepak C Shetty

On 02/28/2012 07:11 PM, Itamar Heim wrote:

On 02/28/2012 03:31 PM, Deepak C Shetty wrote:

On 02/28/2012 06:57 PM, Itamar Heim wrote:

On 02/28/2012 03:22 PM, Deepak C Shetty wrote:

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even 
able to

create and run VMs off it.
I tried removing the host from the OE (put host into maint. mode and
then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by selecting 
New

on the Hosts tab
and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm 
processes

have been started.
I tried doing Confirm host has been rebooted on the OE, did not
help.
I tried putting
host into maint. mode and re-activating the host, just doesn't help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and
should work just like before.



Nothing changed on the host. In fact when i removed and added the
host back
it says everything is installed so does nothing but reboots the host,
post reboot
vdsm does not start automatically and host status is 
non-responsive

on OE


if vdsm does not start, OE is correct...
does vdsm try to start and fails (and if so, log excerpt?)


Right, but I dont see any traces of vdsm trying to start. Nothing in the
vdsm.log
thats relevant to this. I just did chkconfig --list and don't see vdsmd
in that, could
that be the reason.

On the host I manually did `service vdsmd restart` and then everythign
works
fine.







you are basically saying re-installing a host causes vdsm to not 
start by default.
reproducing this again to make sure and opening a bug seems the right 
course.
trying to trace the install flow to provide root cause or even a patch 
would help more to fix this


Are you saying that vdsmd service should start by default post reboot 
and its entry

should be listed as part of chkconfig --list ?


Found this examining the vds bootstrap complete py log

2012-02-28 23:45:32,022 DEBUGdeployUtil 707 _updateFileLine: return: 
True

2012-02-28 23:45:32,022 DEBUGdeployUtil 228 setVdsConf: ended.
2012-02-28 23:45:32,022 DEBUGdeployUtil 103 ['/bin/systemctl', 
'reconfigure', 'vdsmd.service']

2012-02-28 23:45:32,026 DEBUGdeployUtil 107
2012-02-28 23:45:32,026 DEBUGdeployUtil 108 Unknown operation 
reconfigure


2012-02-28 23:45:32,026 DEBUGdeployUtil 103 ['/sbin/reboot']
2012-02-28 23:45:32,325 DEBUGdeployUtil 107



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


Re: [vdsm] [Users] Remove and Add host does not work

2012-02-28 Thread Douglas Landgraf

On 02/28/2012 08:49 AM, Deepak C Shetty wrote:

On 02/28/2012 07:11 PM, Itamar Heim wrote:

On 02/28/2012 03:31 PM, Deepak C Shetty wrote:

On 02/28/2012 06:57 PM, Itamar Heim wrote:

On 02/28/2012 03:22 PM, Deepak C Shetty wrote:

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even 
able to

create and run VMs off it.
I tried removing the host from the OE (put host into maint. mode 
and

then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by selecting 
New

on the Hosts tab
and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm 
processes

have been started.
I tried doing Confirm host has been rebooted on the OE, did not
help.
I tried putting
host into maint. mode and re-activating the host, just doesn't help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and
should work just like before.



Nothing changed on the host. In fact when i removed and added the
host back
it says everything is installed so does nothing but reboots the host,
post reboot
vdsm does not start automatically and host status is 
non-responsive

on OE


if vdsm does not start, OE is correct...
does vdsm try to start and fails (and if so, log excerpt?)


Right, but I dont see any traces of vdsm trying to start. Nothing in 
the

vdsm.log
thats relevant to this. I just did chkconfig --list and don't see vdsmd
in that, could
that be the reason.

On the host I manually did `service vdsmd restart` and then everythign
works
fine.







you are basically saying re-installing a host causes vdsm to not 
start by default.
reproducing this again to make sure and opening a bug seems the right 
course.
trying to trace the install flow to provide root cause or even a 
patch would help more to fix this


Are you saying that vdsmd service should start by default post reboot 
and its entry

should be listed as part of chkconfig --list ?


vdsm uses systemd.
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet

Try to use chkconfig vdsm on, you will see a wrapper to systemd command.


Found this examining the vds bootstrap complete py log

2012-02-28 23:45:32,022 DEBUGdeployUtil 707 _updateFileLine: 
return: True

2012-02-28 23:45:32,022 DEBUGdeployUtil 228 setVdsConf: ended.
2012-02-28 23:45:32,022 DEBUGdeployUtil 103 ['/bin/systemctl', 
'reconfigure', 'vdsmd.service']

2012-02-28 23:45:32,026 DEBUGdeployUtil 107
2012-02-28 23:45:32,026 DEBUGdeployUtil 108 Unknown operation 
reconfigure


2012-02-28 23:45:32,026 DEBUGdeployUtil 103 ['/sbin/reboot']
2012-02-28 23:45:32,325 DEBUGdeployUtil 107


Which vdsm version are you using? If I am not wrong, I remember to see a 
patch for this report.. /me going to check..


Thanks!

--
Cheers
Douglas

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


Re: [vdsm] [Users] Remove and Add host does not work

2012-02-28 Thread Douglas Landgraf

On 02/28/2012 11:01 AM, Douglas Landgraf wrote:

On 02/28/2012 08:49 AM, Deepak C Shetty wrote:

On 02/28/2012 07:11 PM, Itamar Heim wrote:

On 02/28/2012 03:31 PM, Deepak C Shetty wrote:

On 02/28/2012 06:57 PM, Itamar Heim wrote:

On 02/28/2012 03:22 PM, Deepak C Shetty wrote:

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even 
able to

create and run VMs off it.
I tried removing the host from the OE (put host into maint. 
mode and

then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by selecting 
New

on the Hosts tab
and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm 
processes

have been started.
I tried doing Confirm host has been rebooted on the OE, did not
help.
I tried putting
host into maint. mode and re-activating the host, just doesn't 
help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and
should work just like before.



Nothing changed on the host. In fact when i removed and added the
host back
it says everything is installed so does nothing but reboots the 
host,

post reboot
vdsm does not start automatically and host status is 
non-responsive

on OE


if vdsm does not start, OE is correct...
does vdsm try to start and fails (and if so, log excerpt?)


Right, but I dont see any traces of vdsm trying to start. Nothing 
in the

vdsm.log
thats relevant to this. I just did chkconfig --list and don't see 
vdsmd

in that, could
that be the reason.

On the host I manually did `service vdsmd restart` and then everythign
works
fine.







you are basically saying re-installing a host causes vdsm to not 
start by default.
reproducing this again to make sure and opening a bug seems the 
right course.
trying to trace the install flow to provide root cause or even a 
patch would help more to fix this


Are you saying that vdsmd service should start by default post reboot 
and its entry

should be listed as part of chkconfig --list ?


vdsm uses systemd.
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet

Try to use chkconfig vdsm on, you will see a wrapper to systemd command.


Found this examining the vds bootstrap complete py log

2012-02-28 23:45:32,022 DEBUGdeployUtil 707 _updateFileLine: 
return: True

2012-02-28 23:45:32,022 DEBUGdeployUtil 228 setVdsConf: ended.
2012-02-28 23:45:32,022 DEBUGdeployUtil 103 ['/bin/systemctl', 
'reconfigure', 'vdsmd.service']

2012-02-28 23:45:32,026 DEBUGdeployUtil 107
2012-02-28 23:45:32,026 DEBUGdeployUtil 108 Unknown operation 
reconfigure


2012-02-28 23:45:32,026 DEBUGdeployUtil 103 ['/sbin/reboot']
2012-02-28 23:45:32,325 DEBUGdeployUtil 107


Which vdsm version are you using? If I am not wrong, I remember to see 
a patch for this report.. /me going to check..




From vdsm.spec:
===
* Sun Feb  5 2012 Dan Kenigsberg dan...@redhat.com - 4.9.3.3-0.fc16
snip
- BZ#773371 call `vdsmd reconfigure` after bootstrap
snip


--
Cheers
Douglas

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


Re: [vdsm] [Users] Remove and Add host does not work

2012-02-28 Thread Deepak C Shetty

On 02/28/2012 10:38 PM, Douglas Landgraf wrote:

On 02/28/2012 11:01 AM, Douglas Landgraf wrote:

On 02/28/2012 08:49 AM, Deepak C Shetty wrote:

On 02/28/2012 07:11 PM, Itamar Heim wrote:

On 02/28/2012 03:31 PM, Deepak C Shetty wrote:

On 02/28/2012 06:57 PM, Itamar Heim wrote:

On 02/28/2012 03:22 PM, Deepak C Shetty wrote:

On 02/28/2012 06:46 PM, Itamar Heim wrote:

On 02/28/2012 02:48 PM, Deepak C Shetty wrote:

Hi,
I had a host managed via OE, completely working fine. Was even 
able to

create and run VMs off it.
I tried removing the host from the OE (put host into maint. 
mode and

then remove) and when i re-discover
the same host, OE just keeps seeing it as Non-responsive.


what do you mean by re-discover?



I just meant that i removed the host and re-added it by 
selecting New

on the Hosts tab
and putting the IP and hostname.



I am able to ssh into the host and see that none of the vdsm 
processes

have been started.
I tried doing Confirm host has been rebooted on the OE, did not
help.
I tried putting
host into maint. mode and re-activating the host, just doesn't 
help


did you do any change to the host?
just removing it from engine shouldn't cause vdsm to know/care and
should work just like before.



Nothing changed on the host. In fact when i removed and added the
host back
it says everything is installed so does nothing but reboots the 
host,

post reboot
vdsm does not start automatically and host status is 
non-responsive

on OE


if vdsm does not start, OE is correct...
does vdsm try to start and fails (and if so, log excerpt?)


Right, but I dont see any traces of vdsm trying to start. Nothing 
in the

vdsm.log
thats relevant to this. I just did chkconfig --list and don't see 
vdsmd

in that, could
that be the reason.

On the host I manually did `service vdsmd restart` and then 
everythign

works
fine.







you are basically saying re-installing a host causes vdsm to not 
start by default.
reproducing this again to make sure and opening a bug seems the 
right course.
trying to trace the install flow to provide root cause or even a 
patch would help more to fix this


Are you saying that vdsmd service should start by default post 
reboot and its entry

should be listed as part of chkconfig --list ?


vdsm uses systemd.
http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet

Try to use chkconfig vdsm on, you will see a wrapper to systemd command.


Found this examining the vds bootstrap complete py log

2012-02-28 23:45:32,022 DEBUGdeployUtil 707 _updateFileLine: 
return: True

2012-02-28 23:45:32,022 DEBUGdeployUtil 228 setVdsConf: ended.
2012-02-28 23:45:32,022 DEBUGdeployUtil 103 ['/bin/systemctl', 
'reconfigure', 'vdsmd.service']

2012-02-28 23:45:32,026 DEBUGdeployUtil 107
2012-02-28 23:45:32,026 DEBUGdeployUtil 108 Unknown operation 
reconfigure


2012-02-28 23:45:32,026 DEBUGdeployUtil 103 ['/sbin/reboot']
2012-02-28 23:45:32,325 DEBUGdeployUtil 107


Which vdsm version are you using? If I am not wrong, I remember to 
see a patch for this report.. /me going to check..




From vdsm.spec:
===
* Sun Feb  5 2012 Dan Kenigsberg dan...@redhat.com - 4.9.3.3-0.fc16
snip
- BZ#773371 call `vdsmd reconfigure` after bootstrap
snip



Thanks douglas, I am on a bit older version of vdsm and can't readily update
as my lab system is not directly connected to the internet. So until i 
update,

'guess i will have to live with manual vdsmd restart.


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


Re: [vdsm] Fedora Virtualization Test Day 2012-04-12

2012-02-28 Thread Saggi Mizrahi
Good thing you linked to that wiki page. I learned a lot.

I don't mind being there for the EST shift.

- Original Message -
 From: Ayal Baron aba...@redhat.com
 To: VDSM Project Development vdsm-devel@lists.fedorahosted.org
 Sent: Tuesday, February 28, 2012 4:39:04 PM
 Subject: [vdsm] Fedora Virtualization Test Day 2012-04-12
 
 Hi all,
 
 $subject is a month and a half away.
 Any volunteers to driving vdsm testing forward for that day?
 
 
 https://fedoraproject.org/wiki/Test_Day:2012-04-12_Virtualization_Test_Day
 
 Regards,
 Ayal
 ___
 vdsm-devel mailing list
 vdsm-devel@lists.fedorahosted.org
 https://fedorahosted.org/mailman/listinfo/vdsm-devel
 
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel


Re: [vdsm] MOM Integration Plan

2012-02-28 Thread Ayal Baron


- Original Message -
 Hi all,
 
 Very shortly Mark will be sending some patches for review that
 implement the
 long-awaited integration of mom with vdsm.  I felt it would be easier
 to
 understand the changes to vdsm if they were explained a bit better.
  In support
 of this I have created a wiki page on ovirt.org with a diagram:
 
 http://ovirt.org/wiki/Features/MomIntegration
 
 To facilitate discussion, here is the text of that page:
 
 As discussed at the oVirt Workshop and elsewhere, integrating mom
 with vdsm will
 benefit oVirt by providing a mechanism for dynamic, policy-based
 tuning.  This
 mechanism will pave the way for implementing memory ballooning
 policies, can
 enhance migration policy, and will replace the existing ksm tuning
 thread.
 
 MOM exists today as an independent library that can be used by python
 programs
 such as vdsm or in standalone mode (by using the accompanying momd
 program.
 Mom's operation is very configurable.  The management policy is
 written in a
 Fortran-like language and is replaceable by the end user.
  Additionally, plugins
 allow you to customize the types of information collected and the
 manner in
 which it is collected.  Similarly, Controller plugins permit a
 completely
 flexible control API to be created.
 
 To integrate mom, vdsm will initialize the mom library in a new
 thread and start
 it.  Therefore, mom and vdsm will exist in the same process.  Vdsm
 will
 configure the mom instance to use plugins and a policy that
 exclusively target
 the vdsm API.  All statistics collection will occur via API calls and
 any
 management actions (including adjustments to KSM and VM balloons)
 will be done
 through the vdsm api as well.  Mom will not use libvirt at all (not
 even to
 monitor for new VMs on the system).
 
 Packaging logistics:
 -
 Mom is an independent package that is already in Fedora.  Any changes
 to mom
 that are required to support this integration will be submitted to
 the mom
 project for inclusion.  Vdsm will consume the standard MOM package as
 a python
 module/library.
 
 In order to control its mom instance, vdsm will ship a mom
 configuration file
 and a mom policy file that will set mom's default behavior.  At
 startup, vdsmd
 will import mom and initialize it with the configuration and policy
 files.  From
 that point on, mom will interact with vdsm through the well-defined
 API in
 API.py.
 
 New features needed in vdsm:
 ---
 In order to fully benefit from mom's capabilities, vdsm should
 implement the
 following extra features/APIs:
 
 - Collection of more memory statistics via ovirt-guest-agent
 including the
   current memory balloon value.
 - A vmBalloon API to set a new balloon target.

Looks good to me.

 
 --
 Adam Litke a...@us.ibm.com
 IBM Linux Technology Center
 
 ___
 vdsm-devel mailing list
 vdsm-devel@lists.fedorahosted.org
 https://fedorahosted.org/mailman/listinfo/vdsm-devel
 
___
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel