Re: [Users] Is there a way to force remove a host?

2012-09-25 Thread Itamar Heim

On 09/25/2012 03:27 AM, Dominic Kaiser wrote:

Dominic - are you also using a cluster with gluster service enabled?

Yes Gluster Service is enabled.  And I can not remove hosts from that
cluster.


shireesh - please take a look at this.
dominic - move the host to a virt only cluster and delete the host.



Dominic

On Mon, Sep 24, 2012 at 6:07 PM, Itamar Heim ih...@redhat.com
mailto:ih...@redhat.com wrote:

On 09/25/2012 12:03 AM, Jason Brooks wrote:

On Mon 24 Sep 2012 02:55:54 PM PDT, Itamar Heim wrote:

On 09/24/2012 11:53 PM, Jason Brooks wrote:

On Mon 24 Sep 2012 01:24:44 PM PDT, Itamar Heim wrote:

On 09/24/2012 08:49 PM, Dominic Kaiser wrote:

This conversation is fine but if I want to force
remove no matter
what I
should be able to from the GUI.  The nodes are
no longer available I
want to get rid of them ovirt does not let me.
  I can delete from
database but why not from the GUI?  I am sure
others may run into this
problem as well.


what happens to the status of the host when you
right click on the
host and specify you confirm it was shutdown?


I'm having this same issue. Confirming the host is shut
down doesn't
make a difference.

I'm seeing lots of Failed to GlusterHostRemoveVDS,
error = Unexpected
exception errors in my engine log that seem to
correspond w/ the failed
remove host attempts.


is cluster defined as gluster as well?


Yes, it is.


that's a very important piece of information...
is there a more detailed exception in the log on the error?
can you uncheck gluster and try to remove it again?

Dominic - are you also using a cluster with gluster service enabled?




what is the status of the host after you confirm shutdown?
any error on log on this specific command?


I have two hosts I want to remove -- one, a failed add that never
completed, and the other, an F17 machine that I subsequently
updated to
F18. So neither of those hosts are actually connected to my engine.
Their status is either non-responsive or maintenance, if I activate,
it's the former, if I set it to maintenance, it's the latter. I
can only
attempt to remove in maintenance mode, so that's where I have them.

There don't appear to be any errors confirming manual reboot.


shireesh - not sure if relevant to this flow, but need to
make sure
removing a host from the engine isn't blocked on gluster
needing to
remove it from the gluster cluster if the host is not
available any
more, or last host in gluster cluster?





Dominic

On Sep 22, 2012 4:19 PM, Eli Mesika
emes...@redhat.com mailto:emes...@redhat.com
mailto:emes...@redhat.com
mailto:emes...@redhat.com wrote:



 - Original Message -
   From: Douglas Landgraf
dougsl...@redhat.com mailto:dougsl...@redhat.com
 mailto:dougsl...@redhat.com
mailto:dougsl...@redhat.com
   To: Dominic Kaiser
domi...@bostonvineyard.org
mailto:domi...@bostonvineyard.org
 mailto:dominic@__bostonvineyard.org
mailto:domi...@bostonvineyard.org
   Cc: Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com
 mailto:emes...@redhat.com
mailto:emes...@redhat.com, users@ovirt.org
mailto:users@ovirt.org
 mailto:users@ovirt.org
mailto:users@ovirt.org, Robert Middleswarth
 rob...@middleswarth.net
mailto:rob...@middleswarth.net
mailto:robert@middleswarth.__net
mailto:rob...@middleswarth.net
   Sent: Friday, September 21, 2012 8:12:27 PM
   Subject: Re: [Users] Is there a way to
force remove a host?
  
   Hi Dominic,
  
   On 09/20/2012 12:11 PM, Dominic Kaiser
  

Re: [Users] Is there a way to force remove a host?

2012-09-25 Thread Itamar Heim

On 09/25/2012 09:44 AM, Shireesh Anjal wrote:

On Tuesday 25 September 2012 03:25 AM, Itamar Heim wrote:

On 09/24/2012 11:53 PM, Jason Brooks wrote:

On Mon 24 Sep 2012 01:24:44 PM PDT, Itamar Heim wrote:

On 09/24/2012 08:49 PM, Dominic Kaiser wrote:

This conversation is fine but if I want to force remove no matter
what I
should be able to from the GUI.  The nodes are no longer available I
want to get rid of them ovirt does not let me.  I can delete from
database but why not from the GUI?  I am sure others may run into this
problem as well.


what happens to the status of the host when you right click on the
host and specify you confirm it was shutdown?


I'm having this same issue. Confirming the host is shut down doesn't
make a difference.

I'm seeing lots of Failed to GlusterHostRemoveVDS, error = Unexpected
exception errors in my engine log that seem to correspond w/ the failed
remove host attempts.


is cluster defined as gluster as well?
what is the status of the host after you confirm shutdown?
any error on log on this specific command?

shireesh - not sure if relevant to this flow, but need to make sure
removing a host from the engine isn't blocked on gluster needing to
remove it from the gluster cluster if the host is not available any
more, or last host in gluster cluster?


Yes, currently the system tries the 'gluster peer detach hostname'
command when trying to remove a server, which fails if the server is
unavailable. This can be enhanced to show the error to user and then
allow 'force remove' which can use the 'gluster peer detach hostname
*force*' command that forcefully removes the server from the cluster,
even if it is not available or has bricks on it.


