[ovirt-users] Still running in to problems trying to implement OVN

2017-09-20 Thread Mitchell Smith
Hi List,

I was very happy to see overt added support for OVN recently, and it was a 
fairly strong factor in choosing overt for our current project, however being a 
very new feature with very little in the way of publicly available 
documentation, we are having some difficulties with implementation.

I have found a few very good articles on OVN itself and am comfortable with OVN 
cli for the most part, but translating that in to overt logical networks and 
NICs is proving to be quite a challenge.

As you might remember from one of my earlier posts, we do have some limitations 
with the current hosting provider also that make our network topology for this 
project less than ideal, but hopefully with OVN I can get to the desired 
outcome somehow.

So the first fairly big issue we run into relates to the  ovirtmgmt network, 
obviously this is a hard dependency of overt and it can’t be removed. As we 
only have one physical NIC in each server though, this causes some problems 
since we can’t also attach OVS to the same NIC as the ovirtmgmt bridge. Ideally 
we could set up OVN and just plug ovirtmgmt in to that network, but I can’t 
find any way to do that.

Secondly our public IPs each have a specific MAC attached to them, something in 
the 00:50:56 VMware prefix, I want to add these on OVN and then SNAT them to 
the VMs internal IP on the 10.x.x.x network, I can work out how to do this on 
the cli, but not in overt, should I just manually create these interfaces and 
then get overt to try and import them or similar?

As an alternative, am I making this type of network structure to complex by 
using OVN, and should I think about just creating a private address space using 
Tinc / PeerVPN / FreeLAN / similar, and then just set up a single VM with 
multiple interfaces on it acting as a router?

To try and explain the network structure a bit better, each server has one 
physical NIC with a public IP address, each server also has a /29, each 
individual IP has a MAC associated with it on the vendors firewall. I plan to 
have a private subnet across the whole cluster managed with OVN, which I will 
place VMs on. The public IPs will be transparently routed to the private IPs 
using OVN routers.

It’s less than ideal, but those are the constraints we have to work in for this 
project.

My final question is completely off topic for this mostly OVN themed email, but 
we have also been looking at ScaleIO from EMC, and it looks like a decent 
solution. We have built our proof of concept environment using Gluster but we 
are considering ScaleIO for the final implementation, and I was curious if 
anyone else had tried ScaleIO with overt, and did you find any advantages / 
disadvantages compared to Gluster?

I will end this rather long email here, but if anyone has tried to implement a 
similar network structure on overt, I would very much appreciate any 
suggestions you might have for the best way to proceed.

Thanks :)

Mitch

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


Re: [ovirt-users] VM running on multiple hosts

2017-09-20 Thread Michal Skrivanek

> On 20 Sep 2017, at 21:08, Yaniv Kaul  wrote:
> 
> 
> 
> On Sep 20, 2017 9:50 PM,  > wrote:
> This matches about with what we were thinking, thank you!
> 
> To answer your questions
> 
> We do not have power management configured due to it causing a cascading 
> failure early in our deployment.  The host was not fenced and "confirm host 
> rebooted" was never used.  The VMs were powered on via virsh (this shouldn't 
> have happened)
> 
> The way they were powered on is most likely why they were corrupted is our 
> thought
> 
> 

yes. 
That’s why we put a basic password protection to the plain virsh access. Easy 
to circumvent, but then you’re on your own…

Hm, how exactly were they powered on by virsh? Normally this is not possible 
for oVirt VMs at all due to initial set up of host-specific things(disk paths), 
we also use transient libvirt domains so stopped VMs are not defined in libvirt 
once they stop. So I wonder how exactly was this done?
Unless they were in Paused state where you indeed can simply continue the 
execution. 

> 
> We'd be happy if you could share both engine and host logs, including 
> vdsm.log, engine.log and /var/log/messages from both. 
> Y. 
> 
> 
> 
> Logan
> 
>> On September 20, 2017 at 12:03 PM Michal Skrivanek 
>> > wrote:
>> 
>> 
>>> On 20 Sep 2017, at 18:06, Logan Kuhn >> > wrote:
>>> 
>>> We had an incident where a VM hosts' disk filled up, the VMs all went 
>>> unknown in the web console, but were fully functional if you were to login 
>>> or use the services of one.
>> 
>> Hi,
>> yes, that can happen since the VM’s storage is on NAS whereas the server 
>> itself is non-functional as the management and all other local processes are 
>> using local resources
>> 
>>>   We couldn't migrate them so we powered them down on that host and powered 
>>> them up and let ovirt choose the host for it, same as always. 
>> 
>> that’s a mistake. The host should be fenced in that case, you likely do not 
>> have a power management configured, do you? Even when you do not have a 
>> fencing device available it should have been resolved manually by rebooting 
>> it  manually(after fixing the disk problem), or in case of permanent damage 
>> (e.g. server needs to be replaced, that takes a week, you need to run those 
>> VMs in the meantime elsewhere) it should have been powered off and VM states 
>> should be reset by “confirm host has been rebooted” manual action.
>> 
>> Normally you should now be able to run those VMs while the status of the 
>> host is still Not Responding - was it not the case? How exactly you get to 
>> the situation that you were able to power up the VMs?

sorry, I meant "Normally you should not be able to run those VMs”

Thanks,
michal

>> 
>> 
>>> However the disk image on a few of them were corrupted because once we 
>>> fixed the host with the full disk, it still thought it should be running 
>>> the VM.  Which promptly corrupted the disk, the error seems to be this in 
>>> the logs:
>> 
>> this can only happen for VMs flagged as HA, is it a case?
>> 
>> Thanks,
>> michal
>> 
>>> 
>>> 2017-09-19 21:59:11,058 INFO  
>>> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
>>> (DefaultQuartzScheduler3) [36c806f6] VM 
>>> '70cf75c7-0fc2-4bbe-958e-7d0095f70960'(testhub) is running in db and not 
>>> running on VDS 'ef6dc2a3-af6e-4e00-aa4
>>> 0-493b31263417'(vm-int7)
>>> 
>>> We upgraded to 4.1.6 from 4.0.6 earlier in the day, I don't really think 
>>> it's anything more than coincidence, but it's worrying enough to send to 
>>> the community.
>>> 
>>> Regards,
>>> Logan
>>> ___
>>> Users mailing list
>>> Users@ovirt.org 
>>> http://lists.ovirt.org/mailman/listinfo/users 
>>> 
>> 
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM running on multiple hosts

2017-09-20 Thread Yaniv Kaul
On Sep 20, 2017 9:50 PM,  wrote:

This matches about with what we were thinking, thank you!

To answer your questions

We do not have power management configured due to it causing a cascading
failure early in our deployment.  The host was not fenced and "confirm host
rebooted" was never used.  The VMs were powered on via virsh (this
shouldn't have happened)

The way they were powered on is most likely why they were corrupted is our
thought


We'd be happy if you could share both engine and host logs, including
vdsm.log, engine.log and /var/log/messages from both.
Y.


Logan

On September 20, 2017 at 12:03 PM Michal Skrivanek <
michal.skriva...@redhat.com> wrote:


On 20 Sep 2017, at 18:06, Logan Kuhn  wrote:

We had an incident where a VM hosts' disk filled up, the VMs all went
unknown in the web console, but were fully functional if you were to login
or use the services of one.


Hi,
yes, that can happen since the VM’s storage is on NAS whereas the server
itself is non-functional as the management and all other local processes
are using local resources

  We couldn't migrate them so we powered them down on that host and powered
them up and let ovirt choose the host for it, same as always.


