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

x86_64
Westmere
Intel

Thanks for your help



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


*

  core2duo
 



*

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


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

2012-09-25 Thread Tim Hildred
Hey Alan;

I think the missing piece might be a directory server of some kind (Active 
Directory, IPA, RHDS, and I think TivoliDS are the ones that work). You have to 
link oVirt engine up with your directory server, and add users to the directory 
server first before you can search and add them in oVirt. 

You link your oVirt engine to a directory server with the engine-manage-domains 
tool from the command line on your engine server. 

The command you'll use is something like:

engine-manage-domains -action=add -domain=example.com -user=admin -provider=IPA 
-interactive

That adds a domain called example.com, using user admin with ldap server type 
IPA and prompts you for a password. 

Hope that helps. 

Tim Hildred, RHCE
Content Author II - Engineering Content Services, Red Hat, Inc.
Brisbane, Australia
Email: thild...@redhat.com
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred

- Original Message -
> From: "Alan Johnson" 
> To: "users" 
> Sent: Wednesday, September 26, 2012 7:36:40 AM
> Subject: [Users] I can't figure out how to add a user?
> 
> 
> 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
> 
___
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


[Users] nested KVM

2012-09-25 Thread Nathanaël Blanchet

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

  x86_64
  Westmere
  Intel

Thanks for your help

--
Nathanaël Blanchet

Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [Users] general (totally noob) questions...

2012-09-25 Thread Michael Hauber
On Sunday, September 23, 2012 03:13:56 PM Itamar Heim wrote:
> On 09/22/2012 08:00 AM, Michael Hauber wrote:
>>
<>
> > 
> > 
> > Questions:
> > 
> > 1.  As I understand it, a N-to-N configuration means that there will be
> > load balancing between the nodes as well as failover.  Is the load
> > balancing something that is manual (I have to monitor/balance the load
> > manually, or is it done automatically?)
> 
> ovirt has load balancing based on cpu load for either power saving or
> even distribution.
> more types and custom scheduling are coming.
> 
> > 2.  If it is done automatically, how do the loads get split up?  Is the
> > virtual machine itself the unit of load that transfers from one node to
> > another or does it go so far as balancing services running inside those
> > virtual machines?
> 
> VM is the unit of load.
> 
> > 3.  For the fail-over, is it seemless in the sense that the user's
> > connections don't get reset or is there a short period of down-time
> > before the service is available again?  While this isn't a big issue for
> > me, it is something that I've been wondering about.
> 
> live migration is seamless.
> failover is not, since the VM/host failed. engine needs to detect it,
> give some grace time, then start the VM on another host.
> 
> > 4.  Fibre channel or FCOE?  (I've spent entire evenings trying to get a
> > straight answer through google searches, but there seem to be way too many
> > agendas).  Being that one of the virtual servers will be a media server
> > for
> > the televisions (new addition), my worry is lag-time (I would like to
> > serve at least 5 televisions without lag-time).  The array will also
> > support things like file server, space for about 2-dozen www (family
> > pages (lots of pictures)), space for mail, space for backups
> > (rSync,Amanda), ISO boots, etc.
> I am obviously out of my element here for what i use for my family :)
> why FC and not Ethernet?
> 

First, thank you for helping me understand this a bit better.

Why FC...  I don't know?  I don't know how to figure out what kind of load it 
will see, so I figured that I would try for the fastest option I could afford.  
But like I said, some people swear by iSCSI, others by FC, and others by FCOE.  
Being that I've never gotten a chance to experiment with any of them (so far, 
I've just used a NFS/SMB server).

I don't know if it helps to explain or not, but the following two links show 
the network I would like to set up.  The first is the physical configuration.
The second shows the virtual machines that the cluster will run.

https://mikesplace.valleygate.net/temp/VIIgate_New_Physical.png
https://mikesplace.valleygate.net/temp/VIIgate_New_Node_VMs.png

Being that it's all going to be fiber and if NAS is enough, can I also assume 
that it's safe to consolidate the storage and the "cluster" switch and 
seperate them into two vlans without any kind of performance hit (don't know 
how busy the back-channel network would be).

Thanks again for the help.

mchauber




___
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  wrote:
> - Original Message -
>> From: "Don Dupuis" 
>> To: "Steve Gordon" 
>> 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] Increase storage domain