what if it is the last server in the cluster?
what if there is another server in the cluster but no communication to 
it as well?













Dominic

On Sep 22, 2012 4:19 PM, Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com wrote:



- Original Message -
  From: Douglas Landgraf dougsl...@redhat.com
mailto:dougsl...@redhat.com
  To: Dominic Kaiser domi...@bostonvineyard.org
mailto:domi...@bostonvineyard.org
  Cc: Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com, users@ovirt.org
mailto:users@ovirt.org, Robert Middleswarth
rob...@middleswarth.net mailto:rob...@middleswarth.net
  Sent: Friday, September 21, 2012 8:12:27 PM
  Subject: Re: [Users] Is there a way to force remove a host?
 
  Hi Dominic,
 
  On 09/20/2012 12:11 PM, Dominic Kaiser wrote:
   Sorry I did not explain.
  
   I had tried to remove the host and had not luck
troubleshooting it.
I
   then had removed it and used it for a storage unit
reinstalling
   fedora
   17.  I foolishly thought that I could just remove the host
   manually.
It physically is not there. (My fault I know)  Is there a
way that
   you know of to remove a host brute force.
  
   dk
 
  Fell free to try the below script (not part of official
project) for
  brute force:
 
  (from the engine side)
  # yum install python-psycopg2 -y
  # wget
 

https://raw.github.com/dougsland/misc-rhev/master/engine_force_remove_Host.py



  # (edit the file and change the db password)
  # python ./engine_force_remove_Host.py

Hi , had looked in the Python script you had provided:
First, I must say that handling the database directly may leave DB
in inconsistent state, therefore, if there is no other option, the
database should be backed up prior to this operation.
In addition, I do not like the execution of the SQL statements in
the script.
There is a SP called DeleteVds(v_vds_id UUID) and you should use
that since it encapsulates all details.
For example, your script does not handle permission clean-up as
the
SP does and therefore leaves garbage in the database.
In addition, a failure in your script may leave database in
inconsistent state while the SP is executed in one transaction and
will leave DB consistent.
So, in short I would prefer in this case that the relevant SP will
do the clean-up since this is the one that is used by the code and
that insures (at least I hope so) , that all related entities are
removed as well.


 
  Thanks
 
  --
  Cheers
  Douglas
 
 



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--

@jasonbrooks








___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrade problem.

2012-09-25 Thread Itamar Heim

On 09/25/2012 07:25 AM, Karli Sjöberg wrote:


25 sep 2012 kl. 05.56 skrev Andres Gonzalez:


UPDATE: I could reinstall oVirt and it's working, the problem now is
that I cannot attach the local storage that is where the VMs are.
Is there any way that I can add it ?


This may be this kernel-3.5-issue... If you have installed a 3.5 kernel,
downgrade to 3.4 or 3.3 and I´m rather sure your issues will go away.


but...
this is centos, not fedora and local storage and not nfs?

Andres - these rpms are maintained in a separate repo, not sure they 
passed testing for upgrade.

if you did a re-install, did you preserve the previous db?
what was the upgrade issue in the log?
to use previous VMs, either change the storage domain to an export one 
and import the VMs back, or create another set of these VMs and move 
over the disks in the storage.

still no import existing storage domain feature



/Karli



Thanks!


On Mon, Sep 24, 2012 at 11:49 PM, Andres Gonzalez tuc...@gmail.com
mailto:tuc...@gmail.com wrote:

Hi!

I upgraded from oVirt 3.1.16 to 3.1.19 under CentOS 6.3 (yum
update). The thing is now oVirt is not starting.
The web interfaces says: Service Temporarily Unavailable, the VMs
don't starts (the box is configured as all-in-one)

I have 2 VMs on production. What I can do ?

Thanks.-




--
AGD




Med Vänliga Hälsningar
---
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjob...@slu.se mailto:karli.sjob...@adm.slu.se



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrade problem.

2012-09-25 Thread Karli Sjöberg

25 sep 2012 kl. 12.08 skrev Itamar Heim:

On 09/25/2012 12:01 PM, Karli Sjöberg wrote:

25 sep 2012 kl. 10.25 skrev Itamar Heim:

On 09/25/2012 07:25 AM, Karli Sjöberg wrote:

25 sep 2012 kl. 05.56 skrev Andres Gonzalez:

UPDATE: I could reinstall oVirt and it's working, the problem now is
that I cannot attach the local storage that is where the VMs are.
Is there any way that I can add it ?

This may be this kernel-3.5-issue... If you have installed a 3.5 kernel,
downgrade to 3.4 or 3.3 and I´m rather sure your issues will go away.

but...
this is centos, not fedora and local storage and not nfs?

Yeah, my bad, sorry. Missed the local storage part. But are you saying
that CentOS running kernel 3.5 aren´t having the same issue as Fedora?

no, that would indeed cause the same problem.
it is just that 3.5 isn't normally a centos kernel (i may have missed it being 
mentioned specifically being used here)

No, you hadn´t missed anything, I was just checking. Thanks.




Andres - these rpms are maintained in a separate repo, not sure they
passed testing for upgrade.
if you did a re-install, did you preserve the previous db?
what was the upgrade issue in the log?
to use previous VMs, either change the storage domain to an export one
and import the VMs back, or create another set of these VMs and move
over the disks in the storage.
still no import existing storage domain feature