that’s a mistake. The host should be fenced in that case, you likely do not
have a power management configured, do you? Even when you do not have a
fencing device available it should have been resolved manually by rebooting
it  manually(after fixing the disk problem), or in case of permanent damage
(e.g. server needs to be replaced, that takes a week, you need to run those
VMs in the meantime elsewhere) it should have been powered off and VM
states should be reset by “confirm host has been rebooted” manual action.

Normally you should now be able to run those VMs while the status of the
host is still Not Responding - was it not the case? How exactly you get to
the situation that you were able to power up the VMs?


However the disk image on a few of them were corrupted because once we
fixed the host with the full disk, it still thought it should be running
the VM.  Which promptly corrupted the disk, the error seems to be this in
the logs:


this can only happen for VMs flagged as HA, is it a case?

Thanks,
michal


2017-09-19 21:59:11,058 INFO
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
(DefaultQuartzScheduler3) [36c806f6] VM
'70cf75c7-0fc2-4bbe-958e-7d0095f70960'(testhub)
is running in db and not running on VDS 'ef6dc2a3-af6e-4e00-aa4
0-493b31263417'(vm-int7)

We upgraded to 4.1.6 from 4.0.6 earlier in the day, I don't really think
it's anything more than coincidence, but it's worrying enough to send to
the community.

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



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


Re: [ovirt-users] VM running on multiple hosts

2017-09-20 Thread support
This matches about with what we were thinking, thank you!

To answer your questions

We do not have power management configured due to it causing a cascading 
failure early in our deployment.  The host was not fenced and "confirm host 
rebooted" was never used.  The VMs were powered on via virsh (this shouldn't 
have happened)

The way they were powered on is most likely why they were corrupted is our 
thought


Logan

> On September 20, 2017 at 12:03 PM Michal Skrivanek 
>  wrote:
> 
> 
> 
> > > On 20 Sep 2017, at 18:06, Logan Kuhn 
>  wrote:
> > 
> > We had an incident where a VM hosts' disk filled up, the VMs all 
> > went unknown in the web console, but were fully functional if you were to 
> > login or use the services of one.
> > 
> > > 
> Hi,
> yes, that can happen since the VM’s storage is on NAS whereas the server 
> itself is non-functional as the management and all other local processes are 
> using local resources
> 
> 
> > >   We couldn't migrate them so we powered them down on 
> that host and powered them up and let ovirt choose the host for it, same as 
> always. 
> > 
> > > 
> that’s a mistake. The host should be fenced in that case, you likely do 
> not have a power management configured, do you? Even when you do not have a 
> fencing device available it should have been resolved manually by rebooting 
> it  manually(after fixing the disk problem), or in case of permanent damage 
> (e.g. server needs to be replaced, that takes a week, you need to run those 
> VMs in the meantime elsewhere) it should have been powered off and VM states 
> should be reset by “confirm host has been rebooted” manual action.
> 
> Normally you should now be able to run those VMs while the status of the 
> host is still Not Responding - was it not the case? How exactly you get to 
> the situation that you were able to power up the VMs?
> 
> 
> 
> > > However the disk image on a few of them were corrupted 
> because once we fixed the host with the full disk, it still thought it should 
> be running the VM.  Which promptly corrupted the disk, the error seems to be 
> this in the logs:
> > 
> > > 
> this can only happen for VMs flagged as HA, is it a case?
> 
> Thanks,
> michal
> 
> 
> > > 
> > 2017-09-19 21:59:11,058 INFO  
> > [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
> > (DefaultQuartzScheduler3) [36c806f6] VM 
> > '70cf75c7-0fc2-4bbe-958e-7d0095f70960'(testhub) is running in db and not 
> > running on VDS 'ef6dc2a3-af6e-4e00-aa4
> > 0-493b31263417'(vm-int7)
> > 
> > We upgraded to 4.1.6 from 4.0.6 earlier in the day, I don't really 
> > think it's anything more than coincidence, but it's worrying enough to send 
> > to the community.
> > 
> > Regards,
> > Logan
> > ___
> > Users mailing list
> > Users@ovirt.org mailto: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] VM running on multiple hosts

2017-09-20 Thread Michal Skrivanek

> On 20 Sep 2017, at 18:06, Logan Kuhn  wrote:
> 
> We had an incident where a VM hosts' disk filled up, the VMs all went unknown 
> in the web console, but were fully functional if you were to login or use the 
> services of one.

Hi,
yes, that can happen since the VM’s storage is on NAS whereas the server itself 
is non-functional as the management and all other local processes are using 
local resources

>   We couldn't migrate them so we powered them down on that host and powered 
> them up and let ovirt choose the host for it, same as always. 

that’s a mistake. The host should be fenced in that case, you likely do not 
have a power management configured, do you? Even when you do not have a fencing 
device available it should have been resolved manually by rebooting it  
manually(after fixing the disk problem), or in case of permanent damage (e.g. 
server needs to be replaced, that takes a week, you need to run those VMs in 
the meantime elsewhere) it should have been powered off and VM states should be 
reset by “confirm host has been rebooted” manual action.

Normally you should now be able to run those VMs while the status of the host 
is still Not Responding - was it not the case? How exactly you get to the 
situation that you were able to power up the VMs?


> However the disk image on a few of them were corrupted because once we fixed 
> the host with the full disk, it still thought it should be running the VM.  
> Which promptly corrupted the disk, the error seems to be this in the logs:

this can only happen for VMs flagged as HA, is it a case?

Thanks,
michal

> 
> 2017-09-19 21:59:11,058 INFO  
> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
> (DefaultQuartzScheduler3) [36c806f6] VM 
> '70cf75c7-0fc2-4bbe-958e-7d0095f70960'(testhub) is running in db and not 
> running on VDS 'ef6dc2a3-af6e-4e00-aa4
> 0-493b31263417'(vm-int7)
> 
> We upgraded to 4.1.6 from 4.0.6 earlier in the day, I don't really think it's 
> anything more than coincidence, but it's worrying enough to send to the 
> community.
> 
> Regards,
> Logan
> ___
> 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] VM running on multiple hosts

2017-09-20 Thread Logan Kuhn
We had an incident where a VM hosts' disk filled up, the VMs all went
unknown in the web console, but were fully functional if you were to login
or use the services of one.  We couldn't migrate them so we powered them
down on that host and powered them up and let ovirt choose the host for it,
same as always.  However the disk image on a few of them were corrupted
because once we fixed the host with the full disk, it still thought it
should be running the VM.  Which promptly corrupted the disk, the error
seems to be this in the logs:

2017-09-19 21:59:11,058 INFO
 [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
(DefaultQuartzScheduler3) [36c806f6] VM
'70cf75c7-0fc2-4bbe-958e-7d0095f70960'(testhub) is running in db and not
running on VDS 'ef6dc2a3-af6e-4e00-aa4
0-493b31263417'(vm-int7)

We upgraded to 4.1.6 from 4.0.6 earlier in the day, I don't really think
it's anything more than coincidence, but it's worrying enough to send to
the community.

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


[ovirt-users] VM running on multiple hosts

2017-09-20 Thread Logan Kuhn
We had an incident where a VM hosts' disk filled up, the VMs all went unknown 
in the web console, but were fully functional if you were to login or use the 
services of one. We couldn't migrate them so we powered them down on that host 
and powered them up and let ovirt choose the host for it, same as always. 
However the disk image on a few of them were corrupted because once we fixed 
the host with the full disk, it still thought it should be running the VM. 
Which promptly corrupted the disk, the error seems to be this in the logs: 

2017-09-19 21:59:11,058 INFO 
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler3) [36c806f6] VM 
'70cf75c7-0fc2-4bbe-958e-7d0095f70960'(testhub) is running in db and not 
running on VDS 'ef6dc2a3-af6e-4e00-aa4 
0-493b31263417'(vm-int7) 