2012-09-25 Thread Alan Johnson
On Sat, Aug 11, 2012 at 5:56 PM, Ayal Baron  wrote:

> - Original Message -
> > Hi,
> >
> > pvresize doesn't work, still same size.
> >
> > How do i disconnect the iscsi session?
> >
> > Between disconnecting and ovirt connect again, will i loose
> > connection to my VMs?
>
> Of course you would.  Your VMs would automatically pause.
> I doubt this is what you want.
> What you can do prior to running pvresize is run:
> iscsiadm -m session -R
> Hope this helps.
>
>
Did anyone have any success with this?  I was unable to get pvdisplay to
show the new size until I rebooted the hosts and ran pvresize.  I started
with a 1TiB volume on our Equallogics SAN and set it to 5TiB.  I put my
non-SPM host into maintenance and ran pvresize on the SPM.  I did not
expect this to work because of previous experience and this thread.
 pvresize said it resized, but pvdisplay showed 1023GiB instead of 1TB, so
it shrunk it a tiny bit?

Next, I tried `iscsiadm -m session -R` and then pvresize which said it
resized 0 PVs and pvdisplay confirms no change.  I did a `iscsiadm -m node
-T  -u` then `iscsiadm -m node -T  -l` followed by pvdisplay.
 pvdisplay spewed an IO error message for the PV and each LV and I noticed
that the device had changed from /dev/mapper/ to /dev/sdf, which
explains why it thought the PV and all the other LVs were missing.  I
should have deactivated the LVs/VG/PV first I supposed, and then
reactivated them afterwords.

Anyway, this gave me pause, but I'm still pre-production, so I went ahead
and did a pvresize, which did nothing,and pvdisplay gave the same output,
including errors, as before.  So, I rebooted the host, activated the host,
ran pvresize on the host, and all is as desired.

I then rebooted my other host and all was well when it came up.  I can deal
with rebooting each host if necessary, but it is certainly not ideal.  Has
anyone worked out the correct steps make this happen without rebooting the
hosts and minimal VM interruption?  I might try it a couple more times if
not.

The bigger question is, how do I get the engine to see the new size?  It is
still seeing 1TB.  Stopping and starting (why no restart on
/etc/init.d/ovirt-engine?) did not cause a refresh.  Oop!  There it went,
just as I was typing this, I saw it change in the window behind this one.
 So, was it just a cache time out, or did I need to restart the engine as
well?

An ideal setup would be for the engine to detect the change and run the
necessary commands on each host.  If auto detection is not reasonable, an
option in the GUI to tell the engine the LUN has changed would be nearly as
good.

Alternately, would it just be better to create a new LUN on the iSCSI
target and add it to the storage domain?  Is that even doable?  Certainly
it is as simple as adding a new PV to the VG in LVM, but does the
engine/GUI support it?  It seems a bit more messy than growing an existing
domain from an iSCSI target point of view, but are there any technical down
sides?

Eventually, I think I'll look into filing a feature request, so I would
appreciate if some one could point me in the right direction, but let's
hash out what makes sense here before doing that.
___
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" 
> To: "Steve Gordon" 
> 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!!!  That did the trick.

I was originally trying it like this

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


Don

On Tue, Sep 25, 2012 at 9:50 AM, Steve Gordon  wrote:
> - Original Message -
>> From: "Steve Gordon" 
>> To: "Don Dupuis" 
>> Cc: users@ovirt.org
>> Sent: Tuesday, September 25, 2012 10:44:31 AM
>> Subject: Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the 
>> python sdk.
>>
>> - Original Message -
>> > From: "Don Dupuis" 
>> > To: "Itamar Heim" 
>> > 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
>
> Worked it out. You need to define the CPU topology parameters:
>
> vm_cpu_top = params.CpuTopology(cores=2, sockets=2)
>
> Then use that to define the CPU parameters:
>
> vm_cpu = params.CPU(topology=vm_cpu_top)
>
> Finally you pass that in your VM creation request (assume here that I have 
> set the other vm_* variables referenced earlier):
>
> vm_request = params.VM(name=vm_name, memory=vm_memory, 
> cluster=vm_cluster, template=vm_template, os=vm_os, cpu=vm_cpu)
> vm = api.vms.add(vm_request)
>
> 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: "Steve Gordon" 
> To: "Don Dupuis" 
> Cc: users@ovirt.org
> Sent: Tuesday, September 25, 2012 10:44:31 AM
> Subject: Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the 
> python sdk.
> 
> - Original Message -
> > From: "Don Dupuis" 
> > To: "Itamar Heim" 
> > 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