/Karli


Thanks!


On Mon, Sep 24, 2012 at 11:49 PM, Andres Gonzalez 
tuc...@gmail.commailto:tuc...@gmail.com
mailto:tuc...@gmail.com
mailto:tuc...@gmail.com wrote:

  Hi!

  I upgraded from oVirt 3.1.16 to 3.1.19 under CentOS 6.3 (yum
  update). The thing is now oVirt is not starting.
  The web interfaces says: Service Temporarily Unavailable, the VMs
  don't starts (the box is configured as all-in-one)

  I have 2 VMs on production. What I can do ?

  Thanks.-




--
AGD



Med Vänliga Hälsningar
---
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjob...@slu.semailto:karli.sjob...@slu.se mailto:karli.sjob...@slu.se
mailto:karli.sjob...@adm.slu.se



___
Users mailing list
Users@ovirt.orgmailto:Users@ovirt.org mailto:Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users






Med Vänliga Hälsningar
---
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjob...@slu.semailto:karli.sjob...@slu.se 
mailto:karli.sjob...@adm.slu.se






Med Vänliga Hälsningar
---
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjob...@slu.semailto:karli.sjob...@adm.slu.se

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Call for Agenda Items -- oVirt Weekly Sync 2012-09-26

2012-09-25 Thread Mike Burns
Meeting Time and Place
oVirt Weekly Sync
  * Wednesdays @ 15:00 UTC (may change during DST changes) - always
at 7:00am US Pacific, 10:00am US Eastern.
  * To see in your timezone date -d 'WEDNESDAY 1000 EDT'
  * On IRC: #ovirt on irc.oftc.net

This is the agenda for the 2012-09-26 meeting:

* Status of Next Release (Release Criteria, Target GA date)
* Sub-project reports (engine, vdsm, node, infra)
* Workshops

If you have other topics, please reply to me and I will add them to the
agenda.  If you propose a topic, please be prepared to lead the
discussion during the meeting.

Please note that this week's meeting will be run by Karsten (quaid)
since I'm out of the office.

Thanks

Mike

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Is there a way to force remove a host?

2012-09-25 Thread Shireesh Anjal

On Tuesday 25 September 2012 01:42 PM, Itamar Heim wrote:

On 09/25/2012 09:44 AM, Shireesh Anjal wrote:

On Tuesday 25 September 2012 03:25 AM, Itamar Heim wrote:

On 09/24/2012 11:53 PM, Jason Brooks wrote:

On Mon 24 Sep 2012 01:24:44 PM PDT, Itamar Heim wrote:

On 09/24/2012 08:49 PM, Dominic Kaiser wrote:

This conversation is fine but if I want to force remove no matter
what I
should be able to from the GUI.  The nodes are no longer available I
want to get rid of them ovirt does not let me.  I can delete from
database but why not from the GUI?  I am sure others may run into 
this

problem as well.


what happens to the status of the host when you right click on the
host and specify you confirm it was shutdown?


I'm having this same issue. Confirming the host is shut down doesn't
make a difference.

I'm seeing lots of Failed to GlusterHostRemoveVDS, error = Unexpected
exception errors in my engine log that seem to correspond w/ the 
failed

remove host attempts.


is cluster defined as gluster as well?
what is the status of the host after you confirm shutdown?
any error on log on this specific command?

shireesh - not sure if relevant to this flow, but need to make sure
removing a host from the engine isn't blocked on gluster needing to
remove it from the gluster cluster if the host is not available any
more, or last host in gluster cluster?


Yes, currently the system tries the 'gluster peer detach hostname'
command when trying to remove a server, which fails if the server is
unavailable. This can be enhanced to show the error to user and then
allow 'force remove' which can use the 'gluster peer detach hostname
*force*' command that forcefully removes the server from the cluster,
even if it is not available or has bricks on it.


what if it is the last server in the cluster?
what if there is another server in the cluster but no communication to 
it as well?


A quick look at code tells me that in case of virt, we don't allow 
removing a host if it has  VM(s) in it (even if the host is currently 
not available) i.e. vdsDynamic.getvm_count()  0. Please correct me if 
I'm wrong. If that's correct, and if we want to keep it consistent for 
gluster as well, then we should not allow removing a host if it has 
gluster volume(s) in it. This is how it behaves in case of 'last server 
in cluster' today.


In case of no up server available in the cluster, we can show the error 
and provide a 'force' option that will just remove it from the engine DB 
and will not attempt gluster peer detach.















Dominic

On Sep 22, 2012 4:19 PM, Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com wrote:



- Original Message -
  From: Douglas Landgraf dougsl...@redhat.com
mailto:dougsl...@redhat.com
  To: Dominic Kaiser domi...@bostonvineyard.org
mailto:domi...@bostonvineyard.org
  Cc: Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com, users@ovirt.org
mailto:users@ovirt.org, Robert Middleswarth
rob...@middleswarth.net mailto:rob...@middleswarth.net
  Sent: Friday, September 21, 2012 8:12:27 PM
  Subject: Re: [Users] Is there a way to force remove a host?
 
  Hi Dominic,
 
  On 09/20/2012 12:11 PM, Dominic Kaiser wrote:
   Sorry I did not explain.
  
   I had tried to remove the host and had not luck
