Re: [ovirt-users] Change network of ovirt-nodes of a self-hosted engine cluster

2015-03-30 Thread Yedidyah Bar David
- Original Message -
> From: "Sandro Bonazzola" 
> To: "Kostyrev Aleksandr" , "Users" , 
> "Martin Sivak" , "Yedidyah
> Bar David" , "Fabian Deutsch" 
> Sent: Monday, March 30, 2015 9:44:05 AM
> Subject: Re: [ovirt-users] Change network of ovirt-nodes of a self-hosted 
> engine cluster
> 
> Il 30/03/2015 08:40, Sandro Bonazzola ha scritto:
> > Il 25/03/2015 14:32, Kostyrev Aleksandr ha scritto:
> >> Good day!
> >>
> >> I'm in position when I have to change network settings of three
> >> ovirt-nodes that comprise my cluster with hosted engine.
> >> Am I correct that to change network is not a big deal and it is possible?
> >> My plan was:
> >> 1. shutdown all vms (except engine itself) on all nodes.
> >> 2. enable maintenance mode on all nodes, except the one with running
> >> engine
> > 
> > I think you should use Hosted Engine global maintenance while doing this.
> > If for some reason the gateway configured in hosted_engine.conf become
> > unreachable I'm not sure it won't try to migrate the VM.
> > Adding Martin to the loop.
> > 
> 
> Also if for some reason the storage become unavailable during the network
> settings update, the engine VM will be paused due to missing storage.
> I'm not sure about what will happen with the SSL certificates, didi?

In 3.5+, the certs all use the hostnames, which I understand are not intended
to be changed, so no issue there.

If some of the hosts were deployed with <= 3.4 and upgraded, the certs will
use the IP address, and this will not change unless you manually reinstall
(re-deploy?). Didn't try that. I guess at least some things will fail.

> 
> >> 3. change network settings in engine node
> >> 4. shut engine down with hosted-engine --vm-stop
> >> 5. change network settings on all nodes, verify that nodes can ping each
> >> other
> >> 6. start engine with hosted-engine --vm-start
> >> 7. change VLAN tag at Logical Network for VMs
> >> 8. activate nodes
> >> 9. start vms
> >>
> >> Does it make sense?
> 
> If you manage to end successfully the migration it would be really nice to
> have a wiki page describing the steps you took for this task.

Indeed!

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


Re: [ovirt-users] How to Config Openvswitch in Hosted-Engine environment(ALL IN ONE) when using Neutron?

2015-03-30 Thread Lior Vernia
Hello,

You're right. It might be something we should consider adding in the
hosted engine script - maybe a flag to also install the Neutron agent
packages?...

For now, there should be an easy workaround as long as you have more
than one host in your deployment. You could put one host in maintenance,
reinstall it from the webadmin console while specifying an external
provider, then once that's done do the same for the other host(s).

Yours, Lior.

On 30/03/15 06:49, Xie, Chao wrote:
> HI, ALL 
> As you may know, we can use neutron service in oVirt. And in a normal
> oVirt environment, When adding a Host, Openswitch and RabbitMQ and so on
> (Set Network provider in "New Hosts" window in Admin Portal) will be
> configure automatically in the host.
> But in an HE environment, we do not add host in Admin Portal(but
> "hosted-engine --deploy" command ), and i think host will not be
> configure automatically. So anybody know how to use it (neutron from all
> in one OSP )?
> 
>  
> 
> 
> 
> ___
> 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: [ovirt-users] New VMs don't have network connection

2015-03-30 Thread Lior Vernia


On 25/03/15 15:37, Dan Kenigsberg wrote:
> On Fri, Mar 13, 2015 at 02:56:36PM +0100, m...@nepu.moe wrote:
>> Hello,
>>
>> New VMs can't access the network anymore, there's no ethernet device. This 
>> happens both when generating a new VM from a saved template and when 
>> installing a new VM with the blank template.
>> It still works fine with all older VMs, they work properly even after a 
>> restart. This happens on both of my nodes.
>>
>> What could be causing this?
> 
> Which Engine and vdsm versions are you using?
> When did it work earlier? What has changed since?
> 
> Can you share the vmCreate out of vdsm.log, as well as the output of
> virsh -r dumpxml  ?
> 
> Which guest OS are you running?

I'd also appreciate the engine log from the time of VM creation...

> ___
> 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: [ovirt-users] Change network of ovirt-nodes of a self-hosted engine cluster

2015-03-30 Thread Martin Sivak
Hi,

the steps make good sense indeed, but use global maintenance mode as Sandro 
suggested.

Good luck and keep us posted.

--
Martin Sivák
msi...@redhat.com
Red Hat Czech
RHEV-M SLA / Brno, CZ

- Original Message -
> - Original Message -
> > From: "Sandro Bonazzola" 
> > To: "Kostyrev Aleksandr" , "Users" ,
> > "Martin Sivak" , "Yedidyah
> > Bar David" , "Fabian Deutsch" 
> > Sent: Monday, March 30, 2015 9:44:05 AM
> > Subject: Re: [ovirt-users] Change network of ovirt-nodes of a self-hosted
> > engine cluster
> > 
> > Il 30/03/2015 08:40, Sandro Bonazzola ha scritto:
> > > Il 25/03/2015 14:32, Kostyrev Aleksandr ha scritto:
> > >> Good day!
> > >>
> > >> I'm in position when I have to change network settings of three
> > >> ovirt-nodes that comprise my cluster with hosted engine.
> > >> Am I correct that to change network is not a big deal and it is
> > >> possible?
> > >> My plan was:
> > >> 1. shutdown all vms (except engine itself) on all nodes.
> > >> 2. enable maintenance mode on all nodes, except the one with running
> > >> engine
> > > 
> > > I think you should use Hosted Engine global maintenance while doing this.
> > > If for some reason the gateway configured in hosted_engine.conf become
> > > unreachable I'm not sure it won't try to migrate the VM.
> > > Adding Martin to the loop.
> > > 
> > 
> > Also if for some reason the storage become unavailable during the network
> > settings update, the engine VM will be paused due to missing storage.
> > I'm not sure about what will happen with the SSL certificates, didi?
> 
> In 3.5+, the certs all use the hostnames, which I understand are not intended
> to be changed, so no issue there.
> 
> If some of the hosts were deployed with <= 3.4 and upgraded, the certs will
> use the IP address, and this will not change unless you manually reinstall
> (re-deploy?). Didn't try that. I guess at least some things will fail.
> 
> > 
> > >> 3. change network settings in engine node
> > >> 4. shut engine down with hosted-engine --vm-stop
> > >> 5. change network settings on all nodes, verify that nodes can ping each
> > >> other
> > >> 6. start engine with hosted-engine --vm-start
> > >> 7. change VLAN tag at Logical Network for VMs
> > >> 8. activate nodes
> > >> 9. start vms
> > >>
> > >> Does it make sense?
> > 
> > If you manage to end successfully the migration it would be really nice to
> > have a wiki page describing the steps you took for this task.
> 
> Indeed!
> 
> Best,
> --
> Didi
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VDSM memory consumption

