[Users] Users Digest, Vol 8, Issue 29

Christian Espinoza cespinoza at intsercom.cl
Wed May 9 20:52:32 UTC 2012


Hello Andrew - Keith, I noticed that on my Ovirt node server the nfs folder
are mounted with nfs4:

[root at int-ovn-f01 ~]# mount | grep iso
int-ovm-f01:/iso/ on /rhev/data-center/mnt/int-ovm-f01:_iso type nfs4
(rw,relatime,vers=4,rsize=1048576,wsize=1048576,namlen=255,soft,nosharecache
,proto=tcp,port=0,timeo=600,retrans=6,sec=sys,clientaddr=10.0.0.11,minorvers
ion=0,local_lock=none,addr=10.0.0.10)

I have two servers, one built with overt node iso image, and the engine
server, the 
Nfs iso folder are at the engine server, and mounted on the ovirt node
server... 

Christian Espinoza





-----Mensaje original-----
De: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] En nombre de
users-request at ovirt.org
Enviado el: miércoles, 09 de mayo de 2012 14:35
Para: users at ovirt.org
Asunto: Users Digest, Vol 8, Issue 29

Send Users mailing list submissions to
	users at ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
	users-request at ovirt.org

You can reach the person managing the list at
	users-owner at ovirt.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Users digest..."


Today's Topics:

   1. Re: Webadmin doesn't show iso images uploaded (Andrew Cathrow)
   2. Re: Static IP for VMs (Itamar Heim)
   3. image ownership (Jacob Wyatt)
   4. Default storage pool won't activate after reboot (Ian Levesque)
   5. Re: Default storage pool won't activate after reboot (Jacob Wyatt)
   6. Re: Default storage pool won't activate after reboot
      (Ian Levesque)
   7. Re: Default storage pool won't activate after reboot (Haim Ateya)
   8. Re: Default storage pool won't activate after reboot
      (Ian Levesque)
   9. Upcoming oVirt Workshop Information (Leslie Hawthorn)
  10. Re: Default storage pool won't activate after reboot (Haim Ateya)


----------------------------------------------------------------------

Message: 1
Date: Wed, 09 May 2012 12:13:35 -0400 (EDT)
From: Andrew Cathrow <acathrow at redhat.com>
To: users at ovirt.org
Subject: Re: [Users] Webadmin doesn't show iso images uploaded
Message-ID:
	
<09ac2922-b73a-468b-8a6c-ae9f7ee6caea at zmail07.collab.prod.int.phx2.redhat.co
m>
	
Content-Type: text/plain; charset=utf-8



----- Original Message -----
> From: "Keith Robertson" <kroberts at redhat.com>
> To: users at ovirt.org
> Sent: Wednesday, May 9, 2012 11:44:16 AM
> Subject: Re: [Users] Webadmin doesn't show iso images uploaded
> 
> Have you tried the suggestions in [1]?
> 
> [1] http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues
> 
> On 05/09/2012 12:30 PM, Christian Espinoza wrote:
> > Hello, please could someone helpme?
> > I can?t see two iso images that I uploaded to my iso domain The 
> > domain is active:

Presuming no other issues (selinux, etc) then on the main storage tab select
the ISO domain and on the Images subtab if it's not listed there hit the
refresh button.
Did you upload via iso uploader or copy manually?



> >
> > # engine-iso-uploader list
> > Please provide the REST API password for the admin at internal oVirt 
> > Engine user (CTRL+D to abort):
> > ISO Storage Domain Name   | Datacenter                | ISO Domain
> > Status
> > iso                       | Default                   | active
> >
> > # ls -l
> > total 1042836
> > -rw-r-----. 1 vdsm kvm 337315840 may  4 13:56 
> > CentOS-6.2-x86_64-minimal.iso
> > -rw-r-----  1 vdsm kvm 730540032 may  9 09:22 
> > Elastix-2.3.0-x86_64-bin-02abr2012.iso
> >
> > #pwd
> > /iso/09f424ea-3d51-4445-b7e3-90b7ebb4ae64/images/11111111-1111-1111-
> > 1111-111111111111
> >
> > I can't use these images, because webadmin doesn't show it...
> >
> > What can I do?  - How can I delete cleanly these files?
> >
> > Thanks in advance
> >
> > Christian Espinoza
> >
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