We upgraded to 4.1.6 from 4.0.6 earlier in the day, I don't really think it's 
anything more than coincidence, but it's worrying enough to send to the 
community. 

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


Re: [ovirt-users] Engine migration and host import

2017-09-20 Thread Simone Tiraboschi
On Wed, Sep 20, 2017 at 12:30 AM, Ben Bradley  wrote:

> Hi All
>
> I've been running a single-host ovirt setup for several months, having
> previously used a basic QEMU/KVM for a few years in lab environments.
>
> I currently have the ovirt engine running at the bare-metal level, with
> the box also acting as the single host. I am also running this with local
> storage.
>
> I now have an extra host I can use and would like to migrate to a hosted
> engine. The following documentation appears to be perfect and pretty clear
> about the steps involved: https://www.ovirt.org/develop/
> developer-guide/engine/migrate-to-hosted-engine/ and
> https://www.ovirt.org/documentation/self-hosted/chap-Migrati
> ng_from_Bare_Metal_to_an_EL-Based_Self-Hosted_Environment
>
> However I'd like to try and get a bit more of an understanding of the
> process that happens behind the scenes during the cut-over from one engine
> to a new/hosted engine.
>
> As an experiment I attempted the following:
> - created a new VM within my current environment (bare-metal engine)
> - creating an engine-backup
> - stopped the bare-metal engine
> - restored the backup into the new VM
> - ran engine-setup within the new VM
> The new engine started up ok and I was able to connect and login to the
> web UI. However my host was "unresponsive" and I was unable to manage it in
> any way from the VM. I shut the VM down and started the bare-metal
> ovirt-engine again on the host and everything worked as before. I didn't
> try very hard to make it work however.
>
> The magic missing from the basic process I tried is the synchronising and
> importing of the existing host, which is what the hosted-engine utility
> does.
>

No magic up to now: the host are simply in the DB you restored.
If the VM has network connectivity and the same host-name of the old
machine you shouldn't see any issue.
If you changed the host-name moving to the VM, you should simply run
engine-rename after the restore.

The only detail is that hosted-engine-setup will try to add the host where
you are running it to the engine and so you have to manually remove it just
after the restore in order to avoid a failure there.



>
> Can anyone describe that process in a bit more detail?
> Is it possible to perform any part of that process manually?
>
> I'm planning to expand my lab and dev environments so for me it's
> important to discover the following...
> - That I'm able to reverse the process back to bare-metal engine if I ever
> need/want to
> - That I can setup a new VM or host with nothing more than an
> engine-backup but still be able to regain control of exiting hosts and VMs
> within the cluster
>
> My main concern after my basic attempt at a "restore/migration" above is
> that I might not be able to re-import/sync an existing host after I have
> restored engine from a backup.
>
> I have been able to export VMs to storage, remove them from ovirt,
> re-install engine and restore, then import VMs from the export domain. That
> all worked fine. But it involved shutting down all VMs and removing their
> definitions from the environment.
>
> Are there any pre-requisites to being able to re-import an existing
> running host (and VMs), such as placing ALL hosts into maintenance mode and
> shutting down any VMs first?
>
> Any insight into host recovery/import/sync processes and steps will be
> greatly appreciated.
>
> Best regards
> Ben
> ___
> 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] Odp: Re: How to upgrade self-hosted engine?

2017-09-20 Thread Kasturi Narra
Hi,

   upgrade HE (Hosted Engine ) by doing the steps below.

1) Move HE to global maintenance by running the command 'hosted-engine
--set-maintenance --mode=global'
2) Add the required repos which has higher package versions.
3) Run 'yum update ovirt\*setup\*'
4) engine-setup
5) Once the setup is done successfully please move HE out of global
maintenance mode by running the command 'hosted-engine --set-maintenance
--mode=none'

For upgrade node you can do the steps below:

1) If there is an upgrade link present in the 'General' tab of the UI, (if
ovirt node) click upgrade from UI which will move the host to maintenance
and run upgrade on the system, reboots and brings it back up to Normal
state.

2) If you do not see the upgrade link, then add the repos to which you
would want to update the node.

3) Run 'yum update'

4) Reboot the system.

5) make sure that you are on the latest image by running 'imgbase w' if it
is a ovirt node.

6)otherwise just make sure that you are on the latest kernel once your
upgrade finishes.

Hope this helps 

Thanks
kasturi

On Wed, Sep 20, 2017 at 6:34 PM, gabriel_skup...@o2.pl <
gabriel_skup...@o2.pl> wrote:

> To be honest, I don't see consistency regarding all that upgrade
> procedures. Have a look here:
> https://www.ovirt.org/documentation/upgrade-guide/chap-Updating_the_oVirt_
> Environment/
> It asks to update the system too :)
>
> I will appreciate if somebody clearly explains:
> -to upgrade the Node - please do this and this
> -to upgrade the Hosted-Engine - please do this and this.
>
> G.
>
> Dnia 20 września 2017 14:52 Johan Bernhardsson 
> napisał(a):
>
> If you follow that guide it will update everything on the virtual server
> running the engine. You should not run yum to upgrade the packages
> (correct me anyone if i am wrong about this)
>
> The engine-setup will download and install the packages for you.
>
> And on the nodes  upgrade first via the web interface and after that you
> can upgrade with yum on the nodes. Don't forget to have the node in
> maintence mode when you run yum update
>
> /Johan
> 2017-09-20 14:39 skrev gabriel_skup...@o2.pl:
>
> Thanks. What about the system itself?
>
> Is yum update enough?
>
> Dnia 20 września 2017 13:25 Johan Bernhardsson 
> napisał(a):
>
> Follow this guide if it is between minor releases
>
>
> https://www.ovirt.org/documentation/upgrade-guide/
> chap-Updates_between_Minor_Releases/
>
>
>
> Don't forget to send the hosted-engine to global maintenance
>
> /Johan
>
> On September 20, 2017 13:11:41 gabriel_skup...@o2.pl wrote:
>
> In oVirt Engine Web Administration portal I can see option to
> upgrade the nodes but can't see any option to upgrade
> hosted-engine itself?
>
> What is the recommended procedure for it?
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
> Security all the way ...
>
> Linux/CMS/Network/Print/Virtualisation/VoIP Consultant
>
> Kafit AB
> Orgnr:  556792-5945
> Mobile: +46705111751
> Sweden: +46101993005
> Seychelles: +2486478105
> Uk: +448701821792
> Email:  jo...@kafit.se
> Web:http://www.kafit.se
>
> Connect with me on LinkedIn: http://www.linkedin.com/in/smallone
>
> About me: http://about.me/smallone/bio
>
>
> ___
> 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] Odp: Re: How to upgrade self-hosted engine?

2017-09-20 Thread gabriel_skupien
To be honest, I dont see consistency regarding all that upgrade 
procedures. Have a look here:  www.ovirt.org www.ovirt.org  It asks to update 
the system too :)   I will appreciate if somebody clearly explains:  -to 
upgrade the Node - please do this and this  -to upgrade the Hosted-Engine - 
please do this and this.   G.




  Dnia 20 września 2017 14:52 Johan Bernhardsson 
jo...@kafit.se napisał(a):


   If you follow that guide it will update everything on the 