2015-03-30 Thread Dan Kenigsberg
On Sat, Mar 28, 2015 at 10:20:25AM -0400, John Taylor wrote:
> Daniel Helgenberger  writes:
> 
> > Hello Everyone,
> >
> > I did create the original BZ on this. In the mean time, lab system I
> > used is dismantled and the production system is yet to deploy.
> >
> > As I wrote in BZ1147148 [1], I experienced two different issues. One,
> > one big mem leak of about 15MiB/h and a smaller one, ~300KiB. These seem
> > unrelated.
> >
> > The larger leak was indeed related to SSL in some way; not necessarily
> > M2Crypto. However, after disabling SSL this was gone leaving the smaller
> > leak.
> >
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1147148
> 
> 
> I think there are, at least for the purpose of this discussion, 3 leaks:
> 1. the M2Crypto leak
> 2. a slower leak 
> 3. a large leak that's not M2Crypto related that's part of sampling
> 
> My efforts have been around finding the source of my larger leak, which
> I think is #3.  I had disabled ssl so I knew that M2Crypto
> isn't/shouldn't be the problem as in bz1147148, and ssl is beside the
> point as it happens with a deactived host. It's part of sampling which
> always runs.
> 
> What I've found is, after trying to get the smallest reproducer, that
> it's not the netlink.iter_links that I commented on in [1] that is the
> problem. But in the _get_intefaces_and_samples loop is the call to
> create an InterfaceSample and that has getLinkSpeed() which, for vlans,
> ends up calling ipwrapper.getLink, and that to
> netlink.get_link(name)
> 
> netlink.get_link(name) *is* the source of my big leak. This is vdsm
> 4.16.10, so it is [2] and it's been changed in master for the removal of
> support for libnl v1 so it might not be a problem anymore. 
>  
> def get_link(name):
> """Returns the information dictionary of the name specified link."""
> with _pool.socket() as sock:
> with _nl_link_cache(sock) as cache:
> link = _rtnl_link_get_by_name(cache, name)
> if not link:
> raise IOError(errno.ENODEV, '%s is not present in the system' 
> %
>   name)
> return _link_info(cache, link)
> 
> 
> The libnl documentation note at [3] says that for the rtnl_link_get_by_name 
> function 
> "Attention
> The reference counter of the returned link object will be incremented. 
> Use rtnl_link_put() to release the reference."
> 
> So I took that hint, and made a change that does the rtnl_link_put() in
> get_link(name) and it looks like it works for me.
> 
> diff oldnetlink.py netlink.py
> 67d66
> < return _link_info(cache, link)
> 68a68,70
> > li = _link_info(cache, link)
> > _rtnl_link_put(link)
> > return li
> 333a336,337
> > 
> > _rtnl_link_put  = _none_proto(('rtnl_link_put', LIBNL_ROUTE))
> 
> Hope that helps. And if someone else could confirm that would be great.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1158108
> [2] 
> https://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=lib/vdsm/netlink.py;h=afae5cecb5ce701d00fb8f019ec92b3331a39036;hb=5608cfdf43db9186dabac4b2a779f9557e798968
> [3] 
> http://www.infradead.org/~tgr/libnl/doc/api/group__link.html#ga1d583e4f0b43c89d854e5e681a529fad

Thanks, John, for a great detective work.

I'm afraid that with even on the master branch we keep calling
rtnl_link_get_link() and rtnl_link_get_by_name() without clearing the
reference count, so a fix is due there, too.

Would you consider posting a fully-fledged fix to gerrit? I still need
to understand what is the use of that refcount, so that we do not
release it too early.

Regards,
Dan.

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


Re: [ovirt-users] Change network of ovirt-nodes of a self-hosted engine cluster

2015-03-30 Thread Yedidyah Bar David
- Original Message -
> From: "Martin Sivak" 
> To: "Yedidyah Bar David" 
> Cc: "Sandro Bonazzola" , "Kostyrev Aleksandr" 
> , "Users" ,
> "Fabian Deutsch" 
> Sent: Monday, March 30, 2015 11:44:39 AM
> Subject: Re: [ovirt-users] Change network of ovirt-nodes of a self-hosted 
> engine cluster
> 
> Hi,
> 
> the steps make good sense indeed, but use global maintenance mode as Sandro
> suggested.
> 
> Good luck and keep us posted.
> 
> --
> Martin Sivák
> msi...@redhat.com
> Red Hat Czech
> RHEV-M SLA / Brno, CZ
> 
> - Original Message -
> > - Original Message -
> > > From: "Sandro Bonazzola" 
> > > To: "Kostyrev Aleksandr" , "Users" ,
> > > "Martin Sivak" , "Yedidyah
> > > Bar David" , "Fabian Deutsch" 
> > > Sent: Monday, March 30, 2015 9:44:05 AM
> > > Subject: Re: [ovirt-users] Change network of ovirt-nodes of a self-hosted
> > > engine cluster
> > > 
> > > Il 30/03/2015 08:40, Sandro Bonazzola ha scritto:
> > > > Il 25/03/2015 14:32, Kostyrev Aleksandr ha scritto:
> > > >> Good day!
> > > >>
> > > >> I'm in position when I have to change network settings of three
> > > >> ovirt-nodes that comprise my cluster with hosted engine.
> > > >> Am I correct that to change network is not a big deal and it is
> > > >> possible?
> > > >> My plan was:
> > > >> 1. shutdown all vms (except engine itself) on all nodes.
> > > >> 2. enable maintenance mode on all nodes, except the one with running
> > > >> engine
> > > > 
> > > > I think you should use Hosted Engine global maintenance while doing
> > > > this.
> > > > If for some reason the gateway configured in hosted_engine.conf become
> > > > unreachable I'm not sure it won't try to migrate the VM.
> > > > Adding Martin to the loop.
> > > > 
> > > 
> > > Also if for some reason the storage become unavailable during the network
> > > settings update, the engine VM will be paused due to missing storage.
> > > I'm not sure about what will happen with the SSL certificates, didi?
> > 
> > In 3.5+, the certs all use the hostnames, which I understand are not
> > intended
> > to be changed, so no issue there.

That would actually be 3.5.1+.

> > 
> > If some of the hosts were deployed with <= 3.4 and upgraded, the certs will
> > use the IP address, and this will not change unless you manually reinstall
> > (re-deploy?). Didn't try that. I guess at least some things will fail.
> > 
> > > 
> > > >> 3. change network settings in engine node
> > > >> 4. shut engine down with hosted-engine --vm-stop
> > > >> 5. change network settings on all nodes, verify that nodes can ping
> > > >> each
> > > >> other
> > > >> 6. start engine with hosted-engine --vm-start
> > > >> 7. change VLAN tag at Logical Network for VMs
> > > >> 8. activate nodes
> > > >> 9. start vms
> > > >>
> > > >> Does it make sense?
> > > 
> > > If you manage to end successfully the migration it would be really nice
> > > to
> > > have a wiki page describing the steps you took for this task.
> > 
> > Indeed!
> > 
> > Best,
> > --
> > Didi
> > 
> 

-- 
Didi

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


[ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'", 'code': 353}}

How can I re-activate them ?
Thanks






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





[cid:signature4636e8]









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


[ovirt-users] Ovirt/VDSM hooks for el7

2015-03-30 Thread Punit Dambiwal
Hi,

I have checked and found that there is no hooks available for el7is
there any tentative planning for those hooks to cover in el7...

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


Re: [ovirt-users] Change network of ovirt-nodes of a self-hosted engine cluster

2015-03-30 Thread Gianluca Cecchi

4. shut engine down with hosted-engine --vm-stop
5. change network settings on all nodes, verify that nodes can ping each
other

what about step 5? How do you manage it if engine is down?
Manually on all nodes? And then what if you have persistence of network
config in place?

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


[ovirt-users] oVirt management network

2015-03-30 Thread Bojan Popovic
Hello, I am having a strange issue in creating ovirtmgmt bridge over
vlan interface.

I have set-up a bond from physical interfaces. On top of a bond there
are three VLANs one of which is in ovirtmgmt bridge. I have set it up
manually according to http://www.ovirt.org/Bonding_VLAN_Bridge

Somehow the bond itself is also added to bridge in oVirt web interface,
after reboot there also were two added lines to configuration of that bond:
# Generated by VDSM version 4.16.10-8.gitc937927.el7
BRIDGE=ovirtmgmt

No matter how I try to remove the bond from the bridge it doesn't
succeed. If I edit the config files manually it isn't replicated to web
interface. If I try to detach it from web interface, I can only attach
bridge back to the bond interface. Of course configuration cannot be
saved until the bridge is attached to an interface.

I have tried putting the host in maintenance mode, shutting down the
hosted engine and doing all the changes live.

Anyone has a suggestion how to resolve this?

Thanks.




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


Re: [ovirt-users] oVirt management network

2015-03-30 Thread René Koch













Hi Bojan,
















Did you configure a VLAN tag für your ovirtmgmt interface?







You have to do this in „Data Centers“ – select dc – „Logical Networks“.







Afterwards you should be able to configure network from oVirt webadmin 
interface again.







Don’t have a test setup with VLAN tags for ovirtmgmt atm, but did this multiple 
times before…


















Regards,







René




























Von:


 users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] 
Im Auftrag von 
Bojan Popovic


Gesendet:
 Montag, 30. März 2015 12:15


An:
 users@ovirt.org


Betreff:
 [ovirt-users] oVirt management network

















Hello, I am having a strange issue in creating ovirtmgmt bridge over vlan 
interface.



I have set-up a bond from physical interfaces. On top of a bond there are three 
VLANs one of which is in ovirtmgmt bridge. I have set it up manually according 
to 
http://www.ovirt.org/Bonding_VLAN_Bridge




Somehow the bond itself is also added to bridge in oVirt web interface, after 
reboot there also were two added lines to configuration of that bond:

# Generated by VDSM version 4.16.10-8.gitc937927.el7

BRIDGE=ovirtmgmt



No matter how I try to remove the bond from the bridge it doesn't succeed. If I 
edit the config files manually it isn't replicated to web interface. If I try 
to detach it from web interface, I can only attach bridge back to the bond 
interface. Of course configuration cannot be saved until the bridge is attached 
to an interface.



I have tried putting the host in maintenance mode, shutting down the hosted 
engine and doing all the changes live.



Anyone has a suggestion how to resolve this?



Thanks.

































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


Re: [ovirt-users] oVirt management network

2015-03-30 Thread Dan Kenigsberg
On Mon, Mar 30, 2015 at 12:15:09PM +0200, Bojan Popovic wrote:
> Hello, I am having a strange issue in creating ovirtmgmt bridge over
> vlan interface.
> 
> I have set-up a bond from physical interfaces. On top of a bond there
> are three VLANs one of which is in ovirtmgmt bridge. I have set it up
> manually according to http://www.ovirt.org/Bonding_VLAN_Bridge
> 
> Somehow the bond itself is also added to bridge in oVirt web interface,
> after reboot there also were two added lines to configuration of that bond:
> # Generated by VDSM version 4.16.10-8.gitc937927.el7
> BRIDGE=ovirtmgmt
> 
> No matter how I try to remove the bond from the bridge it doesn't
> succeed. If I edit the config files manually it isn't replicated to web
> interface. If I try to detach it from web interface, I can only attach
> bridge back to the bond interface. Of course configuration cannot be
> saved until the bridge is attached to an interface.
> 
> I have tried putting the host in maintenance mode, shutting down the
> hosted engine and doing all the changes live.
> 
> Anyone has a suggestion how to resolve this?

I'd first like to understand how you intend for management traffic to
travel from your Engine to the host. Do you have a vlan connection
between the two? What is the host's IP address on that vlan?

Since you have connectivity to the host, we can tell that you have
un-tagged traffic to the host. In most (sane) cases, the IP address on
the untagged network is different from the vlan'ed one. To use the
latter, you'd need to remove the host from the cluster, and add it back
with its second address.

Did you define ovirtmgmt as a vlan-tagged network? Or do you intend to
have a special hack for this host?

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


Re: [ovirt-users] Snapshot issue

2015-03-30 Thread Omer Frenkel


- Original Message -
> From: "Koen Vanoppen" 
> To: "Omer Frenkel" , users@ovirt.org
> Sent: Monday, March 30, 2015 7:44:10 AM
> Subject: Re: [ovirt-users] Snapshot issue
> 
> I can't even remove them... Something needs to be done... Any ideas?
> 

not sure i understand what you tried?
the 'broken' snapshots are locked, so you can't remove them.
as i said, there is no easy and safe way to fix this...
you can try to change the status of the snapshot in the db - but i am not sure 
what will happen!

> 2015-03-25 8:45 GMT+01:00 Koen Vanoppen :
> 
> > Hi Omer,
> >
> > Thanks for your reply.
> > I was cleaning our snapshots on oVirt. So I started deleting snapshots one
> > by one. In total in deleted 10 snapshots. 5 VM's came back up, without the
> > error message, the rest of them are still down with this error message.
> >
> > 2015-03-25 7:36 GMT+01:00 Omer Frenkel :
> >
> >>
> >>
> >> - Original Message -
> >> > From: "Koen Vanoppen" 
> >> > To: users@ovirt.org
> >> > Sent: Wednesday, March 25, 2015 8:09:17 AM
> >> > Subject: Re: [ovirt-users] Snapshot issue
> >> >
> >> > I'm still not able to start my VM's:
> >> > Cannot run VM. The VM is performing an operation on a Snapshot. Please
> >> wait
> >> > for the operation to finish, and try again...
> >> >
> >> > I already restarted the vdsm deamons on the hypervisors and restarted
> >> the
> >> > engine too... Does anybody has any clue how I can solve this state?
> >> >
> >> > Kind regards,
> >> >
> >> > Koen
> >> >
> >> > 2015-03-24 7:45 GMT+01:00 Koen Vanoppen < vanoppen.k...@gmail.com > :
> >> >
> >> >
> >> >
> >> > This is in the logs:
> >> > 2015-03-24 07:41:50,436 WARN [org.ovirt.engine.core.bll.RunVmCommand]
> >> > (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm failed
> >> for
> >> > user Reasons:
> >> > VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
> >> >
> >> > Can't I clear all this? Because I Still have several machines down due
> >> the
> >> > reason he is still in the "cannot run VM..." state...
> >> >
> >>
> >> this happens because you have a snapshot in status locked,
> >> probably you did some operation on snapshot and something went wrong (it
> >> might have failed without clearing the state..)
> >> there is no easy and safe way to fix this (you can change the status of
> >> the snapshot in the db but i am not sure what will happen)
> >> what action did you do with snapshots on this vm?
> >> what was the result?
> >>
> >> >
> >> >
> >> > 2015-03-23 8:40 GMT+01:00 Koen Vanoppen < vanoppen.k...@gmail.com > :
> >> >
> >> >
> >> >
> >> > Dear all,
> >> >
> >> > I have the following problem:
> >> >
> >> > Cannot run VM. The VM is performing an operation on a Snapshot. Please
> >> wait
> >> > for the operation to finish, and try again.
> >> >
> >> > It is like this since Friday... How can I resolve this? I really need
> >> this vm
> >> > to be up again...
> >> >
> >> > Kind regards,
> >> >
> >> > Koen
> >> >
> >> >
> >> >
> >> > ___
> >> > 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: [ovirt-users] [moVirt] Failed to open console client.

2015-03-30 Thread Tomas Jelinek


- Original Message -
> From: "John Florian" 
> To: "Tomas Jelinek" 
> Cc: users@ovirt.org
> Sent: Saturday, March 28, 2015 5:07:03 PM
> Subject: Re: [ovirt-users] [moVirt] Failed to open console client.
> 
> Hi Tomas,
> 
> Thanks for the help.  Installing the from github as you suggested looks
> to get me closer.  I first uninstalled both aSPICE and bVNC that I'd
> installed from the play store.  It now appears that moVirt is starting
> aSPICE at least, but now I'm confronted with "Unable to connect or
> authenticate, please check server address, password and cert authority
> and subject."  Is this because I have moVirt using https for the
> connection?  (I see the moVirt README mentions: *Note* moVirt/aSPICE
> does not support SPICE secured connections at the moment!)  If that's
> the case, I guess I'll live w/o consoles on my phone for now.  I'd
> rather not send my ovirt admin password in plain-text since that'd be
> like providing physical access to every one of my critical VMs -- but
> maybe I'm just interpreting that note wrongly.

it seems you are interpreting it correctly - we do not pass the proper 
certificates to the aSPICE yet.
aSPICE should support it, so we just need to get it from engine and pass it. 
Just need to find some time to
actually implement it :)