------------------------------

Message: 2
Date: Wed, 09 May 2012 21:08:24 +0300
From: Itamar Heim <iheim at redhat.com>
To: Shu Ming <shuming at linux.vnet.ibm.com>
Cc: Rahul Upadhyaya <rakrup at gmail.com>, users at ovirt.org
Subject: Re: [Users] Static IP for VMs
Message-ID: <4FAAB298.4020608 at redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 05/09/2012 04:43 PM, Shu Ming wrote:
>
>
> On 2012-5-9 18:03, Itamar Heim wrote:
>> On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:
>>> Hi folks,
>>>
>>> Is there a way to assign a static IP while provisioning a new VM?
>>> I do not want to individually go to the console to specify the 
>>> Static IP address. Is there any means for specifying that from the 
>>> management UI/ovirt-python-binding to do the same ?
>>> --
>>
>> not yet. ovirt still doesn't handle ip assignments.
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
> Can we create a IP pool in engine and make VDSM to request the IP. 
> Then VDSM assign the IP to guest agent to do the network setup.
>
>

not yet.
engine only deals today with mac address pools, which you can use dhcp to
assign.



------------------------------

Message: 3
Date: Wed, 9 May 2012 18:08:54 +0000
From: Jacob Wyatt <jwyatt at ggc.edu>
To: "users at ovirt.org" <users at ovirt.org>
Subject: [Users] image ownership
Message-ID:
	
<952F16E72BC7784DA7C1B0C3317828DE302CA067 at BY2PRD0410MB366.namprd04.prod.outl
ook.com>
	
Content-Type: text/plain; charset="us-ascii"

Greetings all,

I've set up a new oVirt installation and it's behaving strangely with regard
to virtual machine image files on the NFS storage.  Whenever I shut down a
machine it's changing the owner of the image to root:root (0:0) instead of
vdsm:kvm (36:36).  After that it can't start or do anything with that image
again until I manually change the ownership back.  Everything works fine
again until I shut the machine down.  I assume this is some mistake I've
made in installation.  I did not have this problem in the test environment,
but I'm stumped as to what went wrong.

-Jacob


------------------------------

Message: 4
Date: Wed, 9 May 2012 14:31:18 -0400
From: Ian Levesque <ian at crystal.harvard.edu>
To: users at ovirt.org
Subject: [Users] Default storage pool won't activate after reboot
Message-ID: <A19B2257-A732-44F9-B517-3A2968D64C69 at crystal.harvard.edu>
Content-Type: text/plain; charset=us-ascii

Hello,

Since a recent reboot, my default data storage pool has been inactive and
attempts to activate it fail.

Installed RPMs:
  vdsm-4.9.6-0.150.git63061a9.el6.x86_64
  ovirt-engine-3.1.0_0001-1.8.el6.x86_64 

Relevant-looking output in the vdsm.log file (more @
http://pastebin.com/raw.php?i=cYaFLPEF):

Thread-68465::ERROR::2012-05-09
14:05:00,491::task::853::TaskManager.Task::(_setError)
Task=`937d1fa9-4636-42f1-a6cb-c4cc56b9f2fd`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 861, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 526, in getSpmStatus
    pool = self.getPool(spUUID)
  File "/usr/share/vdsm/storage/hsm.py", line 263, in getPool
    raise se.StoragePoolUnknown(spUUID)
StoragePoolUnknown: Unknown pool id, pool not connected:
('af5bcc86-898a-11e1-9632-003048c85226',)
Thread-68465::DEBUG::2012-05-09
14:05:00,491::task::872::TaskManager.Task::(_run)
Task=`937d1fa9-4636-42f1-a6cb-c4cc56b9f2fd`::Task._run:
937d1fa9-4636-42f1-a6cb-c4cc56b9f2fd
('af5bcc86-898a-11e1-9632-003048c85226',) {} failed - stopping task


The share /is/ mounted on the node:

# mount | grep cmcd-db-vip
cmcd-db-vip.in.hwlab:/vmstore/ovirt on
/rhev/data-center/mnt/cmcd-db-vip.in.hwlab:_vmstore_ovirt type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=10.0.10.13)