virtual server
 running the engine. You should not run yum to upgrade the packages
 (correct me anyone if i am wrong about this)

 The engine-setup will download and install the packages for you.

 And on the nodes  upgrade first via the web interface and after that you
 can upgrade with yum on the nodes. Dont forget to have the node in
 maintence mode when you run yum update

 /Johan
 2017-09-20 14:39 skrev gabriel_skup...@o2.pl:

 Thanks. What about the system itself?

 Is yum update enough?

  Dnia 20 września 2017 13:25 Johan Bernhardsson jo...@kafit.se
 napisał(a):


 Follow this guide if it is between minor releases



 www.ovirt.org www.ovirt.org



 Dont forget to send the hosted-engine to global maintenance

 /Johan

 On September 20, 2017 13:11:41   gabriel_skup...@o2.pl  wrote:


 In oVirt Engine Web Administration portal I can see option to
 upgrade the nodes but cant see any option to upgrade
 hosted-engine itself?

 What is the recommended procedure for it?

 __
 Users mailing list
  Users@ovirt.org
 lists.ovirt.org lists.ovirt.org




 --
 Security all the way ...

 Linux/CMS/Network/Print/Virtua Consultant

 Kafit AB
 Orgnr:  556792-5945
 Mobile: +46705111751
 Sweden: +46101993005
 Seychelles: +2486478105
 Uk: +448701821792
 Email:  jo...@kafit.se
 Web:     www.kafit.se www.kafit.se

 Connect with me on LinkedIn:  www.linkedin.com www.linkedin.com

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


[ovirt-users] trunk port for vm guest

2017-09-20 Thread Charles Kozler
Hello,

I have seen mixed results for this search on this list so I'd like to clear
it up

I have a VM that I need to configure with a trunk port so that all of my
VLANs can be configured on it but not as separate NICs (eth0, eth1, eth2,
etc)

I have seen on this list about a year ago someone said to setup a network
and leave it untagged and ovirt will pass all tagged and untagged packets
there. Then attach this to the guest VM and configure the trunk port inside
the VM (eth0:)

However, I saw also about 6 months ago someone suggest something like VLAN
tag 4095 so wondering if the support came in for this...or I should use
untagged VM network

So - how can I configure a trunk port for a guest VM?

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


Re: [ovirt-users] Odp: Re: How to upgrade self-hosted engine?

2017-09-20 Thread Johan Bernhardsson
If you follow that guide it will update everything on the virtual server 
running the engine. You should not run yum to upgrade the packages 
(correct me anyone if i am wrong about this)


The engine-setup will download and install the packages for you.

And on the nodes  upgrade first via the web interface and after that you 
can upgrade with yum on the nodes. Don't forget to have the node in 
maintence mode when you run yum update


/Johan
2017-09-20 14:39 skrev gabriel_skup...@o2.pl:

Thanks. What about the system itself?

Is yum update enough?

 Dnia 20 września 2017 13:25 Johan Bernhardsson 
napisał(a):


Follow this guide if it is between minor releases



https://www.ovirt.org/documentation/upgrade-guide/chap-Updates_between_Minor_Releases/



Don't forget to send the hosted-engine to global maintenance

/Johan

On September 20, 2017 13:11:41 gabriel_skup...@o2.pl wrote:


In oVirt Engine Web Administration portal I can see option to
upgrade the nodes but can't see any option to upgrade
hosted-engine itself?

What is the recommended procedure for it?

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


--
Security all the way ...

Linux/CMS/Network/Print/Virtualisation/VoIP Consultant

Kafit AB
Orgnr:  556792-5945
Mobile: +46705111751
Sweden: +46101993005
Seychelles: +2486478105
Uk: +448701821792
Email:  jo...@kafit.se
Web:http://www.kafit.se

Connect with me on LinkedIn: http://www.linkedin.com/in/smallone

About me: http://about.me/smallone/bio
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine service crash

2017-09-20 Thread Sandro Bonazzola
2017-08-13 7:59 GMT+02:00 Yedidyah Bar David :