> 
> On 03/27/2015 02:16 AM, Tomas Jelinek wrote:
> > Hi,
> >
> > well, consoles are a bit tricky in moVirt.
> >
> > 1: There is a nice chance the stock aSPICE does not work yet and you need a
> > newer version with some patches. You can get it from here:
> > https://github.com/iiordanov/remote-desktop-clients/releases/download/v3.7.7/freeaSPICE-3.7.7-final.apk
> > (maybe it is in play store already but not sure... just try that one
> > please)
> >
> > 2: If this is not the issue there is a nice chance that your hosts are on a
> > different network than your moVirt thus aSPICE /bVNC can not connect.
> > You could verify this by installing some
> > app which is able to ping from phone and try to ping your host from it. If
> > it will not ping them and you don't want to expose the hosts directly,
> > than the consoles
> > are not going to work, because:
> > 1: you could use SPICE PROXY - unfortunately aSPICE does not support it
> > 2: you could use websocket proxy and connect from web clients (SPICE HTML5
> > or noVNC) - but moVirt does not integrate them since they need a
> > connection to websocket proxy
> >and in order to make a connection to websocket proxy you need a ticket
> >signed by the private certificate of the engine. And the functionality
> >of providing this
> >is not exposed to REST API (only GWT-RPC) so we can not consume it.
> >There is some bug around it and also some work being done around it so
> >I think it will make into 3.6.
> >But 3.6 is far far away...
> >
> > Hope the problem is just old aSPICE :)
> > Tomas
> >
> > - John Florian  wrote:
> >> I just started playing with moVirt after I first heard about it here on
> >> this list.  Wow, that's so much easier to use on my Galaxy S5 than the
> >> regular web interface.  :-)
> >>
> >> Of course, now I want the whole bag of chips but can't seem to get the
> >> console working.  When I press the console button I see "Failed to open
> >> console client.  Check if aSPICE/bVNC is installed.".  I had already
> >> installed aSPICE from the Play Store but when that didn't work installed
> >> bVNC in addition; still no luck.
> >>
> >> My engine.log shows this when I try:
> >>
> >> 2015-03-26 19:52:14,750 INFO
> >> [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-10)
> >> [7f6f1f09] Running command: SetVmTicketCommand internal: false. Entities
> >> affected :  ID: 6ca4e6ae-a201-432b-b22a-2c6517fbd92c Type: VMAction
> >> group CONNECT_TO_VM with role type USER
> >> 2015-03-26 19:52:14,752 INFO
> >> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> >> (ajp--127.0.0.1-8702-10) [7f6f1f09] START,
> >> SetVmTicketVDSCommand(HostName = hosted_engine_1, HostId =
> >> e90e2ca0-e3b9-46d5-8fde-09fc1c5eed20,
> >> vmId=6ca4e6ae-a201-432b-b22a-2c6517fbd92c, ticket=pd2lTiu7w7Ra,
> >> validTime=7200,m userName=admin,
> >> userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 6257f73
> >> 2015-03-26 19:52:14,766 INFO
> >> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> >> (ajp--127.0.0.1-8702-10) [7f6f1f09] FINISH, SetVmTicketVDSCommand, log
> >> id: 6257f73
> >> 2015-03-26 19:52:14,846 INFO
> >> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> >> (ajp--127.0.0.1-8702-10) [7f6f1f09] Correlation ID: 7f6f1f09, Call
> >> Stack: null, Custom Event ID: -1, Message: user admin@internal initiated
> >> console session for VM krypto_f21
> >>
> >> What am doing wrong?
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
___
Users mailing 

Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread Elad Ben Aharon
Hi, 

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool? 






Elad Ben Aharon 
RHEV-QE storage 


- Original Message -

From: "VONDRA Alain"  
To: users@ovirt.org 
Sent: Monday, 30 March, 2015 12:18:26 PM 
Subject: [ovirt-users] Storage domain not in pool issue 



Hi, 

I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log : 



Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error 

Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'", 'code': 353}} 



How can I re-activate them ? 

Thanks 

















Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr   














___ 
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: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: users@ovirt.org
Sent: Monday, 30 March, 2015 12:18:26 PM
Subject: [ovirt-users]  Storage domain not in pool issue

Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'", 'code': 353}}

How can I re-activate them ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr








___
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: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread Elad Ben Aharon
Which oVirt version are you using? 
Also, please execute the following command and paste its output here. 

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9 

- Original Message -

From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 3:05:49 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

Hi, 
Yes I have an active storage domain 
Thanks 


De : Elad Ben Aharon [mailto:ebena...@redhat.com] 
Envoyé : lundi 30 mars 2015 13:59 
À : VONDRA Alain 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Hi, 

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool? 





Elad Ben Aharon 
RHEV-QE storage 






Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: users@ovirt.org 
Sent: Monday, 30 March, 2015 12:18:26 PM 
Subject: [ovirt-users] Storage domain not in pool issue 

Hi, 
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log : 

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error 
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'", 'code': 353}} 

How can I re-activate them ? 
Thanks 


 
Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 



___ 
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: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 14:41
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: users@ovirt.org
Sent: Monday, 30 March, 2015 12:18:26 PM
Subject: [ovirt-users]  Storage domain not in pool issue

Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'", 'code': 353}}

How can I re-activate them ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr








___
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: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread Elad Ben Aharon
Thanks. 

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in. 
Via which API did you attempt to activate the domain in this pool? 

Also, please execute the following command on engine and paste its output here. 

su - postgres -c "psql -U postgres engine -c 'select id,storage_pool_id from 
storage_domains;'" | less -S 

- Original Message -

From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 3:43:35 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

My oVirt version is 3.5.0.1 

[root@unc-srv-hyp2 ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 uuid = 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf 
state = OK 
version = 3 
role = Regular 
type = ISCSI 
class = Data 
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86'] 
name = VOL-UNC-PROD-02 





De : Elad Ben Aharon [mailto:ebena...@redhat.com] 
Envoyé : lundi 30 mars 2015 14:41 
À : VONDRA Alain 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Which oVirt version are you using? 
Also, please execute the following command and paste its output here. 

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9 



Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 3:05:49 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

Hi, 
Yes I have an active storage domain 
Thanks 


De : Elad Ben Aharon [mailto:ebena...@redhat.com] 
Envoyé : lundi 30 mars 2015 13:59 
À : VONDRA Alain 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Hi, 

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool? 





Elad Ben Aharon 
RHEV-QE storage 






Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: users@ovirt.org 
Sent: Monday, 30 March, 2015 12:18:26 PM 
Subject: [ovirt-users] Storage domain not in pool issue 

Hi, 
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log : 

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error 
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'", 'code': 353}} 

How can I re-activate them ? 
Thanks 


 
Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 



___ 
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: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+--
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 15:09
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c "psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'"  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 14:41
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: users@ovirt.org
Sent: Monday, 30 March, 2015 12:18:26 PM
Subject: [ovirt-users]  Storage domain not in pool issue

Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'", 'code': 353}}

How can I re-activate them ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr








___
Users mailing list
Users@ov

Re: [ovirt-users] VDSM memory consumption

2015-03-30 Thread Kapetanakis Giannis

On 26/03/15 18:12, Darrell Budic wrote:

Yes, this script leaks quickly. Started out at a RSS of 21000ish, already at 
26744 a minute in, about 5 minutes later it’s at 39384 and climbing.

Been abusing a production server for those simple tests, but didn’t want to run 
valgrind against it right this minute. Did run it against the test.py script 
above though, got this (fpaste.org didn’t like, too long maybe?): 
http://tower.onholyground.com/valgrind-test.log

To comment on some other posts in this thread, I also see leaks on my test 
system which is running Centos 6.6, but it only has 3 VMs across 2 servers and 
3 configured networks and it leaks MUCH slower. I suspect people don’t notice 
this on test systems because they don’t have a lot of VMs/interfaces running, 
and don’t leave them up for weeks at a time. That’s why I was running these 
tests on my production box, to have more VMs up.


I don't think it's related directly to the number of VMs running.
Maybe indirectly if it's related to the number of network interfaces (so 
vm interfaces add to the leak).


We've seen the leak on nodes under maintenance...

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


Re: [ovirt-users] oVirt 3.5 - Node Non-Operational

2015-03-30 Thread Marcelo Donato
I had configured the bridge ovirtgmt manually. After reset by oVirt web
interface and restart the VDSM and oVirt-engine, node manager and began
communicated.
Thanks to all.


2015-03-29 4:45 GMT-03:00 Yaniv Dary :

>  Did you install the node with ovirt-host-deploy?
>
>
> On 03/26/2015 09:19 PM, Marcelo Donato wrote:
>
>
>
> * ​Hi everyone! Suggestions are welcome and since I thank you. ​ *
>
> * ​I have the following scenario: *
>
> Host-01: sequoia.din.uem.br- 10.30.4.1 - Manager
> Host-02: jacaranda.din.uem.br - 10.30.4.2 - Node-01
>
>
> * ​As indicated below, the hosts communicate normally: *
>
> [root@jacaranda ~]# ping -c 3 sequoia
> PING sequoia.din.uem.br (10.30.4.1) 56(84) bytes of data.
> 64 bytes from sequoia.din.uem.br (10.30.4.1): icmp_seq=1 ttl=64
> time=0.436 ms
> 64 bytes from sequoia.din.uem.br (10.30.4.1): icmp_seq=2 ttl=64
> time=0.612 ms
> 64 bytes from sequoia.din.uem.br (10.30.4.1): icmp_seq=3 ttl=64
> time=0.635 ms
>
> [root@sequoia ~]# ping -c 3 jacaranda
> PING jacaranda.din.uem.br (10.30.4.2) 56(84) bytes of data.
> 64 bytes from jacaranda.din.uem.br (10.30.4.2): icmp_seq=1 ttl=64
> time=0.443 ms
> 64 bytes from jacaranda.din.uem.br (10.30.4.2): icmp_seq=2 ttl=64
> time=0.587 ms
> 64 bytes from jacaranda.din.uem.br (10.30.4.2): icmp_seq=3 ttl=64
> time=0.563 ms
>
>
> * ​Network interfaces *
> [root@jacaranda ~]# ifconfig ovirtmgmt
> ovirtmgmt Link encap:Ethernet  Endereço de HW D4:AE:52:78:4C:17
>   inet end.: 10.30.4.2  Bcast:10.30.4.255  Masc:255.255.255.0
>
> [root@sequoia ~]# ifconfig
> eth0  Link encap:Ethernet  Endereço de HW 52:54:00:D2:0F:95
>   inet end.: 10.30.4.1  Bcast:10.30.4.255  Masc:255.255.255.0
>
>
>
> * ​H​ o ​wever engine.log, as highlighted below, the problem is in the
> network. *
>
> 2015-03-26 15:00:01,799 ERROR 
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (DefaultQuartzScheduler_Worker-91) [35dba220] Host Node-01 is set to
> Non-Operational, it is missing the following networks: ovirtmgmt
> 2015-03-26 15:00:01,806 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (DefaultQuartzScheduler_Worker-91) [35dba220] Correlation ID: 35dba220, Job
> ID: 1b3c2410-a941-4d65-b39d-1a3d2ef378b8, Call Stack: null, Custom Event
> ID: -1, Message: Host Node-01 does not comply with the cluster Cst-01
> networks, the following networks are missing on host: 'ovirtmgmt'
> 2015-03-26 15:00:01,864 INFO
> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
> (DefaultQuartzScheduler_Worker-91) [6ba58858] Host
> 4aaf9afb-ae0e-40af-9ef8-ef098d3be91e : Node-01 is already in
> NonOperational status for reason NETWORK_UNREACHABLE. SetNonOperationalVds
> command is skipped.
>
>
>
>
> [image: Imagem inline 1]
>
>
>
>
> --
> Ao encaminhar esta mensagem, por favor:
> 1. Apague o meu e-mail e o meu nome.
> 2. Apague também os endereços dos amigos antes de reenviar
> 3. Use Cco ou Bcc para enviar mensagens!
> Dificulte a disseminação de vírus e spam.
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> --
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306
>   8272306
> Email: yd...@redhat.com
> IRC : ydary
>
>


-- 
Ao encaminhar esta mensagem, por favor:
1. Apague o meu e-mail e o meu nome.
2. Apague também os endereços dos amigos antes de reenviar
3. Use Cco ou Bcc para enviar mensagens!
Dificulte a disseminação de vírus e spam.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread Elad Ben Aharon
Thanks for the input. 

>From the input, it's clear that engine is not synchronized with vdsm regarding 
>the storage pool which these 2 domains are attached to. 
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so. 


Idan, can you please take a look? 
Thanks 

- Original Message -

From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 4:18:08 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

Thank you for your help ! 
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain. 
I didn’t yet try to put the second bad SD in maintenance after that. 

id | storage_pool_id 
--+-- 
072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 | 
37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41 
7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41 
7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41 
1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41 
69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41 
(7 lignes) 

Thanks 




De : Elad Ben Aharon [mailto:ebena...@redhat.com] 
Envoyé : lundi 30 mars 2015 15:09 
À : VONDRA Alain 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Thanks. 

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in. 
Via which API did you attempt to activate the domain in this pool? 

Also, please execute the following command on engine and paste its output here. 
su - postgres -c "psql -U postgres engine -c 'select id,storage_pool_id from 
storage_domains;'" | less -S 



Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 3:43:35 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

My oVirt version is 3.5.0.1 

[root@unc-srv-hyp2 ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 uuid = 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf 
state = OK 
version = 3 
role = Regular 
type = ISCSI 
class = Data 
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86'] 
name = VOL-UNC-PROD-02 





De : Elad Ben Aharon [mailto:ebena...@redhat.com] 
Envoyé : lundi 30 mars 2015 14:41 
À : VONDRA Alain 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Which oVirt version are you using? 
Also, please execute the following command and paste its output here. 

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9 



Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 3:05:49 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

Hi, 
Yes I have an active storage domain 
Thanks 


De : Elad Ben Aharon [mailto:ebena...@redhat.com] 
Envoyé : lundi 30 mars 2015 13:59 
À : VONDRA Alain 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Hi, 

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool? 





Elad Ben Aharon 
RHEV-QE storage 






Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: users@ovirt.org 
Sent: Monday, 30 March, 2015 12:18:26 PM 
Subject: [ovirt-users] Storage domain not in pool issue 

Hi, 
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log : 

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error 
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': "Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8

Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Elad,
I’ve tried many times to restart the engine without success.
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 16:00
À : VONDRA Alain; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Thanks for the input.

From the input, it's clear that engine is not synchronized with vdsm regarding 
the storage pool which these 2 domains are attached to.
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so.


Idan, can you please take a look?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 4:18:08 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+--
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 15:09
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c "psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'"  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 14:41
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: users@ovirt.org
Sent:

Re: [ovirt-users] VDSM memory consumption

2015-03-30 Thread Nathanaël Blanchet
Just to precise that I'm also concerned whatever is the host (el7 or 
el6) and I have many vms running on a single host (up to 15) and many 
networks ( up to 10)
It is always the same : when vdsmd finished to take the totality of 
memory, the host becomes unreacheable and vms begin to migrate. The only 
way to stop this is to restart vdsmd.


Le 30/03/2015 15:40, Kapetanakis Giannis a écrit :

On 26/03/15 18:12, Darrell Budic wrote:
Yes, this script leaks quickly. Started out at a RSS of 21000ish, 
already at 26744 a minute in, about 5 minutes later it’s at 39384 and 
climbing.


Been abusing a production server for those simple tests, but didn’t 
want to run valgrind against it right this minute. Did run it against 
the test.py script above though, got this (fpaste.org didn’t like, 
too long maybe?): http://tower.onholyground.com/valgrind-test.log


To comment on some other posts in this thread, I also see leaks on my 
test system which is running Centos 6.6, but it only has 3 VMs across 
2 servers and 3 configured networks and it leaks MUCH slower. I 
suspect people don’t notice this on test systems because they don’t 
have a lot of VMs/interfaces running, and don’t leave them up for 
weeks at a time. That’s why I was running these tests on my 
production box, to have more VMs up.


I don't think it's related directly to the number of VMs running.
Maybe indirectly if it's related to the number of network interfaces 
(so vm interfaces add to the leak).


We've seen the leak on nodes under maintenance...

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


[ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Nathanaël Blanchet

Hi all,

Does an ovirt-shell-cli equivalent exist for debian/ubuntu client? 
knowing it is written in python, it must be quite easy to port it...

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


Re: [ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Juan Hernández
On 03/30/2015 04:50 PM, Nathanaël Blanchet wrote:
> Hi all,
> 
> Does an ovirt-shell-cli equivalent exist for debian/ubuntu client? 
> knowing it is written in python, it must be quite easy to port it...

The oVirt project doesn't provide a Debian or Ubuntu package for these
tools, but they are distributed using Pypi, so you should be able to
install them in Debian, Ubuntu or any other distribution that provides
the "pip" tool:

  # pip install ovirt-shell

Please test that, if you find any issue we will do our best to fix it.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Host reinstall option in oVirt

2015-03-30 Thread Michal Skrivanek

On Mar 27, 2015, at 09:37 , VONDRA Alain  wrote:

> Hi,
> Could you confirm that using "reinstall" option in oVirt GUI when a host is 
> in maintenance mode, is not destructive for the VMs of the DC ?

It doesn't do anything to the shared storage, so you're safe:)

> BTW my 2 nodes stays in "unresponsive" state.

well, reboot&reinstall may help…if not, one need to really start looking into 
why:)

Thanks,
michal

> Thanks
> 
> 
> 
> 
> 
> Alain VONDRA
> Chargé d'exploitation des Systèmes d'Information
> Direction Administrative et Financière
> +33 1 44 39 77 76
> UNICEF France
> 3 rue Duguay Trouin  75006 PARIS
> www.unicef.fr
> 
> 
> 
> 
> ___
> 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: [ovirt-users] Host reinstall option in oVirt

2015-03-30 Thread VONDRA Alain
Thanks for your reply Michal,
I've already done the reinstall, the hosts were up again.
I'm in front of a new problem, but this one is closed
Regards





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Michal Skrivanek [mailto:michal.skriva...@redhat.com]
Envoyé : lundi 30 mars 2015 17:06
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Host reinstall option in oVirt


On Mar 27, 2015, at 09:37 , VONDRA Alain  wrote:

> Hi,
> Could you confirm that using "reinstall" option in oVirt GUI when a host is 
> in maintenance mode, is not destructive for the VMs of the DC ?

It doesn't do anything to the shared storage, so you're safe:)