# ls -l /rhev/data-center/mnt/cmcd-db-vip.in.hwlab:_vmstore_ovirt/
total 0
drwxr-xr-x 5 vdsm kvm 45 Apr 13 12:23 4ddb9dce-1ede-459a-9b9f-52b035622517
drwxr-xr-x 5 vdsm kvm 45 Apr 12 16:17 4ea29e75-ab27-4bc9-bc46-1740d07f4cba
drwxr-xr-x 5 vdsm kvm 45 Apr 19 11:40 e12a0f53-ee72-44bc-ad26-93f9b4613c6c

The closest google turns up is a thread from March, in which there was some
mention of a change in the way metadata is read. Might be a red herring, but
here's that thread:
http://lists.ovirt.org/pipermail/users/2012-March/001423.html

Thanks for any insight!
Ian

------------------------------

Message: 5
Date: Wed, 9 May 2012 18:40:46 +0000
From: Jacob Wyatt <jwyatt at ggc.edu>
To: "users at ovirt.org" <users at ovirt.org>
Subject: Re: [Users] Default storage pool won't activate after reboot
Message-ID:
	
<952F16E72BC7784DA7C1B0C3317828DE302CA0AE at BY2PRD0410MB366.namprd04.prod.outl
ook.com>
	
Content-Type: text/plain; charset="us-ascii"

Hi,

I'm new to oVirt myself but I thought that the top level directory name was
the UUID of the storage pool.  In that case the UUID it lists
(af5bcc86-898a-11e1-9632-003048c85226) isn't there.  Have you looked
directly on the storage machine itself?  Perhaps the node can't see that
directory due to permission issues?

-Jacob

________________________________________
From: users-bounces at ovirt.org [users-bounces at ovirt.org] on behalf of Ian
Levesque [ian at crystal.harvard.edu]
Sent: Wednesday, May 09, 2012 2:31 PM
To: users at ovirt.org
Subject: [Users] Default storage pool won't activate after reboot

Hello,

Since a recent reboot, my default data storage pool has been inactive and
attempts to activate it fail.

Installed RPMs:
  vdsm-4.9.6-0.150.git63061a9.el6.x86_64
  ovirt-engine-3.1.0_0001-1.8.el6.x86_64

Relevant-looking output in the vdsm.log file (more @
http://pastebin.com/raw.php?i=cYaFLPEF):

Thread-68465::ERROR::2012-05-09
14:05:00,491::task::853::TaskManager.Task::(_setError)
Task=`937d1fa9-4636-42f1-a6cb-c4cc56b9f2fd`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 861, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 526, in getSpmStatus
    pool = self.getPool(spUUID)
  File "/usr/share/vdsm/storage/hsm.py", line 263, in getPool
    raise se.StoragePoolUnknown(spUUID)
StoragePoolUnknown: Unknown pool id, pool not connected:
('af5bcc86-898a-11e1-9632-003048c85226',)
Thread-68465::DEBUG::2012-05-09
14:05:00,491::task::872::TaskManager.Task::(_run)
Task=`937d1fa9-4636-42f1-a6cb-c4cc56b9f2fd`::Task._run:
937d1fa9-4636-42f1-a6cb-c4cc56b9f2fd
('af5bcc86-898a-11e1-9632-003048c85226',) {} failed - stopping task


The share /is/ mounted on the node:

# mount | grep cmcd-db-vip
cmcd-db-vip.in.hwlab:/vmstore/ovirt on
/rhev/data-center/mnt/cmcd-db-vip.in.hwlab:_vmstore_ovirt type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=10.0.10.13)