troubleshooting it.
I
   then had removed it and used it for a storage unit
reinstalling
   fedora
   17.  I foolishly thought that I could just remove the host
   manually.
It physically is not there. (My fault I know)  Is there a
way that
   you know of to remove a host brute force.
  
   dk
 
  Fell free to try the below script (not part of official
project) for
  brute force:
 
  (from the engine side)
  # yum install python-psycopg2 -y
  # wget
 

https://raw.github.com/dougsland/misc-rhev/master/engine_force_remove_Host.py 





  # (edit the file and change the db password)
  # python ./engine_force_remove_Host.py

Hi , had looked in the Python script you had provided:
First, I must say that handling the database directly may 
leave DB
in inconsistent state, therefore, if there is no other 
option, the

database should be backed up prior to this operation.
In addition, I do not like the execution of the SQL 
statements in

the script.
There is a SP called DeleteVds(v_vds_id UUID) and you should use
that since it encapsulates all details.
For example, your script does not handle permission clean-up as
the
SP does and therefore leaves garbage in the database.
In addition, a failure in your script may leave database in
inconsistent state while the SP is executed in one 
transaction and

will leave DB consistent.
So, in short I would prefer in this case that the relevant SP 
will
do the clean-up since this is the one that is used by the 
code and
that insures (at least I hope so) , 

Re: [Users] Is there a way to force remove a host?

2012-09-25 Thread Itamar Heim

On 09/25/2012 12:32 PM, Shireesh Anjal wrote:

On Tuesday 25 September 2012 01:42 PM, Itamar Heim wrote:

On 09/25/2012 09:44 AM, Shireesh Anjal wrote:

On Tuesday 25 September 2012 03:25 AM, Itamar Heim wrote:

On 09/24/2012 11:53 PM, Jason Brooks wrote:

On Mon 24 Sep 2012 01:24:44 PM PDT, Itamar Heim wrote:

On 09/24/2012 08:49 PM, Dominic Kaiser wrote:

This conversation is fine but if I want to force remove no matter
what I
should be able to from the GUI.  The nodes are no longer available I
want to get rid of them ovirt does not let me.  I can delete from
database but why not from the GUI?  I am sure others may run into
this
problem as well.


what happens to the status of the host when you right click on the
host and specify you confirm it was shutdown?


I'm having this same issue. Confirming the host is shut down doesn't
make a difference.

I'm seeing lots of Failed to GlusterHostRemoveVDS, error = Unexpected
exception errors in my engine log that seem to correspond w/ the
failed
remove host attempts.


is cluster defined as gluster as well?
what is the status of the host after you confirm shutdown?
any error on log on this specific command?

shireesh - not sure if relevant to this flow, but need to make sure
removing a host from the engine isn't blocked on gluster needing to
remove it from the gluster cluster if the host is not available any
more, or last host in gluster cluster?


Yes, currently the system tries the 'gluster peer detach hostname'
command when trying to remove a server, which fails if the server is
unavailable. This can be enhanced to show the error to user and then
allow 'force remove' which can use the 'gluster peer detach hostname
*force*' command that forcefully removes the server from the cluster,
even if it is not available or has bricks on it.


what if it is the last server in the cluster?
what if there is another server in the cluster but no communication to
it as well?


A quick look at code tells me that in case of virt, we don't allow
removing a host if it has  VM(s) in it (even if the host is currently
not available) i.e. vdsDynamic.getvm_count()  0. Please correct me if
I'm wrong. If that's correct, and if we want to keep it consistent for
gluster as well, then we should not allow removing a host if it has
gluster volume(s) in it. This is how it behaves in case of 'last server
in cluster' today.


true, but user can fence the host or confirm shutdown manually, which 
will release all resources on it, then it can be removed.




In case of no up server available in the cluster, we can show the error
and provide a 'force' option that will just remove it from the engine DB
and will not attempt gluster peer detach.


something like that.
i assume the gluster storage will handle this somehow?
















Dominic

On Sep 22, 2012 4:19 PM, Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com wrote:



- Original Message -
  From: Douglas Landgraf dougsl...@redhat.com
mailto:dougsl...@redhat.com
  To: Dominic Kaiser domi...@bostonvineyard.org
mailto:domi...@bostonvineyard.org
  Cc: Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com, users@ovirt.org
mailto:users@ovirt.org, Robert Middleswarth
rob...@middleswarth.net mailto:rob...@middleswarth.net
  Sent: Friday, September 21, 2012 8:12:27 PM
  Subject: Re: [Users] Is there a way to force remove a host?
 
  Hi Dominic,
 
  On 09/20/2012 12:11 PM, Dominic Kaiser wrote:
   Sorry I did not explain.
  
   I had tried to remove the host and had not luck
troubleshooting it.
I
   then had removed it and used it for a storage unit
reinstalling
   fedora
   17.  I foolishly thought that I could just remove the host
   manually.
It physically is not there. (My fault I know)  Is there a
way that
   you know of to remove a host brute force.
  
   dk
 
  Fell free to try the below script (not part of official
project) for
  brute force:
 
  (from the engine side)
  # yum install python-psycopg2 -y
  # wget
 