Worked it out. You need to define the CPU topology parameters:

vm_cpu_top = params.CpuTopology(cores=2, sockets=2)

Then use that to define the CPU parameters:

vm_cpu = params.CPU(topology=vm_cpu_top)

Finally you pass that in your VM creation request (assume here that I have set 
the other vm_* variables referenced earlier):

vm_request = params.VM(name=vm_name, memory=vm_memory, cluster=vm_cluster, 
template=vm_template, os=vm_os, cpu=vm_cpu)
vm = api.vms.add(vm_request)

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

That is exactly the same outcome that I was getting.

Don

On Tue, Sep 25, 2012 at 9:44 AM, Steve Gordon  wrote:
> - Original Message -
>> From: "Don Dupuis" 
>> To: "Itamar Heim" 
>> 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" 
> To: "Itamar Heim" 
> 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] Upgrade problem.

2012-09-25 Thread Andres Gonzalez
On Tue, Sep 25, 2012 at 8:04 AM, Itamar Heim  wrote:

> On 09/25/2012 12:56 PM, Andres Gonzalez wrote:
>
>> On Tue, Sep 25, 2012 at 7:10 AM, Karli Sjöberg > > 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
>>> 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 
>>
>> 
>> 
>>
>>
>>
>> __**_
>> Users mailing list
>> 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 
 


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


Yes, probably copy the image and rename it could be better.

-- 
AGD
___
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 '
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 
*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" mailto:emes...@redhat.com>> wrote:



- Original Message -
 > From: "Douglas Landgraf" mailto:dougsl...@redhat.com>>
 > To: "Dominic Kaiser" mailto:domi...@bostonvineyard.org>>
 > Cc: "Eli Mesika" mailto:emes...@redhat.com>>, users@ovirt.org
, "Robert Middleswarth"
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
 > > y

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





___
Users mailing list
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 






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] Upgrade problem.

2012-09-25 Thread Andres Gonzalez
On Tue, Sep 25, 2012 at 7:10 AM, Karli Sjöberg  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 
>
>
>> 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  >
>
>   
>
>
>
>
>___
>
>   Users mailing list
>
>   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 
>  >
>
>
>
>
>   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] 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 '
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 
*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" mailto:emes...@redhat.com>> wrote:



- Original Message -
 > From: "Douglas Landgraf" mailto:dougsl...@redhat.com>>
 > To: "Dominic Kaiser" mailto:domi...@bostonvineyard.org>>
 > Cc: "Eli Mesika" mailto:emes...@redhat.com>>, users@ovirt.org
, "Robert Middleswarth"
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

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 '
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 
*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" mailto:emes...@redhat.com>> wrote:



- Original Message -
 > From: "Douglas Landgraf" mailto:dougsl...@redhat.com>>
 > To: "Dominic Kaiser" mailto:domi...@bostonvineyard.org>>
 > Cc: "Eli Mesika" mailto:emes...@redhat.com>>, users@ovirt.org
, "Robert Middleswarth"
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.


 >
 > Th

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




___
Users mailing list
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 







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

___
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: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)






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




___
Users mailing list
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 




___
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. 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?


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




___
Users mailing list
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

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



___
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] 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 '
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 
*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" mailto:emes...@redhat.com>> wrote:



- Original Message -
 > From: "Douglas Landgraf" mailto:dougsl...@redhat.com>>
 > To: "Dominic Kaiser" mailto:domi...@bostonvineyard.org>>
 > Cc: "Eli Mesika" mailto:emes...@redhat.com>>, users@ovirt.org
, "Robert Middleswarth"
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] Is there a way to force remove a host?

2012-09-25 Thread Shireesh Anjal

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 ' 
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  
*force*' command that forcefully removes the server from the cluster, 
even if it is not available or has bricks on it.











Dominic

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



- Original Message -
 > From: "Douglas Landgraf" mailto:dougsl...@redhat.com>>
 > To: "Dominic Kaiser" mailto:domi...@bostonvineyard.org>>
 > Cc: "Eli Mesika" mailto:emes...@redhat.com>>, users@ovirt.org
, "Robert Middleswarth"
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