# ls -l /rhev/data-center/mnt/cmcd-db-vip.in.hwlab:_vmstore_ovirt/
total 0
drwxr-xr-x 5 vdsm kvm 45 Apr 13 12:23 4ddb9dce-1ede-459a-9b9f-52b035622517
drwxr-xr-x 5 vdsm kvm 45 Apr 12 16:17 4ea29e75-ab27-4bc9-bc46-1740d07f4cba
drwxr-xr-x 5 vdsm kvm 45 Apr 19 11:40 e12a0f53-ee72-44bc-ad26-93f9b4613c6c

The closest google turns up is a thread from March, in which there was some
mention of a change in the way metadata is read. Might be a red herring, but
here's that thread:
http://lists.ovirt.org/pipermail/users/2012-March/001423.html

Thanks for any insight!
Ian
_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




------------------------------

Message: 6
Date: Wed, 9 May 2012 14:53:54 -0400
From: Ian Levesque <ian at crystal.harvard.edu>
To: Jacob Wyatt <jwyatt at ggc.edu>
Cc: users at ovirt.org
Subject: Re: [Users] Default storage pool won't activate after reboot
Message-ID: <AFBC09F2-9C55-4801-9FAE-1D8E69AC62BC at crystal.harvard.edu>
Content-Type: text/plain; charset=us-ascii

On May 9, 2012, at 2:40 PM, Jacob Wyatt wrote:

>> StoragePoolUnknown: Unknown pool id, pool not connected:
('af5bcc86-898a-11e1-9632-003048c85226',)
> 
> I'm new to oVirt myself but I thought that the top level directory name
was the UUID of the storage pool.  In that case the UUID it lists
(af5bcc86-898a-11e1-9632-003048c85226) isn't there.  Have you looked
directly on the storage machine itself?  Perhaps the node can't see that
directory due to permission issues?

Hi Jacob - thanks for the response. The thought crossed my mind as well but
I'm not sure if that UUID should indeed directly correspond to a directory.
I haven't poked around the storage pools before. If that's the case, I do
wonder what happened to my pool, and also what those other directories
are...


Best,
Ian

------------------------------

Message: 7
Date: Wed, 09 May 2012 14:59:24 -0400 (EDT)
From: Haim Ateya <hateya at redhat.com>
To: Ian Levesque <ian at crystal.harvard.edu>
Cc: users at ovirt.org
Subject: Re: [Users] Default storage pool won't activate after reboot
Message-ID:
	
<02d4f6c5-181b-4de3-b3cb-c0b65d88dd99 at zmail14.collab.prod.int.phx2.redhat.co
m>
	
Content-Type: text/plain; charset=utf-8

Hi Ian, 

would it be possible for you to attach both ovirt-engine (manager) & vdsm
logs (host) so can investigate further?

----- Original Message -----
> From: "Ian Levesque" <ian at crystal.harvard.edu>
> To: "Jacob Wyatt" <jwyatt at ggc.edu>
> Cc: users at ovirt.org
> Sent: Wednesday, May 9, 2012 9:53:54 PM
> Subject: Re: [Users] Default storage pool won't activate after reboot
> 
> On May 9, 2012, at 2:40 PM, Jacob Wyatt wrote:
> 
> >> StoragePoolUnknown: Unknown pool id, pool not connected:
> >> ('af5bcc86-898a-11e1-9632-003048c85226',)
> > 
> > I'm new to oVirt myself but I thought that the top level directory
> > name was the UUID of the storage pool.  In that case the UUID it
> > lists (af5bcc86-898a-11e1-9632-003048c85226) isn't there.  Have
> > you looked directly on the storage machine itself?  Perhaps the
> > node can't see that directory due to permission issues?
> 
> Hi Jacob - thanks for the response. The thought crossed my mind as
> well but I'm not sure if that UUID should indeed directly correspond
> to a directory. I haven't poked around the storage pools before. If
> that's the case, I do wonder what happened to my pool, and also what
> those other directories are...
> 
> 
> Best,
> Ian
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