> On Sat, Aug 12, 2017 at 2:39 PM, Andrew Dent 
> wrote:
> > Hi
> >
> > I have a hosted-engine 4.1.2.2-1.el7.centos setup
> > The ovirt-engine service crashed and this is the result of querying the
> > status of the service.
> > Restarting the service works, but then about 10 minutes later while using
> > the GUI it will crash again.
> > I don't seem to need to restart apache or the webproxy services, though
> if I
> > do restart those two, the ovirt-engine service will still crash ~10
> minutes
> > later.
> > How can I fix this, and where to I look for more hints as to why this is
> > happening?
>
> You can have a look at /var/log/ovirt-engine/*.log.
>
> Good luck,
>

Has this been solved by info you found in logs?



>
> >
> > Redirecting to /bin/systemctl status  ovirt-engine.service
> > ● ovirt-engine.service - oVirt Engine
> >   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled;
> > vendor preset: disabled)
> >   Active: failed (Result: exit-code) since Sat 2017-08-12 21:01:52 AEST;
> > 2min 14s ago
> >  Process: 2028
> > ExecStart=/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
> > --redirect-output --systemd=notify $EXTRA_ARGS start (code=exited,
> > status=1/FAILURE)
> > Main PID: 2028 (code=exited, status=1/FAILURE)
> >
> > Kind regards
> >
> >
> > Andrew Dent
> >
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
>
> --
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

TRIED. TESTED. TRUSTED. 

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


[ovirt-users] Odp: Re: How to upgrade self-hosted engine?

2017-09-20 Thread gabriel_skupien
Thanks. What about the system itself?Is yum update enough?




  Dnia 20 września 2017 13:25 Johan Bernhardsson 
jo...@kafit.se napisał(a):







 Follow this guide if it is
between minor releases
 www.ovirt.org www.ovirt.org
 Dont forget to send the
hosted-engine to global maintenance
 /Johan



 On
September 20, 2017 13:11:41   gabriel_skup...@o2.pl  wrote:

 In oVirt Engine Web Administration portal I can see option to upgrade
the nodes but cant see any option to upgrade hosted-engine
itself?   What is the recommended procedure for
it?
_
Users mailing list
   Users@ovirt.org
 lists.ovirt.org lists.ovirt.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to upgrade self-hosted engine?

2017-09-20 Thread Johan Bernhardsson

Follow this guide if it is between minor releases


https://www.ovirt.org/documentation/upgrade-guide/chap-Updates_between_Minor_Releases/

Don't forget to send the hosted-engine to global maintenance

/Johan



On September 20, 2017 13:11:41 gabriel_skup...@o2.pl wrote:

In oVirt Engine Web Administration portal I can see option to upgrade the 
nodes but cant see any option to upgrade hosted-engine itself?   What 
is the recommended procedure for 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


Re: [ovirt-users] Odp: How to import OVA file into oVirt

2017-09-20 Thread Arik Hadas
On Wed, Sep 20, 2017 at 12:55 PM, gabriel_skup...@o2.pl <
gabriel_skup...@o2.pl> wrote:

>
> Dnia 20 września 2017 11:25 Arik Hadas  napisał(a):
>
>
>
> On Wed, Sep 20, 2017 at 11:59 AM, 
> gabriel_skup...@o2.pl < gabriel_skup...@o2.pl>
> wrote:
>
>
> Dnia 19 września 2017 16:03 Arik Hadas < 
> aha...@redhat.com> napisał(a):
>
>
>
> On Tue, Sep 19, 2017 at 4:52 PM, 
> gabriel_skup...@o2.pl < 
> gabriel_skup...@o2.pl> wrote:
>
> I also tried to use the Import Virtual Machines option, there is an option
> to set the source to Vmware Virtual Appliance (OVA) but I don't know how to
> fill in the Path box. Tried http://ip_address/file.ova
>  but did not work.
>
>
> Yes, that's the right way of doing that.
> In the path you should specify the local path to the file on the host, for
> example if you placed in the export domain it will be something like:
> /rhev/data-center///.../file.ova
> but you can put it also in /tmp in some specific host and select that host
> as a proxy.
>
>
> Thanks, it works but now. I am getting:
> -Failed to convert Vm ASAv
> and then
> -Failed to import Vm ASAv to Data Center Default, Cluster Default.
>
> Do you know how to troubleshoot it?
>
>
> So you managed to reach the conversion phase - that's a good progress.
> We'll need the VDSM log that covers the time of the conversion on the host
> that was selected as proxy in order to investigate the failure. Could you
> please file a bug [1] and attach the log to that bug?
>
> [1] https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm
>
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1493480
>

Thanks.
Let's discuss it there.


>
>
>
>
>
>
>
>
>
> G.
>
> Dnia 19 września 2017 15:40 
> gabriel_skup...@o2.pl < 
> gabriel_skup...@o2.pl> napisał(a):
>
> I am trying to import OVA file into my test oVirt env. I already have the
> export domain configured but when I go to the "VM Import" tab the "Import"
> button in inactive.
>
> oVirt 4.1.5/4.1.6
>
> Any clue?
>
> 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
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to upgrade self-hosted engine?

2017-09-20 Thread gabriel_skupien
In oVirt Engine Web Administration portal I can see option to upgrade the nodes 
but cant see any option to upgrade hosted-engine itself?   What is the 
recommended procedure for it?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Impossible to add other host to hosted engine's cluster

2017-09-20 Thread Simone Tiraboschi
On Wed, Sep 20, 2017 at 8:18 AM, Demeter Tibor  wrote:

> Hi,
> I've created a 3 host based hosted engine. I can't add other hosts to
> hosted engine's cluster.
>
> Before the setup, I have created a 3 node glusterfs for hosted engine on
> them.
> Because I would like use and separate vlans, I created two vlan bridge on
> all host. First is for ovirtmgmt, and a second for glusterfs.
> The hosted engine setup was successful but when I try to add other hosts,
> that is does not work, because vdsmd could not started.
> I found some network related errors in the logs:
>
> restore-net::ERROR::2017-09-19 19:14:48,072::__init__::51::root::(__exit__)
> Failed rollback transaction last known good network.
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line
> 150, in _setup_legacy
> in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 523, in bonds_setup
> _bonds_remove(remove, configurator, _netinfo, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 548, in _bonds_remove
> if _is_bond_valid_for_removal(name, _netinfo, in_rollback):
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 573, in _is_bond_valid_for_removal
> 'interfaces %s' % (bond, bond_users))
> ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another
> interfaces set(['bond0.105', 'bond0.104'])")
> restore-net::ERROR::2017-09-19 19:14:48,073::vdsm-restore-
> net-config::478::root::(restore) unified restoration failed.
> Traceback (most recent call last):
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 473, in restore
> unified_restoration()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in
> unified_restoration
> _remove_networks_in_running_config()
>   File "/usr/share/vdsm/vdsm-restore-net-config", line 238, in
> _remove_networks_in_running_config
> '_inRollback': True})
>   File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 218,
> in setupNetworks
> _setup_networks(networks, bondings, options)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 239,
> in _setup_networks
> netswitch.setup(networks, bondings, options, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line
> 132, in setup
> _setup_legacy(legacy_nets, legacy_bonds, options, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line
> 150, in _setup_legacy
> in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 523, in bonds_setup
> _bonds_remove(remove, configurator, _netinfo, in_rollback)
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 548, in _bonds_remove
> if _is_bond_valid_for_removal(name, _netinfo, in_rollback):
>   File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py",
> line 573, in _is_bond_valid_for_removal
> 'interfaces %s' % (bond, bond_users))
> ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another
> interfaces set(['bond0.105', 'bond0.104'])")
>
> The four host network config is same, the ovirtmgmt bond.104 is the
> default route.
>
> How can I add another host to cluster?
>

Is the host in non operational state now?
Could you please try moving it to maintenance mode to edit its network
configuration and then try activating it again?


>
>
>
> *Üdvözlettel:*
>
>
> *Demeter Tibor*
>
>
> E-mail: tdeme...@itsmart.hu
> Mobil: +36 30 4620500
> Web: www.itsmart.hu 
>
> 
> ItSmart Informatikai Kft.
> *2120 Dunakeszi, Wass Albert U. 2. 1/9.*
> *Telefon: +36 30 462 0500 *
>
> [EN] This message and any attachments are confidential and privileged and
> intended for the use of the addressee only. If you have received this
> communication in error, please notify the sender by replay e-mail and
> delete this message from your system. Please note that Internet e-mail
> guarantees neither the confidentiality nor the proper receipt of the
> message sent. The data deriving from our correspondence with you are
> included in a file of  ITSMART Ltd which exclusive purpose is to manage the
> communications of the company; under the understanding that, in maintaining
> said correspondence, you authorize the treatment of such data for the
> mentioned purpose. You are entitled to exercise your rights of access,
> rectification, cancellation and opposition by addressing such written
> application to address above.
> [HUN] Ez az üzenet és annak bármely csatolt anyaga bizalmas, a nyilvános
> közléstol védett, kizárólag a címzett használhatja fel. Ha Ön nem az üzenet
> címzettje, úgy kérjük válaszüzenetben értesítse errol a feladót és törölje
> az üzenetet a rendszerbol. Kérjük vegye figyelembe, hogy az email-en
> 

Re: [ovirt-users] Hosted-engine --deploy 4.1.6 - Web GUI Down

2017-09-20 Thread Simone Tiraboschi
On Wed, Sep 20, 2017 at 9:05 AM, Johan Bernhardsson  wrote:

> Why are you stopping firewalld? A better solution is to actually add
> firewall rules and open up what's needed.
>
engine-setup should already correctly configure it without any user
intervention.
The web ui is exposed over https on the defult port so 443/tcp.



> /Johan
>
> On September 19, 2017 22:17:51 Mat Gomes 
> wrote:
>
>> Hi Guys,
>>
>>
>>
>> I’m attempting to rebuild my environment for production testing, We’ve
>> multiple locations NY and CH with a 2+1arbiter setup, this will run
>> Geo-Replication.
>>
>>
>>
>> All goes smoothly, VM starts and I’m able to login onto it via SSH, I
>> usually stop Firewalld as it usually causes the Web-GUI to be unreachable
>>
>> This time around the Web GUI can’t be reached, I’ve done more than 10
>> deployments and tests but I’m not sure what’s causing this, 4.1.5 was
>> deployed same exact way aswell. it all seems to be running fine, port 80 is
>> listening, I’ve seem most of the logs but nothing stands out.
>>
>>
>>
>> Please help.
>>
>>
>>
>>
>>
>> Steps:
>>
>> #Puppet Installation/deployment.
>>
>> class ovirt {
>>
>>
>>
>> package { 'centos-release-gluster310':
>>
>> ensure => installed,
>>
>> }
>>
>> package { 'ovirt-release41-4.1.6-1.el7.centos.noarch':
>>
>> ensure  => installed,
>>
>> source => "http://resources.ovirt.org/
>> pub/yum-repo/ovirt-release41.rpm",
>>
>> provider => 'rpm',
>>
>> install_options => ['--nosignature'],
>>
>> }
>>
>> $ovirt_packages = ['system-storage-manager','
>> vdsm-gluster','ovirt-hosted-engine-setup','ovirt-engine-
>> appliance','glusterfs-server',]
>>
>>
>>
>> package { $ovirt_packages:
>>
>> ensure => installed,
>>
>> require => [ Package['centos-release-
>> gluster310','ovirt-release41-4.1.6-1.el7.centos.noarch']],
>>
>> install_options => ['--disablerepo=epel'],
>>
>> }
>>
>> service { 'glusterd':
>>
>> ensure => running,
>>
>> enable => true,
>>
>> require => [ Package['vdsm-gluster'],
>> File['/etc/glusterfs/glusterd.vol']],
>>
>> }
>>
>> file { '/etc/glusterfs/glusterd.vol':
>>
>> ensure  => file,
>>
>> source  => 'puppet:///modules/ovirt/glusterd.vol',
>>
>> owner   => root,
>>
>> group   => root,
>>
>> mode=> '0644',
>>
>> }  <- All works fine.
>>
>>
>>
>> Once everything is up/running deployed, peer-probed, ssh-keys are
>> created/shared, volumes settings are set and started:
>>
>> gluster volume create engine replica 3 arbiter 1
>> host1:/data/glusterfs/vol1/engine host2:/data/glusterfs/vol1/engine
>> host3:/data/glusterfs/vol1/engine
>>
>> gluster volume set engine cluster.quorum-type auto
>>
>> gluster volume set engine network.ping-timeout 10
>>
>> gluster volume set engine auth.allow \*
>>
>> gluster volume set engine group virt
>>
>> gluster volume set engine storage.owner-uid 36
>>
>> gluster volume set engine storage.owner-gid 36
>>
>> gluster volume set engine server.allow-insecure on
>>
>> gluster volume start engine
>>
>>
>>
>> At last hosted-engine --deploy is ran,   -->
>> https://pastebin.com/QXEwmSwT <--   answer file
>>
>>
>>
>> VM starts but no WEB GUI.
>>
>> Let me know if you need more info
>>
>>
>>
>> Best Regards,
>>
>> *Mat Gomes* | Assistant Vice President, IT
>> *t*. 212-531-8594 <(212)%20531-8594>*  m*. 954-254-1294
>> <(954)%20254-1294>
>> *e*. mgo...@clearpoolgroup.com
>> *w*. clearpoolgroup.com 
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Odp: How to import OVA file into oVirt

2017-09-20 Thread gabriel_skupien
Dnia 20 września 2017 11:25 Arik Hadas aha...@redhat.com napisał(a):
On Wed, Sep 20, 2017 at 11:59 AM,gabriel_skup...@o2.pl  
gabriel_skup...@o2.pl   wrote:   Dnia 19 września 2017 16:03 Arik Hadas 
   aha...@redhat.com  napisał(a):On Tue, Sep 19, 2017 at 4:52 PM,   
  gabriel_skup...@o2.pl   gabriel_skup...@o2.pl   wrote:  I also 
tried to use the Import Virtual Machines option, there is an option to set the 
source to Vmware Virtual Appliance (OVA) but I dont know how to fill in 
the Path box. Tried  domanin ip_address  but did not work.   Yes, thats 
the right way of doing that.  In the path you should specify the local path to 
the file on the host, for example if you placed in the export domain it will be 
something like: /rhev/data-center/pool_id/ 
domain_id/.../file.ova  but you can put it also in /tmp in some specific 
host and select that host as a proxy.   Thanks, it works but now. I am 
getting:  -Failed to convert Vm ASAv  and then  -Failed to import Vm ASAv to 
Data Center Default, Cluster Default.Do you know how to troubleshoot it?   
So you managed to reach the conversion phase - thats a good progress.  
Well need the VDSM log that covers the time of the conversion on the host 
that was selected as proxy in order to investigate the failure. Could you 
please file a bug [1] and attach the log to that bug?   [1]  
bugzilla.redhat.com bugzilla.redhat.com   bugzilla.redhat.com 
bugzilla.redhat.com   G.  Dnia 19 września 2017 15:40 
gabriel_skup...@o2.pl  gabriel_skup...@o2.pl  napisał(a):  I am 
trying to import OVA file into my test oVirt env. I already have the export 
domain configured but when I go to the VM Import tab the 
Import button in inactive.   oVirt 4.1.5/4.1.6   Any clue?   G.  
__ _  Users mailing list 
Users@ovirt.org  lists.ovirt.org lists.ovirt.org /listinfo/users
__ _  Users mailing list 
Users@ovirt.org  lists.ovirt.org lists.ovirt.org /listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Odp: How to import OVA file into oVirt

2017-09-20 Thread Arik Hadas
On Wed, Sep 20, 2017 at 11:59 AM, gabriel_skup...@o2.pl <
gabriel_skup...@o2.pl> wrote:

>
> Dnia 19 września 2017 16:03 Arik Hadas  napisał(a):
>
>
>
> On Tue, Sep 19, 2017 at 4:52 PM, 
> gabriel_skup...@o2.pl < gabriel_skup...@o2.pl>
> wrote:
>
> I also tried to use the Import Virtual Machines option, there is an option
> to set the source to Vmware Virtual Appliance (OVA) but I don't know how to
> fill in the Path box. Tried http://ip_address/file.ova
>  but did not work.
>
>
> Yes, that's the right way of doing that.
> In the path you should specify the local path to the file on the host, for
> example if you placed in the export domain it will be something like:
> /rhev/data-center///.../file.ova
> but you can put it also in /tmp in some specific host and select that host
> as a proxy.
>
>
> Thanks, it works but now. I am getting:
> -Failed to convert Vm ASAv
> and then
> -Failed to import Vm ASAv to Data Center Default, Cluster Default.
>
> Do you know how to troubleshoot it?
>

So you managed to reach the conversion phase - that's a good progress.
We'll need the VDSM log that covers the time of the conversion on the host
that was selected as proxy in order to investigate the failure. Could you
please file a bug [1] and attach the log to that bug?

[1] https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm


>
>
>
>
> G.
>
> Dnia 19 września 2017 15:40 gabriel_skup...@o2.pl <
> gabriel_skup...@o2.pl> napisał(a):
>
> I am trying to import OVA file into my test oVirt env. I already have the
> export domain configured but when I go to the "VM Import" tab the "Import"
> button in inactive.
>
> oVirt 4.1.5/4.1.6
>
> Any clue?
>
> 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
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Odp: How to import OVA file into oVirt

2017-09-20 Thread gabriel_skupien
Dnia 19 września 2017 16:03 Arik Hadas aha...@redhat.com napisał(a):
On Tue, Sep 19, 2017 at 4:52 PM,gabriel_skup...@o2.pl  
gabriel_skup...@o2.pl   wrote:  I also tried to use the Import Virtual 
Machines option, there is an option to set the source to Vmware Virtual 
Appliance (OVA) but I dont know how to fill in the Path box. Tried  
domanin ip_address  but did not work.   Yes, thats the right way of doing 
that.  In the path you should specify the local path to the file on the host, 
for example if you placed in the export domain it will be something like: 
/rhev/data-center/pool_id/d  but you can put it also in /tmp in 
some specific host and select that host as a proxy.   Thanks, it works but 
now. I am getting:  -Failed to convert Vm ASAv  and then  -Failed to import 
Vm ASAv to Data Center Default, Cluster Default.Do you know how to 
troubleshoot it?    G.  Dnia 19 września 2017 15:40
gabriel_skup...@o2.pl gabriel_skup...@o2.pl  napisał(a):  I am 
trying to import OVA file into my test oVirt env. I already have the export 
domain configured but when I go to the VM Import tab the 
Import button in inactive.   oVirt 4.1.5/4.1.6   Any clue?   G.  
__ _  Users mailing list
Users@ovirt.org  lists.ovirt.org lists.ovirt.org mailman/listinfo/users
__ _   Users mailing list  
Users@ovirt.orglists.ovirt.org lists.ovirt.org mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failing to attaching master domain (nfs shares)

2017-09-20 Thread Lionel Caignec
Hi,
I don't know if information is relevant but no server get SPM role.

Someone can help me, all my production is blocked, and backup restore does not 
correct the problem.


Lionel.

- Mail original -
De: "Lionel Caignec" 
À: "users" 
Envoyé: Mardi 19 Septembre 2017 17:10:07
Objet: [ovirt-users] Failing to attaching master domain (nfs shares)

Hi,

i've just upgraded to 4.1 after some problem with PKI but now i'm facing 
problem with master data storage on one datacenter.

I've tried to reinitialize data center on new storage domain but same error 
(http://lists.ovirt.org/pipermail/users/2016-August/075569.html). 
I really does not understand because all my host see on 
/rhev/data-center/mnt/... all file of the storage domain.

What do i miss?

Please help ;)

Lionel
___
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] LVM structure

2017-09-20 Thread Nicolas Ecarnot

Hello,

I'm still coping with my qemu image corruption, and I'm following some 
Redhat guidelines that explains the way to go :

- Start the VM
- Identify the host
- On this host, run the ps command to identify the disk image location :

# ps ax|grep qemu-kvm|grep vm_name

- Look for "-drive 
file=/rhev/data-center/0001-0001-0001-0001-033e/b72773dc-c99c-472a-9548-503c122baa0b/images/91bfb2b4-5194-4ab3-90c8-3c172959f712/e7174214-3c2b-4353-98fd-2e504de72c75"

(YMMV)

- Resolve this symbolic link
# ls -la 
/rhev/data-center/0001-0001-0001-0001-033e/b72773dc-c99c-472a-9548-503c122baa0b/images/91bfb2b4-5194-4ab3-90c8-3c172959f712/e7174214-3c2b-4353-98fd-2e504de72c75
lrwxrwxrwx 1 vdsm kvm 78  3 oct.   2016 
/rhev/data-center/0001-0001-0001-0001-033e/b72773dc-c99c-472a-9548-503c122baa0b/images/91bfb2b4-5194-4ab3-90c8-3c172959f712/e7174214-3c2b-4353-98fd-2e504de72c75 
-> 
/dev/b72773dc-c99c-472a-9548-503c122baa0b/e7174214-3c2b-4353-98fd-2e504de72c75


- Shutdown the VM
- On the SPM, activate the logical volume :
# lvchange -ay 
/dev/b72773dc-c99c-472a-9548-503c122baa0b/e7174214-3c2b-4353-98fd-2e504de72c75


- Verify the state of the qemu image :
# qemu-img check 
/dev/b72773dc-c99c-472a-9548-503c122baa0b/e7174214-3c2b-4353-98fd-2e504de72c75


- If needed, attempt a repair :
# qemu-img check -r all /dev/...

- In any case, deactivate the LV :
# lvchange -an /dev/...


I followed this steps tens of times, and finding the LV and activating 
it was obvious and successful.
Since yesterday, I'm finding some VMs one which these steps are not 
working : I can identify the symbolic link, but the SPM neither the host 
are able to find the LV device, thus can not LV-activate it :


# lvchange -ay 
/dev/de2fdaa0-6e09-4dd2-beeb-1812318eb893/ce13d349-151e-4631-b600-c42b82106a8d
  Failed to find logical volume 
"de2fdaa0-6e09-4dd2-beeb-1812318eb893/ce13d349-151e-4631-b600-c42b82106a8d"


Either I need two more coffees, either I may be missing a step or 
something to check.
Looking at the SPM /dev/disk/* structure, it looks like very sound (I 
can see my three storage domains dm-name-* series of links).


As the VM can nicely be ran and stopped, does the host activates 
something more before being launched?


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


Re: [ovirt-users] Hosted-engine --deploy 4.1.6 - Web GUI Down

2017-09-20 Thread Johan Bernhardsson
Why are you stopping firewalld? A better solution is to actually add 
firewall rules and open up what's needed.


/Johan


On September 19, 2017 22:17:51 Mat Gomes  wrote:


Hi Guys,

I'm attempting to rebuild my environment for production testing, We've 
multiple locations NY and CH with a 2+1arbiter setup, this will run 
Geo-Replication.


All goes smoothly, VM starts and I'm able to login onto it via SSH, I 
usually stop Firewalld as it usually causes the Web-GUI to be unreachable
This time around the Web GUI can't be reached, I've done more than 10 
deployments and tests but I'm not sure what's causing this, 4.1.5 was 
deployed same exact way aswell. it all seems to be running fine, port 80 is 
listening, I've seem most of the logs but nothing stands out.


Please help.


Steps:
#Puppet Installation/deployment.
class ovirt {

package { 'centos-release-gluster310':
ensure => installed,
}
package { 'ovirt-release41-4.1.6-1.el7.centos.noarch':
ensure  => installed,
source => "http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm;,
provider => 'rpm',
install_options => ['--nosignature'],
}
$ovirt_packages = 
['system-storage-manager','vdsm-gluster','ovirt-hosted-engine-setup','ovirt-engine-appliance','glusterfs-server',]


package { $ovirt_packages:
ensure => installed,
require => [ 
Package['centos-release-gluster310','ovirt-release41-4.1.6-1.el7.centos.noarch']],

install_options => ['--disablerepo=epel'],
}
service { 'glusterd':
ensure => running,
enable => true,
require => [ Package['vdsm-gluster'], 
File['/etc/glusterfs/glusterd.vol']],
}
file { '/etc/glusterfs/glusterd.vol':
ensure  => file,
source  => 'puppet:///modules/ovirt/glusterd.vol',
owner   => root,
group   => root,
mode=> '0644',
}  <- All works fine.

Once everything is up/running deployed, peer-probed, ssh-keys are 
created/shared, volumes settings are set and started:
gluster volume create engine replica 3 arbiter 1 
host1:/data/glusterfs/vol1/engine host2:/data/glusterfs/vol1/engine 
host3:/data/glusterfs/vol1/engine

gluster volume set engine cluster.quorum-type auto
gluster volume set engine network.ping-timeout 10
gluster volume set engine auth.allow \*
gluster volume set engine group virt
gluster volume set engine storage.owner-uid 36
gluster volume set engine storage.owner-gid 36
gluster volume set engine server.allow-insecure on
gluster volume start engine

At last hosted-engine --deploy is ran,   --> https://pastebin.com/QXEwmSwT 
<--   answer file


VM starts but no WEB GUI.
Let me know if you need more info

Best Regards,
[cid:image001.png@01D3312F.03099560]

Mat Gomes | Assistant Vice President, IT
t. 212-531-8594  m. 954-254-1294
e. mgo...@clearpoolgroup.com
w. clearpoolgroup.com






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

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


Re: [ovirt-users] Hosted-engine --deploy 4.1.6 - Web GUI Down

2017-09-20 Thread Kasturi Narra
Hi,

 can you check what 'hosted-engine --vm-status' reports and can you
check if you are able to ping the hostname of HE vm from your hosts and the
machine where you are trying to access the browser ?

Thanks
kasturi

On Tue, Sep 19, 2017 at 7:47 PM, Mat Gomes 
wrote:

> Hi Guys,
>
>
>
> I’m attempting to rebuild my environment for production testing, We’ve
> multiple locations NY and CH with a 2+1arbiter setup, this will run
> Geo-Replication.
>
>
>
> All goes smoothly, VM starts and I’m able to login onto it via SSH, I
> usually stop Firewalld as it usually causes the Web-GUI to be unreachable
>
> This time around the Web GUI can’t be reached, I’ve done more than 10
> deployments and tests but I’m not sure what’s causing this, 4.1.5 was
> deployed same exact way aswell. it all seems to be running fine, port 80 is
> listening, I’ve seem most of the logs but nothing stands out.
>
>
>
> Please help.
>
>
>
>
>
> Steps:
>
> #Puppet Installation/deployment.
>
> class ovirt {
>
>
>
> package { 'centos-release-gluster310':
>
> ensure => installed,
>
> }
>
> package { 'ovirt-release41-4.1.6-1.el7.centos.noarch':
>
> ensure  => installed,
>
> source => "http://resources.ovirt.org/
> pub/yum-repo/ovirt-release41.rpm",
>
> provider => 'rpm',
>
> install_options => ['--nosignature'],
>
> }
>
> $ovirt_packages = ['system-storage-manager','
> vdsm-gluster','ovirt-hosted-engine-setup','ovirt-engine-
> appliance','glusterfs-server',]
>
>
>
> package { $ovirt_packages:
>
> ensure => installed,
>
> require => [ Package['centos-release-gluster310','ovirt-release41-
> 4.1.6-1.el7.centos.noarch']],
>
> install_options => ['--disablerepo=epel'],
>
> }
>
> service { 'glusterd':
>
> ensure => running,
>
> enable => true,
>
> require => [ Package['vdsm-gluster'],
> File['/etc/glusterfs/glusterd.vol']],
>
> }
>
> file { '/etc/glusterfs/glusterd.vol':
>
> ensure  => file,
>
> source  => 'puppet:///modules/ovirt/glusterd.vol',
>
> owner   => root,
>
> group   => root,
>
> mode=> '0644',
>
> }  <- All works fine.
>
>
>
> Once everything is up/running deployed, peer-probed, ssh-keys are
> created/shared, volumes settings are set and started:
>
> gluster volume create engine replica 3 arbiter 1
> host1:/data/glusterfs/vol1/engine host2:/data/glusterfs/vol1/engine
> host3:/data/glusterfs/vol1/engine
>
> gluster volume set engine cluster.quorum-type auto
>
> gluster volume set engine network.ping-timeout 10
>
> gluster volume set engine auth.allow \*
>
> gluster volume set engine group virt
>
> gluster volume set engine storage.owner-uid 36
>
> gluster volume set engine storage.owner-gid 36
>
> gluster volume set engine server.allow-insecure on
>
> gluster volume start engine
>
>
>
> At last hosted-engine --deploy is ran,   --> https://pastebin.com/QXEwmSwT
> <--   answer file
>
>
>
> VM starts but no WEB GUI.
>
> Let me know if you need more info
>
>
>
> Best Regards,
>
> *Mat Gomes* | Assistant Vice President, IT
> *t*. 212-531-8594*  m*. 954-254-1294
> *e*. mgo...@clearpoolgroup.com
> *w*. clearpoolgroup.com 
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Impossible to add other host to hosted engine's cluster

2017-09-20 Thread Demeter Tibor
Hi, 
I've created a 3 host based hosted engine. I can't add other hosts to hosted 
engine's cluster. 

Before the setup, I have created a 3 node glusterfs for hosted engine on them. 
Because I would like use and separate vlans, I created two vlan bridge on all 
host. First is for ovirtmgmt, and a second for glusterfs. 
The hosted engine setup was successful but when I try to add other hosts, that 
is does not work, because vdsmd could not started. 
I found some network related errors in the logs: 

restore-net::ERROR::2017-09-19 19:14:48,072::__init__::51::root::(__exit__) 
Failed rollback transaction last known good network. 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 150, in 
_setup_legacy 
in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
523, in bonds_setup 
_bonds_remove(remove, configurator, _netinfo, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
548, in _bonds_remove 
if _is_bond_valid_for_removal(name, _netinfo, in_rollback): 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
573, in _is_bond_valid_for_removal 
'interfaces %s' % (bond, bond_users)) 
ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another 
interfaces set(['bond0.105', 'bond0.104'])") 
restore-net::ERROR::2017-09-19 
19:14:48,073::vdsm-restore-net-config::478::root::(restore) unified restoration 
failed. 
Traceback (most recent call last): 
File "/usr/share/vdsm/vdsm-restore-net-config", line 473, in restore 
unified_restoration() 
File "/usr/share/vdsm/vdsm-restore-net-config", line 123, in 
unified_restoration 
_remove_networks_in_running_config() 
File "/usr/share/vdsm/vdsm-restore-net-config", line 238, in 
_remove_networks_in_running_config 
'_inRollback': True}) 
File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 218, in 
setupNetworks 
_setup_networks(networks, bondings, options) 
File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 239, in 
_setup_networks 
netswitch.setup(networks, bondings, options, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 132, in 
setup 
_setup_legacy(legacy_nets, legacy_bonds, options, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 150, in 
_setup_legacy 
in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
523, in bonds_setup 
_bonds_remove(remove, configurator, _netinfo, in_rollback) 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
548, in _bonds_remove 
if _is_bond_valid_for_removal(name, _netinfo, in_rollback): 
File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 
573, in _is_bond_valid_for_removal 
'interfaces %s' % (bond, bond_users)) 
ConfigNetworkError: (31, "Cannot remove bonding bond0: used by another 
interfaces set(['bond0.105', 'bond0.104'])") 

The four host network config is same, the ovirtmgmt bond.104 is the default 
route. 

How can I add another host to cluster? 







Üdvözlettel: 




Demeter Tibor 


E-mail: tdemeter @itsmart.hu 
Mobil: [ callto:+36 30 3777122 | +36 30  ] 4620500 
Web: [ http://itsmart.hu/ | www.itsmart.hu ] 

[ http://itsmart.hu/ ] 
ItSmart Informatikai Kft. 
2120 Dunakeszi, Wass Albert U. 2. 1/9. 
Telefon: [ callto:+36 30 462 0500 | +36 30 462 0500 ] 

[EN] This message and any attachments are confidential and privileged and 
intended for the use of the addressee only. If you have received this 
communication in error, please notify the sender by replay e-mail and delete 
this message from your system. Please note that Internet e-mail guarantees 
neither the confidentiality nor the proper receipt of the message sent. The 
data deriving from our correspondence with you are included in a file of 
ITSMART Ltd which exclusive purpose is to manage the communications of the 
company; under the understanding that, in maintaining said correspondence, you 
authorize the treatment of such data for the mentioned purpose. You are 
entitled to exercise your rights of access, rectification, cancellation and 
opposition by addressing such written application to address above. 
[HUN] Ez az üzenet és annak bármely csatolt anyaga bizalmas, a nyilvános 
közléstol védett, kizárólag a címzett használhatja fel. Ha Ön nem az üzenet 
címzettje, úgy kérjük válaszüzenetben értesítse errol a feladót és törölje az 
üzenetet a rendszerbol. Kérjük vegye figyelembe, hogy az email-en történo 
információtovábbítás kockázattal járhat, nem garantálja sem a csatorna 
bizalmasságát, sem a kézbesítést. A levél az ITSMART Informatikai Kft. 
kommunikációjának eszköze, az adatokat kizárólag erre a célra használjuk. 
Jogosult tájékoztatást kérni személyes adatai kezelésérol, kérheti azok 
helyesbítését, illetve törlését írásos kérelemben a fenti e-mail címen.