https://raw.github.com/dougsland/misc-rhev/master/engine_force_remove_Host.py




  # (edit the file and change the db password)
  # python ./engine_force_remove_Host.py

Hi , had looked in the Python script you had provided:
First, I must say that handling the database directly may
leave DB
in inconsistent state, therefore, if there is no other
option, the
database should be backed up prior to this operation.
In addition, I do not like the execution of the SQL
statements in
the script.
There is a SP called DeleteVds(v_vds_id UUID) and you should use
that since it encapsulates all details.
For example, your script does not handle permission clean-up as
the
SP does and therefore leaves garbage in the database.
In addition, a failure in your script may leave database in
inconsistent state while the SP is executed 

Re: [Users] Upgrade problem.

2012-09-25 Thread Andres Gonzalez
On Tue, Sep 25, 2012 at 7:10 AM, Karli Sjöberg karli.sjob...@slu.se wrote:


  25 sep 2012 kl. 12.08 skrev Itamar Heim:

  On 09/25/2012 12:01 PM, Karli Sjöberg wrote:


  25 sep 2012 kl. 10.25 skrev Itamar Heim:


  On 09/25/2012 07:25 AM, Karli Sjöberg wrote:


25 sep 2012 kl. 05.56 skrev Andres Gonzalez:


UPDATE: I could reinstall oVirt and it's working, the problem now is

that I cannot attach the local storage that is where the VMs are.

Is there any way that I can add it ?


This may be this kernel-3.5-issue... If you have installed a 3.5
 kernel,

   downgrade to 3.4 or 3.3 and I´m rather sure your issues will go away.


   but...

  this is centos, not fedora and local storage and not nfs?


  Yeah, my bad, sorry. Missed the local storage part. But are you saying

 that CentOS running kernel 3.5 aren´t having the same issue as Fedora?


 no, that would indeed cause the same problem.
 it is just that 3.5 isn't normally a centos kernel (i may have missed it
 being mentioned specifically being used here)


  No, you hadn´t missed anything, I was just checking. Thanks.




   Andres - these rpms are maintained in a separate repo, not sure they

  passed testing for upgrade.

  if you did a re-install, did you preserve the previous db?

  what was the upgrade issue in the log?

  to use previous VMs, either change the storage domain to an export one

  and import the VMs back, or create another set of these VMs and move

  over the disks in the storage.

  still no import existing storage domain feature



/Karli



 Thanks!



 On Mon, Sep 24, 2012 at 11:49 PM, Andres Gonzalez tuc...@gmail.com

mailto:tuc...@gmail.com tuc...@gmail.com

mailto:tuc...@gmail.com tuc...@gmail.com wrote:


   Hi!


   I upgraded from oVirt 3.1.16 to 3.1.19 under CentOS 6.3 (yum

  update). The thing is now oVirt is not starting.

  The web interfaces says: Service Temporarily Unavailable, the VMs

  don't starts (the box is configured as all-in-one)


   I have 2 VMs on production. What I can do ?


   Thanks.-





 --

AGD




Med Vänliga Hälsningar


 ---

   Karli Sjöberg

   Swedish University of Agricultural Sciences

   Box 7079 (Visiting Address Kronåsvägen 8)

   S-750 07 Uppsala, Sweden

   Phone:  +46-(0)18-67 15 66

   karli.sjob...@slu.se mailto:karli.sjob...@slu.se karli.sjob...@slu.se
 

   mailto:karli.sjob...@adm.slu.se karli.sjob...@adm.slu.se




___

   Users mailing list

   Users@ovirt.org mailto:Users@ovirt.org Users@ovirt.org

   http://lists.ovirt.org/mailman/listinfo/users







  Med Vänliga Hälsningar


 ---

 Karli Sjöberg

 Swedish University of Agricultural Sciences

 Box 7079 (Visiting Address Kronåsvägen 8)

 S-750 07 Uppsala, Sweden

 Phone:  +46-(0)18-67 15 66

 karli.sjob...@slu.se 
 mailto:karli.sjob...@adm.slu.sekarli.sjob...@adm.slu.se
 




   Hi !! First, thanks all for the replies.

As I didn't know hoy to convert an storage domain to export, what I did is
to reinstall the all-in-one, create the 2 VMs and then make a dd from the
old image to the new one created.

Just in case, how can I convert an storage domain to an export ?

Thanks.
Regards.-


-- 
AGD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrade problem.

2012-09-25 Thread Itamar Heim

On 09/25/2012 12:56 PM, Andres Gonzalez wrote:

On Tue, Sep 25, 2012 at 7:10 AM, Karli Sjöberg karli.sjob...@slu.se
mailto:karli.sjob...@slu.se wrote:


25 sep 2012 kl. 12.08 skrev Itamar Heim:


On 09/25/2012 12:01 PM, Karli Sjöberg wrote:


25 sep 2012 kl. 10.25 skrev Itamar Heim:


On 09/25/2012 07:25 AM, Karli Sjöberg wrote:


25 sep 2012 kl. 05.56 skrev Andres Gonzalez:


UPDATE: I could reinstall oVirt and it's working, the problem
now is
that I cannot attach the local storage that is where the VMs are.
Is there any way that I can add it ?


This may be this kernel-3.5-issue... If you have installed a
3.5 kernel,
downgrade to 3.4 or 3.3 and I´m rather sure your issues will go
away.