------------------------------

Message: 8
Date: Wed, 9 May 2012 15:08:17 -0400
From: Ian Levesque <ian at crystal.harvard.edu>
To: Haim Ateya <hateya at redhat.com>
Cc: users at ovirt.org
Subject: Re: [Users] Default storage pool won't activate after reboot
Message-ID: <CB55EB48-1618-46FD-B52D-6657D8C07406 at crystal.harvard.edu>
Content-Type: text/plain; charset=us-ascii

On May 9, 2012, at 2:59 PM, Haim Ateya wrote:

> Hi Ian, 
> 
> would it be possible for you to attach both ovirt-engine (manager) & vdsm
logs (host) so can investigate further?

Sure -- you can download a zip of both logs here:
http://cl.ly/1h3u322S3f1Y1W0p1T3E/logs.zip

Thanks,
Ian

------------------------------

Message: 9
Date: Wed, 09 May 2012 12:28:48 -0700
From: Leslie Hawthorn <lhawthor at redhat.com>
To: arch at ovirt.org, users at ovirt.org, "<board at ovirt.org>"
	<board at ovirt.org>
Subject: [Users] Upcoming oVirt Workshop Information
Message-ID: <4FAAC570.80902 at redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello everyone,

To give everyone the lay of the land on upcoming oVirt workshops, I've 
created this page on the oVirt wiki:

http://www.ovirt.org/wiki/OVirt_Global_Workshops

Jason Brooks is working on updating the content the oVirt website News 
and Events page to be in sync with the data on the wiki.

Cheers,
LH

-- 
Leslie Hawthorn
Community Action and Impact
Open Source and Standards @ Red Hat

identi.ca/lh
twitter.com/lhawthorn



------------------------------

Message: 10
Date: Wed, 09 May 2012 15:34:49 -0400 (EDT)
From: Haim Ateya <hateya at redhat.com>
To: Ian Levesque <ian at crystal.harvard.edu>
Cc: users at ovirt.org
Subject: Re: [Users] Default storage pool won't activate after reboot
Message-ID:
	
<bb307665-8771-4010-9fea-c1a3ebcd4fb8 at zmail14.collab.prod.int.phx2.redhat.co
m>
	
Content-Type: text/plain; charset=utf-8



----- Original Message -----
> From: "Ian Levesque" <ian at crystal.harvard.edu>
> To: "Haim Ateya" <hateya at redhat.com>
> Cc: users at ovirt.org, "Jacob Wyatt" <jwyatt at ggc.edu>
> Sent: Wednesday, May 9, 2012 10:08:17 PM
> Subject: Re: [Users] Default storage pool won't activate after reboot
> 
> On May 9, 2012, at 2:59 PM, Haim Ateya wrote:
> 
> > Hi Ian,
> > 
> > would it be possible for you to attach both ovirt-engine (manager)
> > & vdsm logs (host) so can investigate further?
> 
> Sure -- you can downl
> load a zip of both logs here:
> http://cl.ly/1h3u322S3f1Y1W0p1T3E/logs.zip

it appears that connectStoragePool command fails with the following error: 

Thread-65664::ERROR::2012-05-09
13:17:46,922::dispatcher::66::Storage.Dispatcher.Protect::(run) {'status':
{'message': "Cannot find master domain: 'spUUID=af5bcc86-898a-11e1-96
32-003048c85226, msdUUID=e12a0f53-ee72-44bc-ad26-93f9b4613c6c'", 'code':
304}}

and that's the reason your pool doesn't turn active.
in order to understand why, I would like to get a view of your domain
metadata:

what kind of storage are you using ? NFS or local-domain ?
- please access your NFS storage
- change dir to export directory - /vmstore/ovirt 
- cat the following e12a0f53-ee72-44bc-ad26-93f9b4613c6c/dom_md/metadata 


> 
> Thanks,
> Ian


------------------------------

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


End of Users Digest, Vol 8, Issue 29
************************************




More information about the Users mailing list