> BTW my 2 nodes stays in "unresponsive" state.

well, reboot&reinstall may help…if not, one need to really start looking into 
why:)

Thanks,
michal

> Thanks
>
>
>
>
>
> Alain VONDRA
> Chargé d'exploitation des Systèmes d'Information Direction
> Administrative et Financière
> +33 1 44 39 77 76
> UNICEF France
> 3 rue Duguay Trouin  75006 PARIS
> www.unicef.fr
>
>
>
>
> ___
> 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: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
Is there anyother way to synchronize the engine and vdsm ?
Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : lundi 30 mars 2015 16:17
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Elad,
I’ve tried many times to restart the engine without success.
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
16:00 À : VONDRA Alain; Idan Shaby Cc : users@ovirt.org Objet : Re: 
[ovirt-users] Storage domain not in pool issue

Thanks for the input.

From the input, it's clear that engine is not synchronized with vdsm regarding 
the storage pool which these 2 domains are attached to.
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so.


Idan, can you please take a look?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 4:18:08 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+-
--+-
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
15:09 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c "psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'"  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
14:41 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mail

Re: [ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Nathanaël Blanchet

Thank you it works like a charm!

wget https://bootstrap.pypa.io/get-pip.py
pip install get-pip.py

Le 30/03/2015 16:58, Juan Hernández a écrit :

On 03/30/2015 04:50 PM, Nathanaël Blanchet wrote:

Hi all,

Does an ovirt-shell-cli equivalent exist for debian/ubuntu client?
knowing it is written in python, it must be quite easy to port it...

The oVirt project doesn't provide a Debian or Ubuntu package for these
tools, but they are distributed using Pypi, so you should be able to
install them in Debian, Ubuntu or any other distribution that provides
the "pip" tool:

   # pip install ovirt-shell

Please test that, if you find any issue we will do our best to fix it.



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


Re: [ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Nathanaël Blanchet

Sorry, rather

Le 30/03/2015 18:16, Nathanaël Blanchet a écrit :

Thank you it works like a charm!

wget https://bootstrap.pypa.io/get-pip.py
pip install get-pip.py


sudo python get-pip.py
sudo pip install ovirt-shell

Le 30/03/2015 16:58, Juan Hernández a écrit :

On 03/30/2015 04:50 PM, Nathanaël Blanchet wrote:

Hi all,

Does an ovirt-shell-cli equivalent exist for debian/ubuntu client?
knowing it is written in python, it must be quite easy to port it...

The oVirt project doesn't provide a Debian or Ubuntu package for these
tools, but they are distributed using Pypi, so you should be able to
install them in Debian, Ubuntu or any other distribution that provides
the "pip" tool:

   # pip install ovirt-shell

Please test that, if you find any issue we will do our best to fix it.



___
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


[ovirt-users] Guest PXE boot with 2 NICs : MAC order

2015-03-30 Thread Nicolas Ecarnot

Hello,

I can't remember if I already asked that here, but my researches 
returned nothing obvious.


It is frequent in our setup to boot a VM setup with two NICS :
- one in a network with a DHCP server, leading to a PXE/tftp/kickstart setup
- a second one with a network with no DHCP, nor routed. We use this 
network in some cases to access iSCSI data.


When PXE booting such a VM, I realized that in gPXE, the NICs are order 
according to their MAC address (net0, net1...)
I found no mean to explicitly tell gPXE to use a specific interface, and 
it is a pain, because my setup workflow implies I could choose the 
correct interface.


In the oVirt web GUI, I found nothing about that.
In the ovirt-shell, I had no better luck.
In the gPXE wiki, I found nothing more that what's above.

This is not a big issue, but was worth asking.

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


[ovirt-users] Modules sanlock are not configured

2015-03-30 Thread Bloemen , Jurriën
Hi all,

I have CentOS 7 running and I added the oVirt 3.5 repo to it. I open the oVirt 
Manager and added a new system to it.
The manager says installing and after that is fails to connect. Looking on the 
system I see:

Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running mkdirs
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running configure_coredump
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running configure_vdsm_logs
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running wait_for_network
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running run_init_hooks
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running upgraded_version_check
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running check_is_configured
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: Error:
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: One of the modules is not 
configured to work with VDSM.
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: To configure the module use the 
following:
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: 'vdsm-tool configure [--module 
module-name]'.
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: If all modules are not configured 
try to use:
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: 'vdsm-tool configure --force'
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: (The force flag will stop the 
module's service and start it
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: afterwards automatically to load 
the new configuration.)
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: libvirt is already configured for 
vdsm
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: Modules sanlock are not configured
Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: stopped during execute 
check_is_configured task (task returned with error code 1).

So I run vdsm-tool configure after I stop sanlock.

# vdsm-tool configure

Checking configuration status...

libvirt is already configured for vdsm
SUCCESS: ssl configured to true. No conflicts

Running configure...
Reconfiguration of sanlock is done.

Done configuring modules to VDSM.

But when I want to start vdsmd it still gives the error that sanlock is not 
configured.

Does somebody has a solution for this?

I am a bit lost on this… Google only tells me that there was a bug in 3.4.

Thanks in advance,

Jurriën
This message (including any attachments) may contain information that is 
privileged or confidential. If you are not the intended recipient, please 
notify the sender and delete this email immediately from your systems and 
destroy all copies of it. You may not, directly or indirectly, use, disclose, 
distribute, print or copy this email or any part of it if you are not the 
intended recipient
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VDSM memory consumption

2015-03-30 Thread John Taylor
Dan Kenigsberg  writes:

> On Sat, Mar 28, 2015 at 10:20:25AM -0400, John Taylor wrote:
>> Daniel Helgenberger  writes:
>> 
>> > Hello Everyone,
>> >
>> > I did create the original BZ on this. In the mean time, lab system I
>> > used is dismantled and the production system is yet to deploy.
>> >
>> > As I wrote in BZ1147148 [1], I experienced two different issues. One,
>> > one big mem leak of about 15MiB/h and a smaller one, ~300KiB. These seem
>> > unrelated.
>> >
>> > The larger leak was indeed related to SSL in some way; not necessarily
>> > M2Crypto. However, after disabling SSL this was gone leaving the smaller
>> > leak.
>> >
>> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1147148
>> 
>> 
>> I think there are, at least for the purpose of this discussion, 3 leaks:
>> 1. the M2Crypto leak
>> 2. a slower leak 
>> 3. a large leak that's not M2Crypto related that's part of sampling
>> 
>> My efforts have been around finding the source of my larger leak, which
>> I think is #3.  I had disabled ssl so I knew that M2Crypto
>> isn't/shouldn't be the problem as in bz1147148, and ssl is beside the
>> point as it happens with a deactived host. It's part of sampling which
>> always runs.
>> 
>> What I've found is, after trying to get the smallest reproducer, that
>> it's not the netlink.iter_links that I commented on in [1] that is the
>> problem. But in the _get_intefaces_and_samples loop is the call to
>> create an InterfaceSample and that has getLinkSpeed() which, for vlans,
>> ends up calling ipwrapper.getLink, and that to
>> netlink.get_link(name)
>> 
>> netlink.get_link(name) *is* the source of my big leak. This is vdsm
>> 4.16.10, so it is [2] and it's been changed in master for the removal of
>> support for libnl v1 so it might not be a problem anymore. 
>>  
>> def get_link(name):
>> """Returns the information dictionary of the name specified link."""
>> with _pool.socket() as sock:
>> with _nl_link_cache(sock) as cache:
>> link = _rtnl_link_get_by_name(cache, name)
>> if not link:
>> raise IOError(errno.ENODEV, '%s is not present in the 
>> system' %
>>   name)
>> return _link_info(cache, link)
>> 
>> 
>> The libnl documentation note at [3] says that for the rtnl_link_get_by_name 
>> function 
>> "Attention
>> The reference counter of the returned link object will be incremented. 
>> Use rtnl_link_put() to release the reference."
>> 
>> So I took that hint, and made a change that does the rtnl_link_put() in
>> get_link(name) and it looks like it works for me.
>> 
>> diff oldnetlink.py netlink.py
>> 67d66
>> < return _link_info(cache, link)
>> 68a68,70
>> > li = _link_info(cache, link)
>> > _rtnl_link_put(link)
>> > return li
>> 333a336,337
>> > 
>> > _rtnl_link_put  = _none_proto(('rtnl_link_put', LIBNL_ROUTE))
>> 
>> Hope that helps. And if someone else could confirm that would be great.
>> 
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1158108
>> [2]
>> https://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=lib/vdsm/netlink.py;h=afae5cecb5ce701d00fb8f019ec92b3331a39036;hb=5608cfdf43db9186dabac4b2a779f9557e798968
>> [3] 
>> http://www.infradead.org/~tgr/libnl/doc/api/group__link.html#ga1d583e4f0b43c89d854e5e681a529fad
>
> Thanks, John, for a great detective work.
>
> I'm afraid that with even on the master branch we keep calling
> rtnl_link_get_link() and rtnl_link_get_by_name() without clearing the
> reference count, so a fix is due there, too.
>
> Would you consider posting a fully-fledged fix to gerrit? I still need
> to understand what is the use of that refcount, so that we do not
> release it too early.
>
> Regards,
> Dan.

Dan,

I'm happy to [1], although I've probably gotten something wrong with how
it's supposed to be done :) It's for the version I'm using so it's for
branch ovirt-3.5.

[1] https://gerrit.ovirt.org/#/c/39372/

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


Re: [ovirt-users] Modules sanlock are not configured

2015-03-30 Thread Roy Golan

On Mar 30, 2015 10:45 PM, Jurriën  wrote:
>
> Hi all,
>
> I have CentOS 7 running and I added the oVirt 3.5 repo to it. I open the oVirt Manager and added a new system to it. 
> The manager says installing and after that is fails to connect. Looking on the system I see:
>
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running mkdirs
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running configure_coredump
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running configure_vdsm_logs
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running wait_for_network
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running run_init_hooks
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running upgraded_version_check
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: Running check_is_configured
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: Error:
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: One of the modules is not configured to work with VDSM.
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: To configure the module use the following:
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: 'vdsm-tool configure [--module module-name]'.
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: If all modules are not configured try to use:
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: 'vdsm-tool configure --force'
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: (The force flag will stop the module's service and start it
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: afterwards automatically to load the new configuration.)
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: libvirt is already configured for vdsm
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: Modules sanlock are not configured
> Mar 30 21:09:37 vdsmd_init_common.sh[7106]: vdsm: stopped during execute check_is_configured task (task returned with error code 1).
>
> So I run vdsm-tool configure after I stop sanlock. 
>
> # vdsm-tool configure 
Try adding --force (this is what the log suggests)
>
> Checking configuration status...
>
> libvirt is already configured for vdsm
> SUCCESS: ssl configured to true. No conflicts
>
> Running configure...
> Reconfiguration of sanlock is done.
>
> Done configuring modules to VDSM.
>
> But when I want to start vdsmd it still gives the error that sanlock is not configured.
>
> Does somebody has a solution for this? 
>
> I am a bit lost on this… Google only tells me that there was a bug in 3.4. 
>
> Thanks in advance,
>
> Jurriën
> This message (including any attachments) may contain information that is privileged or confidential. If you are not the intended recipient, please notify the sender and delete this email immediately from your systems and destroy all copies of it. You may not, directly or indirectly, use, disclose, distribute, print or copy this email or any part of it if you are not the intended recipient
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
Is there anybody who can help me ?
I have more than 6 month of work in these two storage domains...
Thanks,
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





De : users-boun...@ovirt.org [users-boun...@ovirt.org] de la part de VONDRA 
Alain [avon...@unicef.fr]
Envoyé : lundi 30 mars 2015 17:33
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,
Is there anyother way to synchronize the engine and vdsm ?
Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : lundi 30 mars 2015 16:17
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Elad,
I’ve tried many times to restart the engine without success.
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
16:00 À : VONDRA Alain; Idan Shaby Cc : users@ovirt.org Objet : Re: 
[ovirt-users] Storage domain not in pool issue

Thanks for the input.

From the input, it's clear that engine is not synchronized with vdsm regarding 
the storage pool which these 2 domains are attached to.
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so.


Idan, can you please take a look?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 4:18:08 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+-
--+-
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
15:09 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c "psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'"  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: "VONDRA Alain" 
To: "Elad Ben Aharon" 
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
14:41 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue

Which oVirt version are you using?
Also, please exec

Re: [ovirt-users] Snapshot issue

2015-03-30 Thread Koen Vanoppen
I just wanted to remove the snapshots in ovirt... That's all... And now
they are locked. Without the possibility to remove, reboot the vm or cancel
the snapshots...
So I'm stuck... How can I change the status of the snapshot in the db, so
that at least I can remove the VM? And what could be the impact , worst
case?

Kind regards,

2015-03-30 13:46 GMT+02:00 Omer Frenkel :

>
>
> - Original Message -
> > From: "Koen Vanoppen" 
> > To: "Omer Frenkel" , users@ovirt.org
> > Sent: Monday, March 30, 2015 7:44:10 AM
> > Subject: Re: [ovirt-users] Snapshot issue
> >
> > I can't even remove them... Something needs to be done... Any ideas?
> >
>
> not sure i understand what you tried?
> the 'broken' snapshots are locked, so you can't remove them.
> as i said, there is no easy and safe way to fix this...
> you can try to change the status of the snapshot in the db - but i am not
> sure what will happen!
>
> > 2015-03-25 8:45 GMT+01:00 Koen Vanoppen :
> >
> > > Hi Omer,
> > >
> > > Thanks for your reply.
> > > I was cleaning our snapshots on oVirt. So I started deleting snapshots
> one
> > > by one. In total in deleted 10 snapshots. 5 VM's came back up, without
> the
> > > error message, the rest of them are still down with this error message.
> > >
> > > 2015-03-25 7:36 GMT+01:00 Omer Frenkel :
> > >
> > >>
> > >>
> > >> - Original Message -
> > >> > From: "Koen Vanoppen" 
> > >> > To: users@ovirt.org
> > >> > Sent: Wednesday, March 25, 2015 8:09:17 AM
> > >> > Subject: Re: [ovirt-users] Snapshot issue
> > >> >
> > >> > I'm still not able to start my VM's:
> > >> > Cannot run VM. The VM is performing an operation on a Snapshot.
> Please
> > >> wait
> > >> > for the operation to finish, and try again...
> > >> >
> > >> > I already restarted the vdsm deamons on the hypervisors and
> restarted
> > >> the
> > >> > engine too... Does anybody has any clue how I can solve this state?
> > >> >
> > >> > Kind regards,
> > >> >
> > >> > Koen
> > >> >
> > >> > 2015-03-24 7:45 GMT+01:00 Koen Vanoppen < vanoppen.k...@gmail.com
> > :
> > >> >
> > >> >
> > >> >
> > >> > This is in the logs:
> > >> > 2015-03-24 07:41:50,436 WARN
> [org.ovirt.engine.core.bll.RunVmCommand]
> > >> > (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm
> failed
> > >> for
> > >> > user Reasons:
> > >> >
> VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
> > >> >
> > >> > Can't I clear all this? Because I Still have several machines down
> due
> > >> the
> > >> > reason he is still in the "cannot run VM..." state...
> > >> >
> > >>
> > >> this happens because you have a snapshot in status locked,
> > >> probably you did some operation on snapshot and something went wrong
> (it
> > >> might have failed without clearing the state..)
> > >> there is no easy and safe way to fix this (you can change the status
> of
> > >> the snapshot in the db but i am not sure what will happen)
> > >> what action did you do with snapshots on this vm?
> > >> what was the result?
> > >>
> > >> >
> > >> >
> > >> > 2015-03-23 8:40 GMT+01:00 Koen Vanoppen < vanoppen.k...@gmail.com
> > :
> > >> >
> > >> >
> > >> >
> > >> > Dear all,
> > >> >
> > >> > I have the following problem:
> > >> >
> > >> > Cannot run VM. The VM is performing an operation on a Snapshot.
> Please
> > >> wait
> > >> > for the operation to finish, and try again.
> > >> >
> > >> > It is like this since Friday... How can I resolve this? I really
> need
> > >> this vm
> > >> > to be up again...
> > >> >
> > >> > Kind regards,
> > >> >
> > >> > Koen
> > >> >
> > >> >
> > >> >
> > >> > ___
> > >> > 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: [ovirt-users] Snapshot issue

2015-03-30 Thread Koen Vanoppen
INFO  [org.ovirt.engine.core.bll.RemoveVmCommand] (ajp--127.0.0.1-8702-39)
[12468b58] Lock Acquired to object EngineLock [exclusiveLocks= key:
00d0ee6c-9618-4033-9c70-4001e32a0641 value: VM
, sharedLocks= ]
2015-03-31 06:46:02,886 WARN  [org.ovirt.engine.core.bll.RemoveVmCommand]
(ajp--127.0.0.1-8702-39) [12468b58] CanDoAction of action RemoveVm failed
for user vanoppek@. Reasons:
VAR__ACTION__REMOVE,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
2015-03-31 06:46:02,889 INFO  [org.ovirt.engine.core.bll.RemoveVmCommand]
(ajp--127.0.0.1-8702-39) [12468b58] Lock freed to object EngineLock
[exclusiveLocks= key: 00d0ee6c-9618-4033-9c70-4001e32a0641 value: VM
, sharedLocks= ]


2015-03-31 6:35 GMT+02:00 Koen Vanoppen :

> I just wanted to remove the snapshots in ovirt... That's all... And now
> they are locked. Without the possibility to remove, reboot the vm or cancel
> the snapshots...
> So I'm stuck... How can I change the status of the snapshot in the db, so
> that at least I can remove the VM? And what could be the impact , worst
> case?
>
> Kind regards,
>
> 2015-03-30 13:46 GMT+02:00 Omer Frenkel :
>
>>
>>
>> - Original Message -
>> > From: "Koen Vanoppen" 
>> > To: "Omer Frenkel" , users@ovirt.org
>> > Sent: Monday, March 30, 2015 7:44:10 AM
>> > Subject: Re: [ovirt-users] Snapshot issue
>> >
>> > I can't even remove them... Something needs to be done... Any ideas?
>> >
>>
>> not sure i understand what you tried?
>> the 'broken' snapshots are locked, so you can't remove them.
>> as i said, there is no easy and safe way to fix this...
>> you can try to change the status of the snapshot in the db - but i am not
>> sure what will happen!
>>
>> > 2015-03-25 8:45 GMT+01:00 Koen Vanoppen :
>> >
>> > > Hi Omer,
>> > >
>> > > Thanks for your reply.
>> > > I was cleaning our snapshots on oVirt. So I started deleting
>> snapshots one
>> > > by one. In total in deleted 10 snapshots. 5 VM's came back up,
>> without the
>> > > error message, the rest of them are still down with this error
>> message.
>> > >
>> > > 2015-03-25 7:36 GMT+01:00 Omer Frenkel :
>> > >
>> > >>
>> > >>
>> > >> - Original Message -
>> > >> > From: "Koen Vanoppen" 
>> > >> > To: users@ovirt.org
>> > >> > Sent: Wednesday, March 25, 2015 8:09:17 AM
>> > >> > Subject: Re: [ovirt-users] Snapshot issue
>> > >> >
>> > >> > I'm still not able to start my VM's:
>> > >> > Cannot run VM. The VM is performing an operation on a Snapshot.
>> Please
>> > >> wait
>> > >> > for the operation to finish, and try again...
>> > >> >
>> > >> > I already restarted the vdsm deamons on the hypervisors and
>> restarted
>> > >> the
>> > >> > engine too... Does anybody has any clue how I can solve this state?
>> > >> >
>> > >> > Kind regards,
>> > >> >
>> > >> > Koen
>> > >> >
>> > >> > 2015-03-24 7:45 GMT+01:00 Koen Vanoppen < vanoppen.k...@gmail.com
>> > :
>> > >> >
>> > >> >
>> > >> >
>> > >> > This is in the logs:
>> > >> > 2015-03-24 07:41:50,436 WARN
>> [org.ovirt.engine.core.bll.RunVmCommand]
>> > >> > (ajp--127.0.0.1-8702-12) [686c18ce] CanDoAction of action RunVm
>> failed
>> > >> for
>> > >> > user Reasons:
>> > >> >
>> VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
>> > >> >
>> > >> > Can't I clear all this? Because I Still have several machines down
>> due
>> > >> the
>> > >> > reason he is still in the "cannot run VM..." state...
>> > >> >
>> > >>
>> > >> this happens because you have a snapshot in status locked,
>> > >> probably you did some operation on snapshot and something went wrong
>> (it
>> > >> might have failed without clearing the state..)
>> > >> there is no easy and safe way to fix this (you can change the status
>> of
>> > >> the snapshot in the db but i am not sure what will happen)
>> > >> what action did you do with snapshots on this vm?
>> > >> what was the result?
>> > >>
>> > >> >
>> > >> >
>> > >> > 2015-03-23 8:40 GMT+01:00 Koen Vanoppen < vanoppen.k...@gmail.com
>> > :
>> > >> >
>> > >> >
>> > >> >
>> > >> > Dear all,
>> > >> >
>> > >> > I have the following problem:
>> > >> >
>> > >> > Cannot run VM. The VM is performing an operation on a Snapshot.
>> Please
>> > >> wait
>> > >> > for the operation to finish, and try again.
>> > >> >
>> > >> > It is like this since Friday... How can I resolve this? I really
>> need
>> > >> this vm
>> > >> > to be up again...
>> > >> >
>> > >> > Kind regards,
>> > >> >
>> > >> > Koen
>> > >> >
>> > >> >
>> > >> >
>> > >> > ___
>> > >> > 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: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread Elad Ben Aharon
Please attach /var/log/ovirt-engine/engine.log from engine and 
/var/log/vdsm/vdsm.log from the host(s). 


- Original Message -

From: "VONDRA Alain"  
To: "Elad Ben Aharon" , "Idan Shaby"  
Cc: users@ovirt.org 
Sent: Tuesday, 31 March, 2015 1:49:42 AM 
Subject: RE:[ovirt-users] Storage domain not in pool issue 

Hi, 
Is there anybody who can help me ? 
I have more than 6 month of work in these two storage domains... 
Thanks, 
Alain 





Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
De : users-boun...@ovirt.org [users-boun...@ovirt.org] de la part de VONDRA 
Alain [avon...@unicef.fr] 
Envoyé : lundi 30 mars 2015 17:33 
À : Elad Ben Aharon; Idan Shaby 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Hi, 
Is there anyother way to synchronize the engine and vdsm ? 
Thanks 




Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information 
Direction Administrative et Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




-Message d'origine- 
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain 
Envoyé : lundi 30 mars 2015 16:17 
À : Elad Ben Aharon; Idan Shaby 
Cc : users@ovirt.org 
Objet : Re: [ovirt-users] Storage domain not in pool issue 

Elad, 
I’ve tried many times to restart the engine without success. 
Thanks 


De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
16:00 À : VONDRA Alain; Idan Shaby Cc : users@ovirt.org Objet : Re: 
[ovirt-users] Storage domain not in pool issue 

Thanks for the input. 

>From the input, it's clear that engine is not synchronized with vdsm regarding 
>the storage pool which these 2 domains are attached to. 
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so. 


Idan, can you please take a look? 
Thanks 



Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 4:18:08 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

Thank you for your help ! 
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain. 
I didn’t yet try to put the second bad SD in maintenance after that. 

id | storage_pool_id 
--+- 
--+- 
072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 | 
37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41 
7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41 
7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41 
1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41 
69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41 
(7 lignes) 

Thanks 




De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
15:09 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue 

Thanks. 

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in. 
Via which API did you attempt to activate the domain in this pool? 

Also, please execute the following command on engine and paste its output here. 
su - postgres -c "psql -U postgres engine -c 'select id,storage_pool_id from 
storage_domains;'" | less -S 



Alain VONDRA 
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière 
+33 1 44 39 77 76 
UNICEF France 
3 rue Duguay Trouin 75006 PARIS 
www.unicef.fr 




 
From: "VONDRA Alain"  
To: "Elad Ben Aharon"  
Cc: users@ovirt.org 
Sent: Monday, 30 March, 2015 3:43:35 PM 
Subject: RE: [ovirt-users] Storage domain not in pool issue 

My oVirt version is 3.5.0.1 

[root@unc-srv-hyp2 ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 uuid = 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9 
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf 
state = OK 
version = 3 
role = Regular 
type = ISCSI 
class = Data 
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86'] 
name = VOL-UNC-PROD-02 





De : Elad Ben Ah