but...
this is centos, not fedora and local storage and not nfs?


Yeah, my bad, sorry. Missed the local storage part. But are you
saying
that CentOS running kernel 3.5 aren´t having the same issue as
Fedora?


no, that would indeed cause the same problem.
it is just that 3.5 isn't normally a centos kernel (i may have
missed it being mentioned specifically being used here)


No, you hadn´t missed anything, I was just checking. Thanks.







Andres - these rpms are maintained in a separate repo, not sure they
passed testing for upgrade.
if you did a re-install, did you preserve the previous db?
what was the upgrade issue in the log?
to use previous VMs, either change the storage domain to an
export one
and import the VMs back, or create another set of these VMs and move
over the disks in the storage.
still no import existing storage domain feature



/Karli



Thanks!


On Mon, Sep 24, 2012 at 11:49 PM, Andres Gonzalez
tuc...@gmail.com mailto:tuc...@gmail.com
mailto:tuc...@gmail.com
mailto:tuc...@gmail.com wrote:

  Hi!

  I upgraded from oVirt 3.1.16 to 3.1.19 under CentOS 6.3 (yum
  update). The thing is now oVirt is not starting.
  The web interfaces says: Service Temporarily Unavailable,
the VMs
  don't starts (the box is configured as all-in-one)

  I have 2 VMs on production. What I can do ?

  Thanks.-




--
AGD




Med Vänliga Hälsningar

---
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66 tel:%2B46-%280%2918-67%2015%2066
karli.sjob...@slu.se mailto:karli.sjob...@slu.se
mailto:karli.sjob...@slu.se
mailto:karli.sjob...@adm.slu.se



___
Users mailing list
Users@ovirt.org mailto:Users@ovirt.org mailto:Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users








Med Vänliga Hälsningar

---
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66 tel:%2B46-%280%2918-67%2015%2066
karli.sjob...@slu.se mailto:karli.sjob...@slu.se
mailto:karli.sjob...@adm.slu.se





Hi !! First, thanks all for the replies.

As I didn't know hoy to convert an storage domain to export, what I did
is to reinstall the all-in-one, create the 2 VMs and then make a dd
from the old image to the new one created.

Just in case, how can I convert an storage domain to an export ?


hacking its metadata, and it wouldn't have saved you copying the data.
(not sure why you dd'd instead of mv'd in your case)



Thanks.
Regards.-


--
AGD



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Call for Agenda Items -- oVirt Weekly Sync 2012-09-26

2012-09-25 Thread Itamar Heim

On 09/25/2012 12:17 PM, Mike Burns wrote:

Meeting Time and Place
oVirt Weekly Sync
   * Wednesdays @ 15:00 UTC (may change during DST changes) - always
at 7:00am US Pacific, 10:00am US Eastern.
   * To see in your timezone date -d 'WEDNESDAY 1000 EDT'
   * On IRC: #ovirt on irc.oftc.net

This is the agenda for the 2012-09-26 meeting:

 * Status of Next Release (Release Criteria, Target GA date)
 * Sub-project reports (engine, vdsm, node, infra)
 * Workshops

If you have other topics, please reply to me and I will add them to the
agenda.  If you propose a topic, please be prepared to lead the
discussion during the meeting.

Please note that this week's meeting will be run by Karsten (quaid)
since I'm out of the office.

Thanks

Mike

___
Board mailing list
bo...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/board



this week the meeting falls on Yom Kipur, which is probably the only day 
even emails aren't read by many of my team.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Call for Agenda Items -- oVirt Weekly Sync 2012-09-26

2012-09-25 Thread Mike Burns


- Original Message -
 On 09/25/2012 12:17 PM, Mike Burns wrote:
  Meeting Time and Place
  oVirt Weekly Sync
 * Wednesdays @ 15:00 UTC (may change during DST changes) -
 always
  at 7:00am US Pacific, 10:00am US Eastern.
 * To see in your timezone date -d 'WEDNESDAY 1000
 EDT'
 * On IRC: #ovirt on irc.oftc.net
 
  This is the agenda for the 2012-09-26 meeting:
 
   * Status of Next Release (Release Criteria, Target GA
   date)
   * Sub-project reports (engine, vdsm, node, infra)
   * Workshops
 
  If you have other topics, please reply to me and I will add them to
  the
  agenda.  If you propose a topic, please be prepared to lead the
  discussion during the meeting.
 
  Please note that this week's meeting will be run by Karsten (quaid)
  since I'm out of the office.
 
  Thanks
 
  Mike
 
  ___
  Board mailing list
  bo...@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/board
 
 
 this week the meeting falls on Yom Kipur, which is probably the only
 day
 even emails aren't read by many of my team.

Understood, but the discussions over the last couple weeks around various other 
topics that aren't release related lead me to thinking that the meeting can 
still be productive.  I propose that we drop and sub-project reports and 
release status sections.  The time can instead be spent on the upcoming 
workshops, the new site design and perhaps wiki gardening efforts.

Mike

 ___
 Board mailing list
 bo...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/board
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Is there a way to force remove a host?

2012-09-25 Thread Shireesh Anjal

On Tuesday 25 September 2012 04:04 PM, Itamar Heim wrote:

On 09/25/2012 12:32 PM, Shireesh Anjal wrote:

On Tuesday 25 September 2012 01:42 PM, Itamar Heim wrote:

On 09/25/2012 09:44 AM, Shireesh Anjal wrote:

On Tuesday 25 September 2012 03:25 AM, Itamar Heim wrote:

On 09/24/2012 11:53 PM, Jason Brooks wrote:

On Mon 24 Sep 2012 01:24:44 PM PDT, Itamar Heim wrote:

On 09/24/2012 08:49 PM, Dominic Kaiser wrote:

This conversation is fine but if I want to force remove no matter
what I
should be able to from the GUI.  The nodes are no longer 
available I

want to get rid of them ovirt does not let me.  I can delete from
database but why not from the GUI?  I am sure others may run into
this
problem as well.


what happens to the status of the host when you right click on the
host and specify you confirm it was shutdown?


I'm having this same issue. Confirming the host is shut down doesn't
make a difference.

I'm seeing lots of Failed to GlusterHostRemoveVDS, error = 
Unexpected

exception errors in my engine log that seem to correspond w/ the
failed
remove host attempts.


is cluster defined as gluster as well?
what is the status of the host after you confirm shutdown?
any error on log on this specific command?

shireesh - not sure if relevant to this flow, but need to make sure
removing a host from the engine isn't blocked on gluster needing to
remove it from the gluster cluster if the host is not available any
more, or last host in gluster cluster?


Yes, currently the system tries the 'gluster peer detach hostname'
command when trying to remove a server, which fails if the server is
unavailable. This can be enhanced to show the error to user and then
allow 'force remove' which can use the 'gluster peer detach hostname
*force*' command that forcefully removes the server from the cluster,
even if it is not available or has bricks on it.


what if it is the last server in the cluster?
what if there is another server in the cluster but no communication to
it as well?


A quick look at code tells me that in case of virt, we don't allow
removing a host if it has  VM(s) in it (even if the host is currently
not available) i.e. vdsDynamic.getvm_count()  0. Please correct me if
I'm wrong. If that's correct, and if we want to keep it consistent for
gluster as well, then we should not allow removing a host if it has
gluster volume(s) in it. This is how it behaves in case of 'last server
in cluster' today.


true, but user can fence the host or confirm shutdown manually, which 
will release all resources on it, then it can be removed.


I see. In that case, we can just remove the validation and allow 
removing the host irrespective of whether it contains volume(s) or not. 
Since it's the only host in the cluster, this won't cause any harm.






In case of no up server available in the cluster, we can show the error
and provide a 'force' option that will just remove it from the engine DB
and will not attempt gluster peer detach.


something like that.
i assume the gluster storage will handle this somehow?


What would you expect gluster storage to do in such a case? If all 
servers are not accessible to a gluster client, the client can't 
read/write from/to volumes of the cluster. Cluster management operations 
in gluster (like removing a server from the cluster) are always done 
from one of the servers of the cluster. So if no servers are available, 
nothing can be done. Vijay can shed more light on this if required.


Assuming that some of the servers come up at a later point in time, they 
would continue to consider this (removed from engine) server as one of 
the peers. This would create an inconsistency between actual gluster 
configuration and the engine DB. This, however can be handled once we 
have a feature to sync configuration with gluster (this is WIP). This 
feature will automatically identify such servers, and allow the user to 
either import them to engine, or remove (peer detach) from the gluster 
cluster.



















Dominic

On Sep 22, 2012 4:19 PM, Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com wrote:



- Original Message -
  From: Douglas Landgraf dougsl...@redhat.com
mailto:dougsl...@redhat.com
  To: Dominic Kaiser domi...@bostonvineyard.org
mailto:domi...@bostonvineyard.org
  Cc: Eli Mesika emes...@redhat.com
mailto:emes...@redhat.com, users@ovirt.org
mailto:users@ovirt.org, Robert Middleswarth
rob...@middleswarth.net mailto:rob...@middleswarth.net
  Sent: Friday, September 21, 2012 8:12:27 PM
  Subject: Re: [Users] Is there a way to force remove a host?
 
  Hi Dominic,
 
  On 09/20/2012 12:11 PM, Dominic Kaiser wrote:
   Sorry I did not explain.
  
   I had tried to remove the host and had not luck
troubleshooting it.
I
   then had removed it and used it for a storage unit
reinstalling
   fedora
   17.  I foolishly thought that I could just remove the 
host

   manually.
 

Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the python sdk.

2012-09-25 Thread Steve Gordon
- Original Message -
 From: Don Dupuis donds...@gmail.com
 To: Itamar Heim ih...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, September 24, 2012 8:08:40 PM
 Subject: Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the 
 python sdk.
 
 I know the layout of the xml stuff, but I am trying to use the python
 sdk code such as an example
 
 vm_os = params.OperatingSystems(boot=[params.Boot(dev=hd)])
 
 Don

I think you want params.CpuTopology. I can't work out how to actually add that 
to the VM creation request though, I assigned it to the cpu parameter and 
didn't get an error but I also didn't get a VM with the assigned number of 
cores/sockets.

Steve
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the python sdk.

2012-09-25 Thread Steve Gordon
- Original Message -
 From: Don Dupuis donds...@gmail.com
 To: Steve Gordon sgor...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, September 25, 2012 11:03:44 AM
 Subject: Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the 
 python sdk.
 
 Steve
 
 THANKS!!!  That did the trick.
 
 I was originally trying it like this
 
 vm_cpu = params.CPU(topology=[params.CpuTopology(cores=4,
 sockets=1)])
 
 
 Don

In the params.OperatingSystem(boot=[params.Boot(dev=hd)]) example the reason 
you pass a list (denoted by the square brackets) is that the VM can have a 
number of boot devices which will be tried in order. A VM can only have one CPU 
topology though which is why the topology argument shouldn't be a list. That is 
my understanding anyway ;).

Steve
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the python sdk.

2012-09-25 Thread Don Dupuis
Steve

Thanks for explaining it. I am still new to python.

Don

On Tue, Sep 25, 2012 at 10:32 AM, Steve Gordon sgor...@redhat.com wrote:
 - Original Message -
 From: Don Dupuis donds...@gmail.com
 To: Steve Gordon sgor...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, September 25, 2012 11:03:44 AM
 Subject: Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the 
 python sdk.

 Steve

 THANKS!!!  That did the trick.

 I was originally trying it like this

 vm_cpu = params.CPU(topology=[params.CpuTopology(cores=4,
 sockets=1)])


 Don

 In the params.OperatingSystem(boot=[params.Boot(dev=hd)]) example the 
 reason you pass a list (denoted by the square brackets) is that the VM can 
 have a number of boot devices which will be tried in order. A VM can only 
 have one CPU topology though which is why the topology argument shouldn't be 
 a list. That is my understanding anyway ;).

 Steve
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] I can't figure out how to add a user?

2012-09-25 Thread Alan Johnson
First off, oVirt noob alert.  That said, I have been able to figure out and
over come most of my issues getting oVirt running on CentOS 6.3 the various
documentation that is available, including this list's archives for the
last few months.  (Side question: I haven't found a good way to search the
archives short of using site: within google search, but that does not seem
to work so well, so I have been relying on gmail's collection of the
messages since I subscribed a few months ago.  Is there a better way?)

Anyway, this one seems like it should be so simple that I feel like I must
be missing some thing painfully obvious.  That is, I don't seem to be able
to create a user.  The GUI's add button on the user tab just lets me search
existing users, but does not provide anywhere to enter new user info.  I
have successfully added the admin@internal user several times while
bumbling around with that interface, but this is not terribly helpful since
it has always been there.  To what I have added it, I am am not entirely
clear.  I don't see anything in the getting started guide, and the
administrator guide just walks me through the same useless steps I
mentioned above in the user tab.

Any nudge in the right direction would be greatly appreciated.  I'll even
accept dope slaps at this point if warranted. =)

Thanks in advance for your time and consideration.

___
Alan Johnson
a...@datdec.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] nested KVM

2012-09-25 Thread Mark Wu

On 09/26/2012 12:58 AM, Nathanaël Blanchet wrote:

Hello,

I've tried many times to run a node as a guest in ovirt following 
http://wiki.ovirt.org/wiki/Vdsm_Developers#Running_Node_as_guest_-_Nested_KVM 
. The result is that I'm able to register such a host in engine, but 
it is impossible to start any vm on it. If I boot on an ISO, I can see 
the first prompt and move between the items. But since I begin the 
installation I have a blank screen and the vm goes into pause mode in 
vit-manager. Then I have no way else than rebooting the hypervisor 
guest because it is impossible to resume. When I get logs on the real 
host, I can find this :
arning : x86Decode:1306 : Preferred CPU model Westmere not allowed by 
hypervisor; closest supported model will be used
Sep 25 17:11:59 khamsin libvirtd[23053]: 2012-09-25 15:11:59.384+: 
23054: warning : x86Decode:1306 : Preferred CPU model Westmere not 
allowed by hypervisor; closest supported model will be used
Sep 25 17:12:19 khamsin libvirtd[23053]: 2012-09-25 15:12:19.150+: 
23055: warning : x86Decode:1306 : Preferred CPU model Westmere not 
allowed by hypervisor; closest supported model will be used
Sep 25 17:45:48 khamsin libvirtd[23053]: 2012-09-25 15:45:48.342+: 
23058: warning : x86Decode:1306 : Preferred CPU model Westmere not 
allowed by hypervisor; closest supported model will be used
Sep 25 18:07:05 khamsin libvirtd[23053]: 2012-09-25 16:07:05.834+: 
23058: warning : x86Decode:1306 : Preferred CPU model Nehalem not 
allowed by hypervisor; closest supported model will be used
Sep 25 18:44:47 khamsin libvirtd[23053]: 2012-09-25 16:44:47.340+: 
23057: warning : x86Decode:1306 : Preferred CPU model Penryn not 
allowed by hypervisor; closest supported model will be used


As you can see, I have tried many cpu type for launching this guest 
hypervisor, but none of them is accepted by the hypervisor. Plus, I've 
modified each time the family type in the cluster tab, but it is the 
same.

On the hist:
#virsh capabilities gives
cpu
archx86_64/arch
modelWestmere/model
vendorIntel/vendor

Thanks for your help



What does the command 'qemu-kvm -cpu ?' give ?   Could you please try 
the following guest cpu definition?


*
cpu match='exact'
  modelcore2duo/model
 feature policy='require' name='vmx'/
/cpu


*

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users