Re: [ovirt-users] Documentation

2016-09-04 Thread Brett I. Holcomb
Thanks for the information.  I haven't done forks or requests with 
Github.  I appreciate the offer and at some point my take you up on it 
but right now I'm swamped and just can't handle one more thing and it 
sounds like the fork/pull is not trival.  I things slow down I'll try 
and get back to you on it.  Right now it's a LibreOffice document that I 
made from the notes I did in a text editor while struggling with the 
install.




On 09/04/2016 06:59 PM, Tom Gamull wrote:
The docs do suck but I would challenge you to submit a pull request. 
 It’s a pain if you haven’t done github forks and pull requests. 
 However, if you do this and it doesn’t get merged, you have every 
right to complain and I’ll be behind you 100%.  I’ve been in your 
shoes and just recently started helping in little bits on some projects.


If you can fork the documents, change them to include your notes, I’d 
be happy to hand hold or explain how to do the pull request (think 
merging your changes back). you can even email me direct if needed.


Tom Gamull


On Sep 4, 2016, at 4:26 PM, Brett I. Holcomb <biholc...@l1049h.com 
<mailto:biholc...@l1049h.com>> wrote:


Yeah, its frustrating for sure as I spent a lot of wasted time trying 
to figure out what applied, what didn't, what was out of date and a 
lot of what did apply assumed I already knew parts I needed.   I came 
from VMware and Hyper-V worlds and really like oVirt and what it's 
doing but the documentation can be frustrating for sure.  
Unfortunately, that seems to be the way of a lot of OpenSource and 
along with that very few people like to do documentation and when 
they do it's from the perspective of someone who already knows the 
answers so it really doesn't help a brand new person who has no 
clue.  I had to do several hosted engine installs before I got it 
working (the stupid installer can't recover from an error so it makes 
you start over) on 3.6 (thanks be to VMware Workstation that let me 
start over ).  I took a lot of notes  and when I get time I'll 
post them. I know some will say we should contribute to the docs but 
I know I already have a full schedule with work and family and can't 
do anymore.


I've found this mailing list is the best source of information and 
sometimes they can link to sources we haven't found.  The people in 
this group are really knowledgeable and helpful so until the do get 
updated docs ask here.


On 09/04/2016 04:14 PM, zero four wrote:


As a prospective user of oVirt I have noticed quite a lot of glaring 
problems with the documentation, is it still being maintained? Since 
outdated or incomplete documentation is often worse than nothing, a 
possible solution would be to just link to the official Red Hat 
Virtualization documentation.


Here are some examples I found after looking for less than 5 minutes:

1.

http://www.ovirt.org/documentation/

The top of this web page has two videos from 2012. The left one 
"oVirt Open Virtualization Basics -- Single Machine Install" is a 
guide for the all in one install.  This is misleading as it no 
longer possible to perform an all in one install since 3.6, and in 
general it would appear the oVirt project does not support deploying 
oVirt to a single machine. The right video is a guide on creating 
VMs using the GUI from 2012 which has since changed.


Overall both videos should be removed from the Documentation page as 
they only confuse and mislead new users.  I, and I am sure many 
other users would greatly appreciate more current video guides.


2.

https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install

Under the notes for this there is the following passage:

“Although hosted-engine and engine-setup use different wording for 
the admin password ("'admin@internal' user password" vs "Engine 
admin password"), they are asking for the same thing. If you enter 
different passwords, the hosted-engine setup will fail.”


Why is the wording different?  This appears to be entirely 
unnecessary, and also confusing as to why it is asking for the 
password a second time at all.


3.

https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install

After finishing the hosted engine deployment script the guide states:

“After completing the OS installation on the VM, return to the host 
and continue. The installer on the host will sync with the VM and 
ask for the engine to be installed on the new VM:”


It is unclear how you are expected to access the VM, is the Web UI 
up at this point?  Do you need to use virsh to connect to the VM?  
The guide should be explicit.


4.

https://www.ovirt.org/documentation/quickstart/quickstart-guide/#prerequisites

 I. The documentation discusses Fedora 19, Fedora is currently on 
version 24 and 19 is EOL.


II. Under “Storage and Networking” there is no mention that oVirt 
requires at least 3 GlusterFS bricks to achieve quorum.


III. Under “Virtual Machines” there is no mention of Wi

Re: [ovirt-users] Documentation

2016-09-04 Thread Brett I. Holcomb
Yeah, its frustrating for sure as I spent a lot of wasted time trying to 
figure out what applied, what didn't, what was out of date and a lot of 
what did apply assumed I already knew parts I needed.   I came from 
VMware and Hyper-V worlds and really like oVirt and what it's doing but 
the documentation can be frustrating for sure.  Unfortunately, that 
seems to be the way of a lot of OpenSource and along with that very few 
people like to do documentation and when they do it's from the 
perspective of someone who already knows the answers so it really 
doesn't help a brand new person who has no clue.  I had to do several 
hosted engine installs before I got it working (the stupid installer 
can't recover from an error so it makes you start over) on 3.6 (thanks 
be to VMware Workstation that let me start over ).  I took a lot of 
notes  and when I get time I'll post them. I know some will say we 
should contribute to the docs but I know I already have a full schedule 
with work and family and can't do anymore.


I've found this mailing list is the best source of information and 
sometimes they can link to sources we haven't found.  The people in this 
group are really knowledgeable and helpful so until the do get updated 
docs ask here.


On 09/04/2016 04:14 PM, zero four wrote:


As a prospective user of oVirt I have noticed quite a lot of glaring 
problems with the documentation, is it still being maintained?  Since 
outdated or incomplete documentation is often worse than nothing, a 
possible solution would be to just link to the official Red Hat 
Virtualization documentation.


Here are some examples I found after looking for less than 5 minutes:

1.

http://www.ovirt.org/documentation/

The top of this web page has two videos from 2012. The left one "oVirt 
Open Virtualization Basics -- Single Machine Install" is a guide for 
the all in one install.  This is misleading as it no longer possible 
to perform an all in one install since 3.6, and in general it would 
appear the oVirt project does not support deploying oVirt to a single 
machine. The right video is a guide on creating VMs using the GUI from 
2012 which has since changed.


Overall both videos should be removed from the Documentation page as 
they only confuse and mislead new users.  I, and I am sure many other 
users would greatly appreciate more current video guides.


2.

https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install

Under the notes for this there is the following passage:

“Although hosted-engine and engine-setup use different wording for the 
admin password ("'admin@internal' user password" vs "Engine admin 
password"), they are asking for the same thing. If you enter different 
passwords, the hosted-engine setup will fail.”


Why is the wording different?  This appears to be entirely 
unnecessary, and also confusing as to why it is asking for the 
password a second time at all.


3.

https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install

After finishing the hosted engine deployment script the guide states:

“After completing the OS installation on the VM, return to the host 
and continue. The installer on the host will sync with the VM and ask 
for the engine to be installed on the new VM:”


It is unclear how you are expected to access the VM, is the Web UI up 
at this point?  Do you need to use virsh to connect to the VM?  The 
guide should be explicit.


4.

https://www.ovirt.org/documentation/quickstart/quickstart-guide/#prerequisites

 I. The documentation discusses Fedora 19, Fedora is currently on 
version 24 and 19 is EOL.


II. Under “Storage and Networking” there is no mention that oVirt 
requires at least 3 GlusterFS bricks to achieve quorum.


III. Under “Virtual Machines” there is no mention of Windows 10, 
Fedora past version 20, or RHEL/CentOS 7.X.




___
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 3.6 to 4.0 Upgrade

2016-06-25 Thread Brett I. Holcomb
In order to not hijack another thread I wanted to separate this from the 
"latest CentOS libvirt updates safe?" thread since this is different 
than what the OP on that thread wants to do.


I've been digging through the 4.0 documentation since I'd like to 
upgrade in the not to distant future so I'm doing research and I'm confused.


I'm running 3.6.6 in a hosted Engine environment.  My engine runs in a 
vm on the host.  The host is a physical box and the VMs are stored on a 
NAS accessed by an iSCSI LUN,  I have no other hosts running so I can 
not migrate.


According to this link, https://www.ovirt.org/release/4.0.0/, I'm told 
to simply run yum update ovirt-engine-setup and then engine-setup but I 
assume that's for a non hosted-engine environment.  I then go to the 
link for Hosted_Engine_HOwto#Upgrade_Hosted_Engine guide and am told to 
do this.


Set hosted-engine maintenance mode to global and other stuff that is 
written assuming I have some place to migrate my VMs to.  I do not have 
another host.


So how do I properly move to oVirt 4.0 from 3.6.6 on a single physical 
host running a hosted Engine VM?


Thanks.



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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-25 Thread Brett I. Holcomb



On 06/25/2016 08:10 PM, Nir Soffer wrote:

On Sat, Jun 25, 2016 at 8:51 PM, Brett I. Holcomb <biholc...@l1049h.com> wrote:


On 06/25/2016 10:57 AM, Robert Story wrote:

I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
include livbirt:

  libvirt-client   x86_64  1.2.17-13.el7_2.5  updates
4.3 M
  libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates
585 k
  libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
122 k
  libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates
162 k
  libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates
302 k
  libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates
161 k
  libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates
185 k
  libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates
571 k
  libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates
155 k
  libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates
328 k
  libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates
118 k
  libvirt-lock-sanlock

Is it safe to let yum update these packages while the host has running VMs?
in maintenance mode? or not at all?


Robert



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


I saw a response where we are supposed to go to maintenance mode and then
VMs will migrate but i've got nowhere to migrate to as I'm on a host with
hosted Engine and no other host to migrate to.  So do I shutdown all VMs and
then go to maintenance mode and then update and reboot my host?

In this case you cannot put the host into maintenance, since hosted
engine is running on this host.

Adding Simone to add more details on hosted engine upgrades.

Nir

Thanks.  That will be a big help.

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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-25 Thread Brett I. Holcomb



On 06/25/2016 10:57 AM, Robert Story wrote:

I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
include livbirt:

  libvirt-client   x86_64  1.2.17-13.el7_2.5  updates  4.3 M
  libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates  585 k
  libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  122 k
  libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates  162 k
  libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates  302 k
  libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates  161 k
  libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  185 k
  libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates  571 k
  libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates  155 k
  libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates  328 k
  libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates  118 k
  libvirt-lock-sanlock

Is it safe to let yum update these packages while the host has running VMs?
in maintenance mode? or not at all?


Robert



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


I saw a response where we are supposed to go to maintenance mode and 
then VMs will migrate but i've got nowhere to migrate to as I'm on a 
host with hosted Engine and no other host to migrate to.  So do I 
shutdown all VMs and then go to maintenance mode and then update and 
reboot my host?


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


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Brett I. Holcomb
I wasn't either and was beating my head against the wall trying to get 
it to work and finally found a post that mentioned it.  In hindsight it 
makes sense because the vdsm account is what it runs under but nowhere 
in any document I've found from RH or oVirt on conversion does it 
mention running as vdsm.  I guess the poster of that site had the same 
problem.


Good luck.


On 06/16/2016 07:26 AM, Cam Mac wrote:

Hi Brett,

Thanks for the reply. Yes, I tried the GUI, and it failed (the 
original email is at: 
http://lists.ovirt.org/pipermail/users/2016-June/040298.html, which 
includes log files). I wasn't aware that virt-v2v doesn't like being 
run as root, so I will try it as user vdsm. I will try your other 
suggestions too, and post the results.


Cheers,

Cam

On Wed, Jun 15, 2016 at 9:29 PM, Brett I. Holcomb 
<biholc...@l1049h.com <mailto:biholc...@l1049h.com>> wrote:




On 06/15/2016 01:41 PM, Cam Mac wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see
earlier email), and I need to find a way to migrate quite a few
Windows hosts (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt
cluster as a PoC so I can make a compelling case for getting rid
of VMware. Using OVF files looks like a lot more manual work as
compared to the GUI or virt-v2v, with their nice conversion features.

Any suggestions?

Thanks,

Cam


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


Are you getting errors?

Here's what I have in my notes but you may already have tried it
and the GUI doesn't seem to have a way to do it. I migrated from
both ESXi6 and VMwareWorkstation 11. First I exported as ova.

**  Make sure the export directory is mounted.
*  virt-v2v doesn't like being run as root so run it as vdsm user
and you need to specify the shell.

  su - vdsm -s /bin/bash

For Export storage located on another computer remote to the one
running virt-v2v use the host:/export format

  virt-v2v -i ova -of raw -o rhev -os
ovhost1:/srv/exports/ovirt/export1 --network VLAN100 -oa sparse
-on  

For Export storage located on a server that is doing exporting use
this format with local directory path for -os

  virt-v2v -i ova -of raw -o rhev -os /srv/exports/ovirt/export1
-oa sparse --network VLAN100 -on   /path/

I moved my ova files to my host (I run hosted engine deployment). 
Then I su'd and ran the second command since my host exports the

oVirt Export directory.

Once the command completes I run the oVirt admin import and select
the VMs from the list and move them over.  I have to change the
location of the storage since it defaults to the Engine storage
and not my iSCSI storage.

I've done it on mainly Linux and a Win 7 VM and it worked.  I
haven't tried any servers yet.



*

___
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] best way to migrate VMs from VMware to oVirt

2016-06-15 Thread Brett I. Holcomb



On 06/15/2016 01:41 PM, Cam Mac wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see earlier 
email), and I need to find a way to migrate quite a few Windows hosts 
(Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC 
so I can make a compelling case for getting rid of VMware. Using OVF 
files looks like a lot more manual work as compared to the GUI or 
virt-v2v, with their nice conversion features.


Any suggestions?

Thanks,

Cam


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


Are you getting errors?

Here's what I have in my notes but you may already have tried it and the 
GUI doesn't seem to have a way to do it.  I migrated from both ESXi6 and 
VMwareWorkstation 11.  First I exported as ova.


**  Make sure the export directory is mounted.
*  virt-v2v doesn't like being run as root so run it as vdsm user and 
you need to specify the shell.


  su - vdsm -s /bin/bash

For Export storage located on another computer remote to the one running 
virt-v2v use the host:/export format


  virt-v2v -i ova -of raw -o rhev -os 
ovhost1:/srv/exports/ovirt/export1 --network VLAN100 -oa sparse -on name> 


For Export storage located on a server that is doing exporting use this 
format with local directory path for -os


  virt-v2v -i ova -of raw -o rhev -os /srv/exports/ovirt/export1 -oa 
sparse --network VLAN100 -on   /path/


I moved my ova files to my host (I run hosted engine deployment). Then I 
su'd and ran the second command since my host exports the oVirt Export 
directory.


Once the command completes I run the oVirt admin import and select the 
VMs from the list and move them over.  I have to change the location of 
the storage since it defaults to the Engine storage and not my iSCSI 
storage.


I've done it on mainly Linux and a Win 7 VM and it worked.  I haven't 
tried any servers yet.




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


Re: [ovirt-users] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-08 Thread Brett I. Holcomb



On 06/08/2016 11:19 AM, Anantha Raghava wrote:

Hi,

I was able to migrate the oVirt Engine from one host to another using 
engine-backup utility. On the new host, the data is loaded properly 
but the Administration Portal is terribly slow.


It take about 2 to 3 minutes to allow me to enter user name & 
password. Once logged in, it takes hell a lot of time to show up the 
data. Click on a tab, we need to wait for a good amount of time to see 
the actual data. Even the refresh is taking time to execute although 
it is set to 5 Seconds.


But if I enable old server and connect, every thing works quickly.

Note:

1. We do not have DNS in our environment.
2. Engine name & even the IP is retained the same.
3. Before migration, we stopped ovirt-engine on old server, took the 
backup, shutdown & disconnected the old server.
4. We installed the ovirt-engine on new server, run engine setup, 
noted down the DB password, did engine-cleanup, restored the data 
using engine-backup utility and executed engine-setup again. It did 
recognize restored data and only httpd configuration was sought and we 
selected the defaults.


Result is terribly slow Web Console.

First, we attempted to setup ovirt-reports and later removed it 
thinking that may be slowing down the engine server. Yet the same result.


Commands used to backup from old server: "engine-backup --mode=backup 
--file= --log= --provision-db"
Command used to restore on new server: "engine-backup --mode=restore 
--file= --log= 
--change-db-credentials --db-host=localhost --db-user=engine 
--db-name=engine --db-password= 
--no-restore-permissions"


The command executed without any errors, resulting in a terribly slow 
web console.


Note: Without --restore-permissions, the restore fails. Did not 
understand what to give as restore permissions. Hence used 
--no-restore-permissions.


*Hardware configuration:*
*
**Old Server:* i3 Processor, 4 GB Memory, 1 Gbps NIC
*New Server :* Lenovo x3250 M5 Server with Intel Xeon Processor, 16 GB 
RAM, 2 X 1 Gbps NIC.


Just unable to understand why it is terribly slow.


What version of oVirt are you running.  Before 3.6.5 there was an issue 
because of the generation of random numbers.  Many hosts and VMs don't 
have much mouse and keyboard activity so it  takes forever to generate 
the entropy needed for the connection process.  I was told to check the 
entropy level with


cat /proc/sys/kernel/random/entropy_avail

I installed haveged and that fixed it but I'm now on 3.6.5.



--

Thanks & Regards,

Anantha Raghava




___
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] Questions on oVirt

2016-06-03 Thread Brett I. Holcomb
Thanks.  I have my VMs on my Synology unit with the export directory on
the host server itself.
On Fri, 2016-06-03 at 20:49 +0200, Joop wrote:
> On 3-6-2016 18:10, Brett I. Holcomb wrote:
> > 
> > On Fri, 2016-06-03 at 08:41 +0200, jvandewege wrote:
> > > 
> > > On 3-6-2016 3:23, Brett I. Holcomb wrote:
> > > Thanks.  That helps.  If you get a chance I'd like the script.
> Here it is, heavily tailored to my setup and my 'servers' which seem
> to
> have their own problems. I never had problems shutting down servers
> which run oVirt but it looks like that consumer computers are more
> sensitive to some manipulation that oVirt does. Without this script I
> can't shutdown my Shuttle XH61V, it will hang on wdmd.
> The umount /rhev/.../ovirt01 are the nfs mounts that my hosts exports
> and the umount /rhev/../pakhuis are the nfs mount to a NAS. So I
> don't
> have everything on a single box but that doesn't matter. Got the same
> kind of setup on my laptop but then without the external NFS on my
> NAS.
> Host is running Fedora22, engine is running Centos-7.2
> 
> Joop
> 
> ___
> 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] Questions on oVirt

2016-06-03 Thread Brett I. Holcomb
On Fri, 2016-06-03 at 08:41 +0200, jvandewege wrote:
> On 3-6-2016 3:23, Brett I. Holcomb wrote:
> > 
> > After using oVirt for about three months I have some questions that
> > really haven't been answered in any of the documentation, posts, or
> > found in searching.  Or maybe more correctly I've found some
> > answers
> > but am trying to put the pieces I've found together.
> > 
> > My setup is one physical host that used to run VMware ESXi6 and it
> > handled running the VMs on an iSCSI LUN on a Synology 3615xs
> > unit.  I
> > have one physical Windows workstation and all the servers, DNS,
> > DHCP,
> > file, etc. are VMs.  The VMs are on an iSCSI LUN on the Synology.
> > 
> > * Hosted-engine deployment - Run Engine as a VM.  This has the
> > advantage of using one machine for host and running the Engine as a
> > VM
> > but what are the cons of it?
> Not many but I can think of one: if there is a problem with the
> storage
> where the engine VM is running then it can be a challenge to get
> things
> working again. You can guard against that by not using your host as
> your
> main testing workstation :-)
Unfortunately, I only have one physical host available.  The storage is
NFS on the host which has a RAID10 array setup.  Not optimum but it's
what I've got.
> > 
> > 
> > * Can I run the Engine on the host that will run the VMs without
> > running it on a VM?  That is I install the OS on my physical box,
> > install Engine, then setup datastores (iSCSI LUN), networking etc.
> > 

> 
> That used to be possible up to 3.5 and is called all-in-one setup.
> 

I remember reading about that and it's deprecated if I remember.
> > 
> > 
> > * How do I run more than one Engine.  With just one there is no
> > redundancy so can I run another Engine that access the same
> > Datacenter, etc. as the first?  Or does each Engine have to have it's
> > own Datacenter and the backup is achieved by migrating between the
> > Engine's Datacenters as needed.
> > 

> 
> There is just one Engine and normally you would have more hosts and it
> would migrate around those hosts using the shared storage if you need to
> do maintenance on those hosts.
> 
> 
> > 
> > 
> > * Given I have a hosted Engine setup how can I "undo" it and  get to
> > running just the Engine on the host.  Do I have to undo everything or
> > can I just install another instance of the Engine on the host but not
> > in a VM, move the VMs to it and then remove the Engine VM.
> > 
> > 

> 
> Get a second physical box, install an OS, install Engine on it and
> restore the db backup on it and this should work. AIO setup isn't
> possible in 3.6 onwards.
> 
> 
> > 
> > * System shutdown - If I shutdown the host what is the proper
> > procedure?  Go to global maintenance mode and then shutdown the host
> > or do I have to do some other steps to make sure VMs don't get
> > corrupted.  On ESXi we'd put a host into maintenance mode after
> > shutting down or moving the VMs so I assume it's the same here.
> > Shutdown VMS since there is nowhere to move the VMS, go into global
> > maintenance mode. Shutdown.  On startup the  Engine will come up, then
> > I start my VMs.
> > 

> 
> -  Shutdown any VMs that are running
> - stop ovirt-ha-agent and ovirt-ha-broker (they keep the Engine up)
> - stop the Engine
> - stop vdsmd
> - stop sanlock
> - unmount the shared storage
> - shutdown host.
> The Engine will come up once you powerup the host. If you use
> hosted-engine --set-maintenance --mode=global then ha-agent/ha-broker
> won't start the Engine for you. You have to use hosted-engine
> --mode=none first. You could add that to your system startup if you
> prefer this sequence.
> The above is my own recipe and works for me YMMV. (got it scripted and
> can post it but it does more or less what I wrote)
> 
> 

Thanks.  That helps.  If you get a chance I'd like the script.
> > 
> > 
> > * Upgrading engine and host - Do I have to go to maintenance mode then
> > run yum to install the new versions on the host and engine and then
> > run engine-setup or do I need to go into maintenance mode?  I assume
> > the 4.0 production install will be much more involved but hopefully
> > keeping updated will make it a little less painful.
> > 
> > 

> 
> Its on the wiki somewhere but I think the order is:
> - enable global maintenance on the host
> - upgrade the engine by running engine-setup and it will tell you
> whether it needs a yum upgrade engine-setup or it will do the oVirt
> engine upgrade 

Re: [ovirt-users] Questions on oVirt

2016-06-03 Thread Brett I. Holcomb
On Fri, 2016-06-03 at 03:49 -0300, Charles Tassell wrote:
> Hi Brett,
> 
>    I'm not an expert on oVirt, but from my experience I would say
> you 
> probably want to run the engine as a VM rather than on the bare
> metal.  
> It has a lot of moving parts (PostgresSQL, jBoss, etc...) and they
> all 
> fit well inside the VM.  You can run it right on the bare-metal if
> you 
> want though, as that was the preferred means for versions prior to
> 3.6  
> Also, you don't need to allocate the recommended 16GB of RAM to it
> if 
> you are only running 5-10 VMs.  You can probably get by with a 2-4GB
> VM 
> which makes it more palatable.
> 
>    The thing to realize with oVirt is that the Engine is not the 
> Hypervisor.  The engine is just a management tool.  If it crashes,
> all 
> the VMs continue to run fine without it, so you can just start it
> back 
> up and it will just resume managing everything fine.  If you only
> have 
> one physical host you don't need to really worry too much about 
> redundancy.  I don't think you can assign a host to two engines at
> the 
> same time, but I might be wrong about that.
> 
>    If you want to migrate between a hosted engine and bare metal (or 
> vice versa) you can use the engine-backup command to backup and then 
> restore (same command, different arguments)  the
> configuration.  I've 
> never done it, but it should work fine.
> 
>   For a system shutdown, I would shutdown all of the VMs (do the
> hosted 
> engine last) and then just shutdown the box.  I'm not sure if 
> maintenance mode is actually required or not, so I'd defer to
> someone 
> with more experience.  I know I have done it this way and it doesn't 
> seem to have caused any problems.
> 
>    For upgrades, I'd say shutdown all of the VMs (including the
> hosted 
> engine) then apply your updates, reboot as necessary, and then start
> the 
> VMs back up.  Once everything is up ssh into the hosted engine,
> update 
> it (yum update), reboot as necessary, and you are good to go.  If
> you 
> have a multi-host system that's a bit different.  In that case put a 
> host into maintenance mode; migrate all the VMs to other hosts;
> update 
> it and reboot it; set it as active; migrate the VMs back and move on
> to 
> the next host doing the same thing.  the reason you want to shutdown
> all 
> the VMs is that upgrades to the KVM/qemu packages may crash running
> VMs. 
> I've seen this happen on Ubuntu, so I assume it's the same on
> RedHat/CentOS.
> 
>    As for the 4.0 branch, I'd give it a month or two of being out
> before 
> you use it for a production system.  I started with oVirt just as
> 3.6 
> came out and ran into some bugs that made it quite complicated.  On
> the 
> positive side, I learned a lot about how it works from getting advice
> on 
> how to deal with those issues. :)
> 
> On 2016-06-02 10:23 PM, users-requ...@ovirt.org wrote:
> > 
> > Message: 4
> > Date: Thu, 02 Jun 2016 21:23:49 -0400
> > From: "Brett I. Holcomb" <biholc...@l1049h.com>
> > To: users <users@ovirt.org>
> > Subject: [ovirt-users] Questions on oVirt
> > Message-ID: <1464917029.26446.133.ca...@l1049h.com>
> > Content-Type: text/plain; charset="utf-8"
> > 
> > After using oVirt for about three months I have some questions that
> > really haven't been answered in any of the documentation, posts, or
> > found in searching. ?Or maybe more correctly I've found some
> > answers
> > but am trying to put the pieces I've found together.
> > 
> > My setup is one physical host that used to run VMware ESXi6 and it
> > handled running the VMs on an iSCSI LUN on a Synology 3615xs unit.
> > ?I
> > have one physical Windows workstation and all the servers, DNS,
> > DHCP,
> > file, etc. are VMs. ?The VMs are on an iSCSI LUN on the Synology.
> > 
> > * Hosted-engine deployment - Run Engine as a VM. ?This has the
> > advantage of using one machine for host and running the Engine as a
> > VM
> > but what are the cons of it?
> > 
> > * Can I run the Engine on the host that will run the VMs without
> > running it on a VM? ?That is I install the OS on my physical box,
> > install Engine, then setup datastores (iSCSI LUN), networking etc.
> > 
> > * How do I run more than one Engine. ?With just one there is no
> > redundancy so can I run another Engine that access the same
> > Datacenter,
> > etc. as the first? ?Or does each Engine have to have it's own
> > Datacenter and the backup is achieved by migrating between the
> > Engine's
> > Datacenters as needed.
> 

[ovirt-users] Questions on oVirt

2016-06-02 Thread Brett I. Holcomb
After using oVirt for about three months I have some questions that
really haven't been answered in any of the documentation, posts, or
found in searching.  Or maybe more correctly I've found some answers
but am trying to put the pieces I've found together.

My setup is one physical host that used to run VMware ESXi6 and it
handled running the VMs on an iSCSI LUN on a Synology 3615xs unit.  I
have one physical Windows workstation and all the servers, DNS, DHCP,
file, etc. are VMs.  The VMs are on an iSCSI LUN on the Synology.

* Hosted-engine deployment - Run Engine as a VM.  This has the
advantage of using one machine for host and running the Engine as a VM
but what are the cons of it?

* Can I run the Engine on the host that will run the VMs without
running it on a VM?  That is I install the OS on my physical box,
install Engine, then setup datastores (iSCSI LUN), networking etc.

* How do I run more than one Engine.  With just one there is no
redundancy so can I run another Engine that access the same Datacenter,
etc. as the first?  Or does each Engine have to have it's own
Datacenter and the backup is achieved by migrating between the Engine's
Datacenters as needed.

* Given I have a hosted Engine setup how can I "undo" it and  get to
running just the Engine on the host.  Do I have to undo everything or
can I just install another instance of the Engine on the host but not
in a VM, move the VMs to it and then remove the Engine VM.

* System shutdown - If I shutdown the host what is the proper
procedure?  Go to global maintenance mode and then shutdown the host or
do I have to do some other steps to make sure VMs don't get corrupted.
 On ESXi we'd put a host into maintenance mode after shutting down or
moving the VMs so I assume it's the same here. Shutdown VMS since there
is nowhere to move the VMS, go into global maintenance mode. Shutdown.
 On startup the  Engine will come up, then I start my V
Ms.##SELECTION_END##

* Upgrading engine and host - Do I have to go to maintenance mode then
run yum to install the new versions on the host and engine and then run
engine-setup or do I need to go into maintenance mode?  I assume the
4.0 production install will be much more involved but hopefully keeping
updated will make it a little less painful.

Thanks.

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


Re: [ovirt-users] USB

2016-05-16 Thread Brett I. Holcomb
On Sun, 2016-05-15 at 14:40 +0300, Nisim Simsolo wrote:
> Hi
> 
> You can attach host device directly from virtual machines tab ->
> select VM -> host devices sub tab -> "add device" button.
> 
> But first you need to verify your BIOS is supporting intel VT-d or
> AMD vi.
> And you also need to activate it in the kernel. The next link
> describes how to do it: 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linu
> x/7/html/Virtualization_Deployment_and_Administration_Guide/chap-
> Guest_virtual_machine_device_configuration.html#sect-
> Guest_virtual_machine_device_configuration-PCI_devices
> 
> note: Instead of adding "intel_iommu=pt" in the grub cmdline, add
> "intel_iommu=on" or "amd_iommu=on".
> 
> Thank you  Nsim and Martin.  I'll give that  a try.
As a point of information has anyone tried USB/IP or Incentives Pro?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] USB

2016-05-16 Thread Brett I. Holcomb
How do I get a VM to see USB devices?  If I understand it correctly I
have to go to Edit VM -> Console and enable USB native.  I have the
console options set to use usb.  However, I'm finding conflicting
information.  Supposedly libvirt will allow sharing of a USB device
over a network but to start with I'd be happy just being able to
connect a usb device to the host and having it detected.  I have some
programmable devices I'd like to program in Linux using my VM.

Has anyone uses usbip and if so how well does  it work?



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


[ovirt-users] USB

2016-05-14 Thread Brett I. Holcomb
How do I get a VM to see USB devices?  If I understand it correctly I
have to go to Edit VM -> Console and enable USB native.  I have the
console options set to use usb.  However, I'm finding conflicting
information.  Supposedly libvirt will allow sharing of a USB device
over a network but to start with I'd be happy just being able to
connect a usb device to the host and having it detected.  I have some
programmable devices I'd like to program in Linux using my VM.

Has anyone uses usbip and if so how well does  it work?


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


Re: [ovirt-users] Console not working

2016-05-06 Thread Brett I. Holcomb
Some more information.  
I had shutdown the VM on VMWare workstation, exported it as an ova, did
the virt-v2v and imported it.  To work on it I went to another
workstation running the same OS (Fedora 23) and ran the oVirt web
portal.  From there I tried to access this new VM's console (or any but
can not).  I shutdown the VM on oVirt and restarted it on VMware
Workstation.  I logged back into the workstation I'm trying to migrate
and can access all the consoles without issues under SPICE. So to
summarize
Workstation A - Keeps asking what to do with the console vv file.  
Workstation B - the one I'm trying to migrate to oVirt I can access
consoles just fine. This one opens in remote viewer according to the
heading if I open a console window.
So I need to find out what needs to be installed on Workstation A.  On
B I have these so I installed them on A.
spice-glib
spice-gtk3
spice-vdagent
virt-manager
virt-common
Same vnc packages on both already installed.
remote-viewer on both systems
Still doesn't work. 
Firewall services and ports the same on both.
For others who may have a brain short :  After all that I found that
I had to select remote-viewer in the open with box and all was well.
 The first system was setup some time ago so I don't remember if I had
to go through this dance to change it from Firefox or if it just picked
it up and used remote-viewer.  I have no idea why Firefox would be a
preferred viewer for a remote connection.
On Fri, 2016-05-06 at 21:04 -0400, Brett I. Holcomb wrote:
> I'm on 3.6.4 (yes I'll update soon when I get time) and I can't
> access
> the VMs via console anymore.  At one time I right clicked, choose
> consoel and had a console open in a window.
> 
> The VMS show SPICE as the graphics in the admin web so I assume
> that's
> default.  Now if I try and open a console I'm asked to download a vv
> file so I save it and I did setup according to this, https://access.r
> ed
> hat.com/documentation/en-
> US/Red_Hat_Enterprise_Virtualization/3.4/html/User_Guide/chap-
> Installing_Supporting_Components.html, and all I got was a blank
> window
> and this error if I try to Toggle messages output.
> 
> WebSocket error: Can't connect to websocket on URL:
> wss://ovengine1.corp.l1049h.net:6100
> 
> followed by lots of characters.
> 
> If I set the console options to native I get the request to download
> a
> vv file or open with firefox.  If I say open with firefox it puts the
> f
> ile://pathtovv in the url and then asks again so I'm in an infinite
> loop.  If I save and then open with firefox I get the same infinite
> loop nonsense.
> 
> If I try and use VNC in console options I'm told to set the VM
> console
> options which I have done several time to VNC, spice+vnc, and then
> back
> to VNC.  I reboot and still can't use VNC. For others who may have
> this
> issue I finally got to select VNC by shutting down the VM (again) and
> selection VNC in the console.  I restarted and it finally set the
> protocol to VNC.  Unfortunately when I try and connect to the console
> I
> still get the stupid vv file and firefox goes into it's infinite
> loop.
> 
> At this point spice is useless (I've never gotten it to work with
> oVirt) and VNC seems broken.
> 
> I must be missing something.  How do I connect to the console of my
> VM
> as I used to by simply clicking the console icon or selecting the
> menu
> item.  I have imported it and need to setup the networking so I can
> ssh
> or connect to it with thinlinc.
> 
> If I use VNC how to I connect to the VM.  I can connect to an engine
> VM
> via the remote-viewer ... command line but how do I get to an
> individual VM?
> 
> Thanks.
> 
> 
> 
> 
> 
> 
> ___
> 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] Console not working

2016-05-06 Thread Brett I. Holcomb
I'm on 3.6.4 (yes I'll update soon when I get time) and I can't access
the VMs via console anymore.  At one time I right clicked, choose
consoel and had a console open in a window.

The VMS show SPICE as the graphics in the admin web so I assume that's
default.  Now if I try and open a console I'm asked to download a vv
file so I save it and I did setup according to this, https://access.red
hat.com/documentation/en-
US/Red_Hat_Enterprise_Virtualization/3.4/html/User_Guide/chap-
Installing_Supporting_Components.html, and all I got was a blank window
and this error if I try to Toggle messages output.

WebSocket error: Can't connect to websocket on URL:
wss://ovengine1.corp.l1049h.net:6100

followed by lots of characters.

If I set the console options to native I get the request to download a
vv file or open with firefox.  If I say open with firefox it puts the f
ile://pathtovv in the url and then asks again so I'm in an infinite
loop.  If I save and then open with firefox I get the same infinite
loop nonsense.

If I try and use VNC in console options I'm told to set the VM console
options which I have done several time to VNC, spice+vnc, and then back
to VNC.  I reboot and still can't use VNC. For others who may have this
issue I finally got to select VNC by shutting down the VM (again) and
selection VNC in the console.  I restarted and it finally set the
protocol to VNC.  Unfortunately when I try and connect to the console I
still get the stupid vv file and firefox goes into it's infinite loop.

At this point spice is useless (I've never gotten it to work with
oVirt) and VNC seems broken.

I must be missing something.  How do I connect to the console of my VM
as I used to by simply clicking the console icon or selecting the menu
item.  I have imported it and need to setup the networking so I can ssh
or connect to it with thinlinc.

If I use VNC how to I connect to the VM.  I can connect to an engine VM
via the remote-viewer ... command line but how do I get to an
individual VM?

Thanks.






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


Re: [ovirt-users] Hosted-engine-Issue

2016-04-21 Thread Brett I. Holcomb
Can you ping by ip but not name?  If so check your /etc/resolv.conf
file.  It's probably missing the DNS servers.  I found that when I
installed hosted-engine deployment the first phase of setup (before
creating the engine VM) did not copy over the DNS settings from my
original NIC interface so the deployment leaves an empty resolv.conf
file and the host can't find the engine and vice versa.  I added the
DNS servers to the ifcfg-ovirtmgmt file (DNS1=xxx.xxx.xxx.xxx) and did
a systemctl restart network and it worked.  Unfortunately if you tried
to install the Engine VM, told the deployment it's okay the whole thing
fails on the last step because the host can't find the engine.  There
are some bugs filed on it.
On Thu, 2016-04-21 at 19:20 +0530, Budur Nagaraju wrote:
> Below are the  details, unable to ping the gateway from the ovirt
> engine ,able to ping the ovirt engine from host as both are there in
> the same network.
> 
> 
> [root@oe ~]# ip addr
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>     inet6 ::1/128 scope host 
>    valid_lft forever preferred_lft forever
> 2: eth0:  mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
>     link/ether 00:16:3e:33:38:e5 brd ff:ff:ff:ff:ff:ff
>     inet 10.206.66.9/23 brd 10.206.67.255 scope global eth0
>     inet6 fe80::216:3eff:fe33:38e5/64 scope link 
>    valid_lft forever preferred_lft forever
> [root@oe ~]# 
> [root@oe ~]# 
> [root@oe ~]# 
> [root@oe ~]# ip route
> 10.206.66.0/23 dev eth0  proto kernel  scope link  src 10.206.66.9 
> 169.254.0.0/16 dev eth0  scope link  metric 1002 
> default via 10.206.67.254 dev eth0 
> [root@oe ~]# 
> [root@oe ~]# 
> [root@oe ~]# 
> [root@oe ~]# brctl show
> bridge name bridge id   STP enabled interfaces
> [root@oe ~]# 
> 
> 
> 
> 
> 
> 
> On Thu, Apr 21, 2016 at 4:51 PM, Yedidyah Bar David 
> wrote:
> > On Thu, Apr 21, 2016 at 1:39 PM, Budur Nagaraju 
> > wrote:
> > > HI
> > >
> > > Installed hosted engine and  after configuring  IP to ovirt
> > engine unable to
> > > ping the gateway and found that there is no issue with the
> > Network .
> > 
> > You mean that from inside the engine machine, you cannot ping the
> > gateway?
> > 
> > Can you ping it from the host?
> > 
> > Please share output of these commands, from both the host and the
> > engine vm:
> > 
> > ip addr
> > ip route
> > brctl show
> > 
> > Thanks,
> > 
> > >
> > > Is there any thing am missing  while installing Hosted engine ?
> > below is
> > > output details,
> > >
> > >
> > > --== CONFIGURATION PREVIEW ==--
> > >
> > >           Engine FQDN                        :
> > oe.bnglab.psecure.net
> > >           Bridge name                        : ovirtmgmt
> > >           SSH daemon port                    : 22
> > >           Gateway address                    : 10.206.67.254
> > >           Host name for web application      : hosted_engine_1
> > >           Host ID                            : 1
> > >           Image alias                        : hosted_engine
> > >           Image size GB                      : 25
> > >           Storage connection                 :
> > 10.204.207.152:/home/heoe
> > >           Console type                       : vnc
> > >           Memory size MB                     : 4096
> > >           MAC address                        : 00:16:3e:2f:5c:40
> > >           Boot type                          : cdrom
> > >           Number of CPUs                     : 2
> > >           ISO image (for cdrom boot)         :
> > > /ovirt/CentOS-6.7-x86_64-minimal.iso
> > >           CPU Type                           : model_SandyBridge
> > >
> > >           Please confirm installation settings (Yes, No)[Yes]:
> > yes
> > > [ INFO  ] Stage: Transaction setup
> > > [ INFO  ] Stage: Misc configuration
> > > [ INFO  ] Stage: Package installation
> > > [ INFO  ] Stage: Misc configuration
> > > [ INFO  ] Configuring libvirt
> > > [ INFO  ] Configuring VDSM
> > > [ INFO  ] Starting vdsmd
> > > [ INFO  ] Waiting for VDSM hardware info
> > > [ INFO  ] Waiting for VDSM hardware info
> > > [ INFO  ] Creating Storage Domain
> > > [ INFO  ] Creating Storage Pool
> > > [ INFO  ] Connecting Storage Pool
> > > [ INFO  ] Verifying sanlock lockspace initialization
> > > [ INFO  ] Creating VM Image
> > > [ INFO  ] Disconnecting Storage Pool
> > > [ INFO  ] Start monitoring domain
> > > [ INFO  ] Configuring VM
> > > [ INFO  ] Updating hosted-engine configuration
> > > [ INFO  ] Stage: Transaction commit
> > > [ INFO  ] Stage: Closing up
> > >           The following network ports should be opened:
> > >               tcp:5900
> > >               tcp:5901
> > >               udp:5900
> > >               udp:5901
> > >           An example of the required configuration for iptables
> > can be found
> > > at:
> > >               /etc/ovirt-hosted-engine/iptables.example
> 

Re: [ovirt-users] nfs storage permission problem

2016-04-13 Thread Brett I. Holcomb
On Wed, 2016-04-13 at 15:52 -0700, Bill James wrote:
> [vdsm@ovirt4 test /]$ touch /rhev/data-center/mnt/ovirt3-
> ks.test.j2noc.com:_ovirt-store_nfs/test
> touch: cannot touch ‘/rhev/data-center/mnt/ovirt3-
> ks.test.j2noc.com:_ovirt-store_nfs/test’: Read-only file system
> 
> Hmm, read-only.  :-(
> 
> ovirt3-ks.test.j2noc.com:/ovirt-store/nfs on /rhev/data-
> center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs type nfs4
> (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,soft,nos
> harecache,proto=tcp,port=0,timeo=600,retrans=6,sec=sys,clientaddr=10.
> 100.108.96,local_lock=none,addr=10.100.108.33)
> 
> now to figure out why
> 
> 
> [root@ovirt4 test ~]# ls -la /rhev/data-center/mnt/
> total 8
> drwxr-xr-x 4 vdsm kvm  110 Apr 13 15:30 .
> drwxr-xr-x 3 vdsm kvm   16 Apr 13 08:06 ..
> drwxr-xr-x 3 vdsm kvm 4096 Mar 11 15:19
> netappqa3:_vol_cloud__images_ovirt__QA__export
> drwxr-xr-x 3 vdsm kvm 4096 Mar 11 15:17
> netappqa3:_vol_cloud__images_ovirt__QA__ISOs
> 
> 
> 
> export and ISO domain mount fine too. (and rw)
> 
> 
> 
> ovirt-engine-3.6.4.1-1.el7.centos.noarch
> 
> 
> On 04/13/2016 03:21 PM, Brett I. Holcomb wrote:
> > On Wed, 2016-04-13 at 15:09 -0700, Bill James wrote:
> > > I have a cluster working fine with 2 nodes.
> > > I'm trying to add a third and it is complaining:
> > > 
> > > 
> > > StorageServerAccessPermissionError: Permission settings on the
> > > specified 
> > > path do not allow access to the storage. Verify permission
> > > settings
> > > on 
> > > the specified storage path.: 'path = 
> > > /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs'
> > > 
> > > 
> > > if I try the commands manually as vdsm they work fine and the
> > > volume
> > > mounts.
> > > 
> > > 
> > > [vdsm@ovirt4 test /]$ mkdir -p 
> > > /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> > > [vdsm@ovirt4 test /]$ sudo -n /usr/bin/mount -t nfs -o 
> > > soft,nosharecache,timeo=600,retrans=6 
> > > ovirt3-ks.test.j2noc.com:/ovirt-store/nfs 
> > > /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> > > [vdsm@ovirt4 test /]$ df -h 
> > > /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> > > Filesystem Size  Used Avail Use%
> > > Mounted on
> > > ovirt3-ks.test.j2noc.com:/ovirt-store/nfs  1.1T  305G  759G  29% 
> > > /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> > > 
> > > 
> > > After manually mounting the NFS volumes and activating the node
> > > it
> > > still 
> > > fails.
> > > 
> > > 
> > > 2016-04-13 14:55:16,559 WARN 
> > > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDire
> > > ctor
> > > ] 
> > > (DefaultQuartzScheduler_Worker-61) [64ceea1d] Correlation ID:
> > > 64ceea1d, 
> > > Job ID: a47b74c7-2ae0-43f9-9bdf-e50963a28895, Call Stack: null,
> > > Custom 
> > > Event ID: -1, Message: Host ovirt4.test.j2noc.com cannot access
> > > the 
> > > Storage Domain(s)  attached to the Data Center Default.
> > > Setting 
> > > Host state to Non-Operational.
> > > 
> > > 
> > > Not sure what "UNKNOWN" storage is, unless its one I deleted
> > > earlier 
> > > that somehow isn't really removed.
> > > 
> > > Also tried "reinstall" on node. same issue.
> > > 
> > > Attached are engine and vdsm logs.
> > > 
> > > 
> > > Thanks.
> > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > Try adding anonuid=36,anongid=36 to the mount and make sure 36:36
> > is
> > the owner group on the mount point.  I found this, http://www.ovirt
> > .org
> > /documentation/how-to/troubleshooting/troubleshooting-nfs-storage-
> > issues/, helpful.
> > 
> > ___
> > 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
Try adding the anonuid=36,anongid=36 to the NFS mount options.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] nfs storage permission problem

2016-04-13 Thread Brett I. Holcomb
On Wed, 2016-04-13 at 15:09 -0700, Bill James wrote:
> I have a cluster working fine with 2 nodes.
> I'm trying to add a third and it is complaining:
> 
> 
> StorageServerAccessPermissionError: Permission settings on the
> specified 
> path do not allow access to the storage. Verify permission settings
> on 
> the specified storage path.: 'path = 
> /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs'
> 
> 
> if I try the commands manually as vdsm they work fine and the volume
> mounts.
> 
> 
> [vdsm@ovirt4 test /]$ mkdir -p 
> /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> [vdsm@ovirt4 test /]$ sudo -n /usr/bin/mount -t nfs -o 
> soft,nosharecache,timeo=600,retrans=6 
> ovirt3-ks.test.j2noc.com:/ovirt-store/nfs 
> /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> [vdsm@ovirt4 test /]$ df -h 
> /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> Filesystem Size  Used Avail Use%
> Mounted on
> ovirt3-ks.test.j2noc.com:/ovirt-store/nfs  1.1T  305G  759G  29% 
> /rhev/data-center/mnt/ovirt3-ks.test.j2noc.com:_ovirt-store_nfs
> 
> 
> After manually mounting the NFS volumes and activating the node it
> still 
> fails.
> 
> 
> 2016-04-13 14:55:16,559 WARN 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector
> ] 
> (DefaultQuartzScheduler_Worker-61) [64ceea1d] Correlation ID:
> 64ceea1d, 
> Job ID: a47b74c7-2ae0-43f9-9bdf-e50963a28895, Call Stack: null,
> Custom 
> Event ID: -1, Message: Host ovirt4.test.j2noc.com cannot access the 
> Storage Domain(s)  attached to the Data Center Default.
> Setting 
> Host state to Non-Operational.
> 
> 
> Not sure what "UNKNOWN" storage is, unless its one I deleted earlier 
> that somehow isn't really removed.
> 
> Also tried "reinstall" on node. same issue.
> 
> Attached are engine and vdsm logs.
> 
> 
> Thanks.
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

Try adding anonuid=36,anongid=36 to the mount and make sure 36:36 is
the owner group on the mount point.  I found this, http://www.ovirt.org
/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-
issues/, helpful.

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


Re: [ovirt-users] Looking for Python-SDK documentation

2016-04-13 Thread Brett I. Holcomb
On Wed, 2016-04-13 at 09:19 +0300, Yedidyah Bar David wrote:
> On Wed, Apr 13, 2016 at 12:03 AM, Brett I. Holcomb 
> com> wrote:
> > 
> > snipped
> > 
> > One question I have as I read this.  In a hosted-engine environment how
> > do I use the SDK to tell if the Engine VM is running.  I could dump a
> > hosted-engine --vm-status and parse it's output but is there a better
> > way.  Assuming that since the host is running the Engine is does not
> > always hold true.
> > 

> 
> 
> You can simply try to connect to the api. If you succeed, the engine is up.
> 
> You can also use this url, which is what hosted-engine
> --deploy uses:
> 
> 
http://{fqdn}/ovirt-engine/services/health
> {fqdn}/ovirt-engine/services/health
> 
> Not sure why we keep using it, as it was considered deprecated at some point,
> see this:
> 
> 
https://bugzilla.redhat.com/show_bug.cgi?id=1026723> 
https://gerrit.ovirt.org/20846
> 
> 
> If you want more, you can write something and start from the file implementing
> --vm-status, ovirt_hosted_engine_setup/vm_status.py . It uses
> ovirt_hosted_engine_ha.client to get the data and does rather shallow 
> massaging
> around that. Not sure ovirt_hosted_engine_ha.client is an official API, IIRC 
> no
> other project uses it, and even if it is, it's still not part of the engine 
> API.
> 
> Another option is to add an option to --vm-status to output machine-readable
> info. patches are welcome :-)
> 
> Best,
> 

Thanks.  I'll go with the if api connects engine running if not engine
down method.  I don't want to use a deprecated method and I'll stick
with whats part of the API. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Looking for Python-SDK documentation

2016-04-12 Thread Brett I. Holcomb
   1. On Tue, 2016-04-12 at 23:03 +0200, Frank Thommen wrote:
> On 12.04.16 13:57, Alexander Wels wrote:
> > 
> > On Monday, April 11, 2016 05:03:28 PM Brett I. Holcomb wrote:
> > > 
> > > On Mon, 2016-04-11 at 20:41 +0200, Frank Thommen wrote:
> > > > 
> > > > On 11.04.16 20:17, Brett I. Holcomb wrote:
> > > > [...]
> > > I'm in the same boat as Frank.  I've done programming in various
> > > languages since Fortran without the numbers  but only when
> > > needed
> > > for my job as an Engineer so I'm not a professional but just
> > > trying to
> > > get a job done.  It would be nice to have a full reference so we
> > > know
> > > what to provide.  When trying to connect with the api I finally
> > > figured
> > > out to use ca_file (like ca-file on the command line).  Raz's
> > > reference
> > > is more complete but still leaves a lot out.  The newer
> > > equivalent of
> > > Raz's reference seems to be http://www.ovirt.org/develop/release-
> > > manage
> > > ment/features/infra/python-sdk/.
> > The Python/Java/Ruby SDKs are simply language specific wrappers
> > around the REST
> > api. So if you want a full list of all the options available check
> > out the
> > REST api documentation. You will have to translate a particular
> > REST api
> > field/feature to the SDK, but all the SDKs are generated from the
> > REST api
> > interface definition so the naming and everything should be the
> > same.
> That makes sense, thanks.  On the other hand I could also not find
> any 
> REST api reference.  Just some pages with examples a la "find it out 
> yourself from there"...
> 
> frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

Same here.  A lot of examples, some more detailed but no "API Reference
Manual for oVirt REST API" like we had in the old days .

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


Re: [ovirt-users] Looking for Python-SDK documentation

2016-04-12 Thread Brett I. Holcomb
On Tue, 2016-04-12 at 07:57 -0400, Alexander Wels wrote:
> On Monday, April 11, 2016 05:03:28 PM Brett I. Holcomb wrote:
> > 
> > On Mon, 2016-04-11 at 20:41 +0200, Frank Thommen wrote:
> > > 
> > > On 11.04.16 20:17, Brett I. Holcomb wrote:
> > > > 
> > > > On Mon, 2016-04-11 at 14:38 -0300, Amador Pahim wrote:
> > > > > 
> > > > > On 04/11/2016 02:07 PM, Brett I. Holcomb wrote:
> > > > > > 
> > > > > > On Mon, 2016-04-11 at 17:27 +0200, Frank Thommen wrote:
> > > > > > > 
> > > > > > > Dear all,
> > > > > > > 
> > > > > > > I'm currently lost at finding any documentation about the
> > > > > > > Python SDK
> > > > > > > (http://www.ovirt.org/develop/release-management/features
> > > > > > > /inf
> > > > > > > ra/python-sdk/)
> > > > > > > like provided classes, functions etc..  There are some
> > > > > > > examples on the
> > > > > > > mentioned page, but I cannot find a complete
> > > > > > > documentation.  Our oVirt
> > > > > > > server is running CentOS 7 with ovirt-engine-sdk-python
> > > > > > > installed.
> > > > > > > However there doesn't seem to exist an ovirt-engine-sdk-
> > > > > > > python-docs
> > > > > > > package and I couldn't find any appropriate link on the
> > > > > > > oVirt
> > > > > > > documentation pages (http://www.ovirt.org/documentation/)
> > > > > > > .
> > > > > > > 
> > > > > > > Any ideas, where the documentation is available?
> > > > > > > 
> > > > > > > Cheers
> > > > > > > Frank
> > > > > > > ___
> > > > > > > Users mailing list
> > > > > > > Users@ovirt.org <mailto:Users@ovirt.org>
> > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > <http://lists.ovirt.org/mailman/listinfo/users%0A>
> > > > > > Other than what you found I found this but that's
> > > > > > all.  Doesn't
> > > > > > seem
> > > > > > to be much other than examples an the one that shows what
> > > > > > to
> > > > > > import.
> > > > > >  I, too would like to find what your are looking for so I
> > > > > > can
> > > > > > use it.
> > > > > There is this RHEV documentation that can be helpful:
> > > > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterpr
> > > > > ise_
> > > > > Virtualization/3.3/html/Developer_Guide/chap-
> > > > > Python_Quick_Start_Example.html
> > > > > 
> > > > > > 
> > > > > > http://www.ovirt.org/develop/api/pythonapi/
> > > > > > 
> > > > > > 
> > > > > > ___
> > > > > > Users mailing list
> > > > > > Users@ovirt.org <mailto:Users@ovirt.org>
> > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > <http://lists.ovirt.org/mailman/listinfo/users >
> > > > Thanks.  That is helpful but as Frank said it would be nice to
> > > > have
> > > > an
> > > > api reference for each class and function that gives the
> > > > parameters,
> > > > return values, and other stuff usually found in an API
> > > > reference.  The
> > > > examples are helpful but don't give all the information abut a
> > > > function
> > > > or class.
> > > Thanks to all who answered.  Brett brings it to the point:  All
> > > sent 
> > > links so far are indeed helpful - thanks a lot - but not the
> > > reference I 
> > > expected. 
> > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_
> > > Virt
> > > ualization/3.6/html/Python_SDK_Guide/chap-
> > > Python_Reference_Documentation.html#Python_Reference_Documentatio
> > > n 
> > > mentions `pydoc`, but this documentation seems to be provided
> > > only
> > > for 
> > > some modules or to be incomplete.  Also f

Re: [ovirt-users] Looking for Python-SDK documentation

2016-04-11 Thread Brett I. Holcomb
On Mon, 2016-04-11 at 20:41 +0200, Frank Thommen wrote:
> On 11.04.16 20:17, Brett I. Holcomb wrote:
> > 
> > On Mon, 2016-04-11 at 14:38 -0300, Amador Pahim wrote:
> > > 
> > > 
> > > On 04/11/2016 02:07 PM, Brett I. Holcomb wrote:
> > > > 
> > > > On Mon, 2016-04-11 at 17:27 +0200, Frank Thommen wrote:
> > > > > 
> > > > > Dear all,
> > > > > 
> > > > > I'm currently lost at finding any documentation about the
> > > > > Python SDK
> > > > > (http://www.ovirt.org/develop/release-management/features/inf
> > > > > ra/python-sdk/)
> > > > > like provided classes, functions etc..  There are some
> > > > > examples on the
> > > > > mentioned page, but I cannot find a complete
> > > > > documentation.  Our oVirt
> > > > > server is running CentOS 7 with ovirt-engine-sdk-python
> > > > > installed.
> > > > > However there doesn't seem to exist an ovirt-engine-sdk-
> > > > > python-docs
> > > > > package and I couldn't find any appropriate link on the oVirt
> > > > > documentation pages (http://www.ovirt.org/documentation/).
> > > > > 
> > > > > Any ideas, where the documentation is available?
> > > > > 
> > > > > Cheers
> > > > > Frank
> > > > > ___
> > > > > Users mailing list
> > > > > Users@ovirt.org <mailto:Users@ovirt.org>
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > <http://lists.ovirt.org/mailman/listinfo/users%0A>
> > > > Other than what you found I found this but that's all.  Doesn't
> > > > seem
> > > > to be much other than examples an the one that shows what to
> > > > import.
> > > >  I, too would like to find what your are looking for so I can
> > > > use it.
> > > There is this RHEV documentation that can be helpful:
> > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_
> > > Virtualization/3.3/html/Developer_Guide/chap-
> > > Python_Quick_Start_Example.html
> > > 
> > > > 
> > > > 
> > > > http://www.ovirt.org/develop/api/pythonapi/
> > > > 
> > > > 
> > > > ___
> > > > Users mailing list
> > > > Users@ovirt.org <mailto:Users@ovirt.org>
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > <http://lists.ovirt.org/mailman/listinfo/users >
> > Thanks.  That is helpful but as Frank said it would be nice to have
> > an
> > api reference for each class and function that gives the
> > parameters,
> > return values, and other stuff usually found in an API
> > reference.  The
> > examples are helpful but don't give all the information abut a
> > function
> > or class.
> Thanks to all who answered.  Brett brings it to the point:  All sent 
> links so far are indeed helpful - thanks a lot - but not the
> reference I 
> expected. 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virt
> ualization/3.6/html/Python_SDK_Guide/chap-
> Python_Reference_Documentation.html#Python_Reference_Documentation 
> mentions `pydoc`, but this documentation seems to be provided only
> for 
> some modules or to be incomplete.  Also for me not being a software 
> developper and newish to Python, the `pydoc` information is not very 
> useful.  Where can I e.g. find the documentation for vms.get() and 
> vms.add() (just to name teo concrete examples)?
> 
> Frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
I'm in the same boat as Frank.  I've done programming in various
languages since Fortran without the numbers  but only when needed
for my job as an Engineer so I'm not a professional but just trying to
get a job done.  It would be nice to have a full reference so we know
what to provide.  When trying to connect with the api I finally figured
out to use ca_file (like ca-file on the command line).  Raz's reference
is more complete but still leaves a lot out.  The newer equivalent of
Raz's reference seems to be http://www.ovirt.org/develop/release-manage
ment/features/infra/python-sdk/.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Looking for Python-SDK documentation

2016-04-11 Thread Brett I. Holcomb
On Mon, 2016-04-11 at 14:38 -0300, Amador Pahim wrote:
> 

On 04/11/2016 02:07 PM, Brett I. Holcomb wrote:
> On Mon, 2016-04-11 at 17:27 +0200, Frank Thommen wrote:
> > Dear all,
> > 
> > I'm currently lost at finding any documentation about the Python
> > SDK 
> > (http://www.ovirt.org/develop/release-management/features/infra/pyt
> > hon-sdk/) 
> > like provided classes, functions etc..  There are some examples on
> > the 
> > mentioned page, but I cannot find a complete documentation.  Our
> > oVirt 
> > server is running CentOS 7 with ovirt-engine-sdk-python installed. 
> > However there doesn't seem to exist an ovirt-engine-sdk-python-
> > docs 
> > package and I couldn't find any appropriate link on the oVirt 
> > documentation pages (http://www.ovirt.org/documentation/).
> > 
> > Any ideas, where the documentation is available?
> > 
> > Cheers
> > Frank
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> Other than what you found I found this but that's all.  Doesn't seem
> to be much other than examples an the one that shows what to import.
>  I, too would like to find what your are looking for so I can use
> it.  
 
There is this RHEV documentation that can be helpful:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtua
lization/3.3/html/Developer_Guide/chap-Python_Quick_Start_Example.html
> 
> http://www.ovirt.org/develop/api/pythonapi/
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
Thanks.  That is helpful but as Frank said it would be nice to have an
api reference for each class and function that gives the parameters,
return values, and other stuff usually found in an API reference.  The
examples are helpful but don't give all the information abut a function
or class.
##SELECTION_END##
>  ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Looking for Python-SDK documentation

2016-04-11 Thread Brett I. Holcomb
On Mon, 2016-04-11 at 17:27 +0200, Frank Thommen wrote:
> Dear all,
> 
> I'm currently lost at finding any documentation about the Python SDK 
> (http://www.ovirt.org/develop/release-management/features/infra/pytho
> n-sdk/) 
> like provided classes, functions etc..  There are some examples on
> the 
> mentioned page, but I cannot find a complete documentation.  Our
> oVirt 
> server is running CentOS 7 with ovirt-engine-sdk-python installed. 
> However there doesn't seem to exist an ovirt-engine-sdk-python-docs 
> package and I couldn't find any appropriate link on the oVirt 
> documentation pages (http://www.ovirt.org/documentation/).
> 
> Any ideas, where the documentation is available?
> 
> Cheers
> Frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
Other than what you found I found this but that's all.  Doesn't seem to
be much other than examples an the one that shows what to import.  I,
too would like to find what your are looking for so I can use it.  
http://www.ovirt.org/develop/api/pythonapi/___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Autostart VMS

2016-04-08 Thread Brett I. Holcomb
On Sat, 2016-04-09 at 01:17 +0300, Nir Soffer wrote:
> On Sat, Apr 9, 2016 at 1:09 AM, Brett I. Holcomb 
> m> wrote:
> > 
> > You are welcome.  I haven't filed a bug for it yet but will be glad
> > to do so
> > or would it be a Feature request?  I assume I go to the oVirt bug
> > tracker
> > site.
> Yes, here:
> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
> 
> Component should be RFEs
> oVirt team is probably SLA
> 
> We have a voting feature now, so users interested in this feature
> can vote on the bug.
> 
> Thanks,
> Nir
> 
It is done.  I would be willing to do what I help with it within my
skill set.

  Bug 1325468 has been added to the database
  Email sent to:
  
  
s.kie...@mittwald.de, 
levi.har...@dart.biz, 
vanoppen.k...@gmail.com, 
sher...@redhat.com, 
d...@redhat.com, 
gkl...@redhat.com, 
b...@ovirt.org
  
Excluding:
  
  
biholc...@l1049h.com
  


  

> > 
> > 
> > 
> > 
> > 
> > On Sat, 2016-04-09 at 01:06 +0300, Nir Soffer wrote:
> > 
> > On Sat, Apr 9, 2016 at 12:07 AM, Brett I. Holcomb <biholc...@l1049h.com>
> > >
> > wrote:
> > 
> > On Fri, 2016-04-08 at 21:50 +0300, Nir Soffer wrote:
> > 
> > On Fri, Apr 8, 2016 at 9:33 PM, Brett I. Holcomb <biholc...@l1049h.com>
> > >
> > wrote:
> > 
> > On Fri, 2016-04-08 at 19:25 +0300, Nir Soffer wrote:
> > 
> > On Fri, Apr 8, 2016 at 7:17 PM, Brett I. Holcomb <biholc...@l1049h.com>
> > >
> > wrote:
> > 
> > On Fri, 2016-04-08 at 11:31 +0200, Martin Sivak wrote:
> > 
> > Hi,
> > 
> > 
> > I set highly available on, did not pin to any host, and also set the
> > watchdog which should reset if they go down but I'm not sure that will start
> > them if the host comes up and the VMs are not running.  I'll look at the CLI
> > first.
> > 
> > 
> > The engine will try to keep the VM running. So if one host goes down,
> > it will restart the VM on some other host automatically. We will also
> > migrate the VM (or some other to free resources) when the current host
> > gets too loaded. We do not require any migration addons, it just
> > works. But of course we have usually more hosts in a cluster to make
> > this possible.
> > 
> > I do not really remember what happens when all hosts are restarted
> > (power outage) though as that is quite special case.
> > 
> > Regards
> > 
> > --
> > Martin Sivak
> > SLA / oVirt
> > 
> > 
> > 
> > Thanks.  I only have one host so who knows what will happen.  I'm working on
> > a script that will basically emulate what VMware does - start VMS in a given
> > order at startup of the host/engine.  I'll also file a feature request.
> > 
> > 
> > Why do you care about the order?
> > 
> > Isn't it enough to restart all the vms after a host was restarted?
> > 
> > Nir
> > 
> > 
> > Does the Engine start all VMs after the host is powered up and the engine
> > running if I set a watchdog on a VM?  I know it will try to restart the VM
> > if it goes down once oVirt is up and running.   If it will start the VMs at
> > reboot time that helps.
> > 
> > 
> > I think only HA vms are restarted. Adding Michal to add more info on this.
> > 
> > 
> > The reason for the order is that you need some servers such as DNS, file
> > servers, up first before other systems can resolve addresses or mount
> > shares.  For Windows you need domain controllers running before the other
> > windows systems that are part of the domain.  For applications such as Lotus
> > Notes the servers had to come up in the correct order.
> > 
> > 
> > Lets say you have a way to order the vms when some vms are down.
> > 
> > What will happen to when dns, file servers or domain controller will crash?
> > Do you have to restart all the vms depending on them or they can
> > recover and detect that vm they depend on were restarted?
> > 
> > Seems that what you need is a systemd for your data center - every
> > host define the host it depends on, and the system generate the
> > correct order to start the vms, starting vms in the same time when
> > possible.
> > 
> > Please reply also to the list, this thread may be useful to others.
> > 
> > Nir
> > 
> > 
> > Hopefully this will go to the list as i"ve been making sure users@ovirt.org
> > 
> > is in the To field.
> > 
> > I think we

Re: [ovirt-users] Autostart VMS

2016-04-08 Thread Brett I. Holcomb
You are welcome.  I haven't filed a bug for it yet but will be glad to
do so or would it be a Feature request?  I assume I go to the oVirt bug
tracker site.
On Sat, 2016-04-09 at 01:06 +0300, Nir Soffer wrote:
> On Sat, Apr 9, 2016 at 12:07 AM, Brett I. Holcomb 
> om> wrote:
> > 
> > On Fri, 2016-04-08 at 21:50 +0300, Nir Soffer wrote:
> > 
> > On Fri, Apr 8, 2016 at 9:33 PM, Brett I. Holcomb 
> > com>
> > wrote:
> > 
> > On Fri, 2016-04-08 at 19:25 +0300, Nir Soffer wrote:
> > 
> > On Fri, Apr 8, 2016 at 7:17 PM, Brett I. Holcomb 
> > com>
> > wrote:
> > 
> > On Fri, 2016-04-08 at 11:31 +0200, Martin Sivak wrote:
> > 
> > Hi,
> > 
> > 
> > I set highly available on, did not pin to any host, and also set
> > the
> > watchdog which should reset if they go down but I'm not sure that
> > will start
> > them if the host comes up and the VMs are not running.  I'll look
> > at the CLI
> > first.
> > 
> > 
> > The engine will try to keep the VM running. So if one host goes
> > down,
> > it will restart the VM on some other host automatically. We will
> > also
> > migrate the VM (or some other to free resources) when the current
> > host
> > gets too loaded. We do not require any migration addons, it just
> > works. But of course we have usually more hosts in a cluster to
> > make
> > this possible.
> > 
> > I do not really remember what happens when all hosts are restarted
> > (power outage) though as that is quite special case.
> > 
> > Regards
> > 
> > --
> > Martin Sivak
> > SLA / oVirt
> > 
> > 
> > 
> > Thanks.  I only have one host so who knows what will happen.  I'm
> > working on
> > a script that will basically emulate what VMware does - start VMS
> > in a given
> > order at startup of the host/engine.  I'll also file a feature
> > request.
> > 
> > 
> > Why do you care about the order?
> > 
> > Isn't it enough to restart all the vms after a host was restarted?
> > 
> > Nir
> > 
> > 
> > Does the Engine start all VMs after the host is powered up and the
> > engine
> > running if I set a watchdog on a VM?  I know it will try to restart
> > the VM
> > if it goes down once oVirt is up and running.   If it will start
> > the VMs at
> > reboot time that helps.
> > 
> > 
> > I think only HA vms are restarted. Adding Michal to add more info
> > on this.
> > 
> > 
> > The reason for the order is that you need some servers such as DNS,
> > file
> > servers, up first before other systems can resolve addresses or
> > mount
> > shares.  For Windows you need domain controllers running before the
> > other
> > windows systems that are part of the domain.  For applications such
> > as Lotus
> > Notes the servers had to come up in the correct order.
> > 
> > 
> > Lets say you have a way to order the vms when some vms are down.
> > 
> > What will happen to when dns, file servers or domain controller
> > will crash?
> > Do you have to restart all the vms depending on them or they can
> > recover and detect that vm they depend on were restarted?
> > 
> > Seems that what you need is a systemd for your data center - every
> > host define the host it depends on, and the system generate the
> > correct order to start the vms, starting vms in the same time when
> > possible.
> > 
> > Please reply also to the list, this thread may be useful to others.
> > 
> > Nir
> > 
> > 
> > Hopefully this will go to the list as i"ve been making sure users@o
> > virt.org
> > is in the To field.
> > 
> > I think we need to make sure we distinguish between the start up
> > phase and
> > the running phase which is what happens after everyone is up and
> > running
> > happily.  Based on my experience the crash of a server is
> > considered
> > separately from startup.
> > 
> > As mentioned in my response to the list to someone else's comment
> > the
> > startup sequence is the same as people flipping switches on
> > physical servers
> > following a documented procedure to start or shutdown a datacenter
> > as we did
> > in the "old days".  With physical boxes we had to shutdown/startup
> > manually
> > and we did it in a sequence that we had written down.  With
> > virtualization
> > and since we had VMware we could automate that process so as w

Re: [ovirt-users] Autostart VMS

2016-04-08 Thread Brett I. Holcomb
On Fri, 2016-04-08 at 21:50 +0300, Nir Soffer wrote:
> On Fri, Apr 8, 2016 at 9:33 PM, Brett I. Holcomb 
> m> wrote:
> > 
> > On Fri, 2016-04-08 at 19:25 +0300, Nir Soffer wrote:
> > 
> > On Fri, Apr 8, 2016 at 7:17 PM, Brett I. Holcomb 
> > com>
> > wrote:
> > 
> > On Fri, 2016-04-08 at 11:31 +0200, Martin Sivak wrote:
> > 
> > Hi,
> > 
> > 
> > I set highly available on, did not pin to any host, and also set
> > the
> > watchdog which should reset if they go down but I'm not sure that
> > will start
> > them if the host comes up and the VMs are not running.  I'll look
> > at the CLI
> > first.
> > 
> > 
> > The engine will try to keep the VM running. So if one host goes
> > down,
> > it will restart the VM on some other host automatically. We will
> > also
> > migrate the VM (or some other to free resources) when the current
> > host
> > gets too loaded. We do not require any migration addons, it just
> > works. But of course we have usually more hosts in a cluster to
> > make
> > this possible.
> > 
> > I do not really remember what happens when all hosts are restarted
> > (power outage) though as that is quite special case.
> > 
> > Regards
> > 
> > --
> > Martin Sivak
> > SLA / oVirt
> > 
> > 
> > 
> > Thanks.  I only have one host so who knows what will happen.  I'm
> > working on
> > a script that will basically emulate what VMware does - start VMS
> > in a given
> > order at startup of the host/engine.  I'll also file a feature
> > request.
> > 
> > 
> > Why do you care about the order?
> > 
> > Isn't it enough to restart all the vms after a host was restarted?
> > 
> > Nir
> > 
> > 
> > Does the Engine start all VMs after the host is powered up and the
> > engine
> > running if I set a watchdog on a VM?  I know it will try to restart
> > the VM
> > if it goes down once oVirt is up and running.   If it will start
> > the VMs at
> > reboot time that helps.
> I think only HA vms are restarted. Adding Michal to add more info on
> this.
> 
> > 
> > The reason for the order is that you need some servers such as DNS,
> > file
> > servers, up first before other systems can resolve addresses or
> > mount
> > shares.  For Windows you need domain controllers running before the
> > other
> > windows systems that are part of the domain.  For applications such
> > as Lotus
> > Notes the servers had to come up in the correct order.
> Lets say you have a way to order the vms when some vms are down.
> 
> What will happen to when dns, file servers or domain controller will
> crash?
> Do you have to restart all the vms depending on them or they can
> recover and detect that vm they depend on were restarted?
> 
> Seems that what you need is a systemd for your data center - every
> host define the host it depends on, and the system generate the
> correct order to start the vms, starting vms in the same time when
> possible.
> 
> Please reply also to the list, this thread may be useful to others.
> 
> Nir
Hopefully this will go to the list as i"ve been making sure users@ovirt
.org is in the To field.
I think we need to make sure we distinguish between the start up phase
and the running phase which is what happens after everyone is up and
running happily.  Based on my experience the crash of a server is
considered separately from startup. 
As mentioned in my response to the list to someone else's comment the
startup sequence is the same as people flipping switches on physical
servers following a documented procedure to start or shutdown a
datacenter as we did in the "old days".  With physical boxes we had to
shutdown/startup manually and we did it in a sequence that we had
written down.  With virtualization and since we had VMware we could
automate that process so as we spun up the hosts VMware started
spinning up the guests in the order specified so we got our DNS boxes
up first, then others.  For Active Directory we started the domain
controllers first, then other servers such as file servers, application
servers in the sequence needed for the applications to run.
Crashing of DNS, File Server, Domain Controllers crashing after the
datacenter is up and running is handled (or should be) by redundancy of
servers or process the service provides.  You have multiple DNS servers
and the resolver will try the secondary/tertiary/whatever if the
primary is down.  File servers are the same.  For Gluster, CephFS, MS
DFS you have (or should have setup) the ability to keep running if one
of the se

Re: [ovirt-users] Autostart VMS

2016-04-08 Thread Brett I. Holcomb
On Fri, 2016-04-08 at 16:40 +, Michael Kleinpaste wrote:
> Actually this is used pretty regularly in VMware environments.  For
> instance I've seen MSSQL systems running under AD credentials so they
> can access UNC shares.  If the AD domain controllers aren't up prior
> to the database server starting up the MSSQL service won't start
> because it can't authenticate the user on the service.\
That was exactly what I had in one of my jobs where I had an AD domain
for a University and we had several MSSQL servers that needed the AD
credentials.  Plus I had an IBM FileNet ECM system with several servers
that had to be started in the correct order.  With AD you need to have
the domain controllers up and running or nothing works.  Our Linux
systems alsso had some that depended on others.  If they weren't
started in the correct order they had to be restarted again.  And it's
not really a VMware specific need but any environment whether it's
physical or virtual needs as startup sequence.  Before we virtualized
we had a written procedure on what servers came up and in what order
(and the reverse for a shutdown of the site).  When moving to
virtualization the virtualization system replaces people flipping
switches with it's startup/shutdown order or it should.

> On Fri, Apr 8, 2016 at 9:25 AM Nir Soffer <nsof...@redhat.com> wrote:> > On 
> Fri, Apr 8, 2016 at 7:17 PM, Brett I. Holcomb <biholc...@l1049h.com> wrote:
> > 
> > > On Fri, 2016-04-08 at 11:31 +0200, Martin Sivak wrote:
> > 
> > >
> > 
> > > Hi,
> > 
> > >
> > 
> > >
> > 
> > > I set highly available on, did not pin to any host, and also set the
> > 
> > > watchdog which should reset if they go down but I'm not sure that will 
> > > start
> > 
> > > them if the host comes up and the VMs are not running.  I'll look at the 
> > > CLI
> > 
> > > first.
> > 
> > >
> > 
> > >
> > 
> > > The engine will try to keep the VM running. So if one host goes down,
> > 
> > > it will restart the VM on some other host automatically. We will also
> > 
> > > migrate the VM (or some other to free resources) when the current host
> > 
> > > gets too loaded. We do not require any migration addons, it just
> > 
> > > works. But of course we have usually more hosts in a cluster to make
> > 
> > > this possible.
> > 
> > >
> > 
> > > I do not really remember what happens when all hosts are restarted
> > 
> > > (power outage) though as that is quite special case.
> > 
> > >
> > 
> > > Regards
> > 
> > >
> > 
> > > --
> > 
> > > Martin Sivak
> > 
> > > SLA / oVirt
> > 
> > >
> > 
> > >
> > 
> > >
> > 
> > > Thanks.  I only have one host so who knows what will happen.  I'm working 
> > > on
> > 
> > > a script that will basically emulate what VMware does - start VMS in a 
> > > given
> > 
> > > order at startup of the host/engine.  I'll also file a feature request.
> > 

> > 
> > Why do you care about the order?
> > 

> > 
> > Isn't it enough to restart all the vms after a host was restarted?
> > 

> > 
> > Nir
> > 

> > 
> > >
> > 
> > > On Wed, Apr 6, 2016 at 9:10 PM, Brett I. Holcomb <biholc...@l1049h.com>
> > 
> > > wrote:
> > 
> > >
> > 
> > > On Wed, 2016-04-06 at 13:42 -0400, Adam Litke wrote:
> > 
> > >
> > 
> > > On 06/04/16 01:46 -0400, Brett I. Holcomb wrote:
> > 
> > >
> > 
> > > In VMware we could setup guests to autostart when the host started and
> > 
> > > define the order.  Is that doable in oVirt?  The only thing I've seen
> > 
> > > is the watchdog and tell it to reset but nothing that allows me to
> > 
> > > define who starts up when and if they autostart.  I assume it's there
> > 
> > > but I must be missing it or haven't found it in the web portal.
> > 
> > >
> > 
> > >
> > 
> > > In oVirt guests aren't tied to a host by default (although you can set
> > 
> > > them to run only on a specific host if you want).  The closest thing I
> > 
> > > can think of would be the High Availability features (VM->Edit).
> > 
> > > oVirt will try to restart highly available VMs if they go down.  You
> > 
> > > can also set the priority for migration and rest

Re: [ovirt-users] Autostart VMS

2016-04-08 Thread Brett I. Holcomb
On Fri, 2016-04-08 at 11:31 +0200, Martin Sivak wrote:
> Hi,
> 
> > 
> > I set highly available on, did not pin to any host, and also set
> > the
> > watchdog which should reset if they go down but I'm not sure that
> > will start
> > them if the host comes up and the VMs are not running.  I'll look
> > at the CLI
> > first.
> The engine will try to keep the VM running. So if one host goes down,
> it will restart the VM on some other host automatically. We will also
> migrate the VM (or some other to free resources) when the current
> host
> gets too loaded. We do not require any migration addons, it just
> works. But of course we have usually more hosts in a cluster to make
> this possible.
> 
> I do not really remember what happens when all hosts are restarted
> (power outage) though as that is quite special case.
> 
> Regards
> 
> --
> Martin Sivak
> SLA / oVirt
Thanks.  I only have one host so who knows what will happen.  I'm
working on a script that will basically emulate what VMware does -
start VMS in a given order at startup of the host/engine.  I'll also
file a feature request.
> On Wed, Apr 6, 2016 at 9:10 PM, Brett I. Holcomb <biholc...@l1049h.com> wrote:
> > wrote:
> 
> > 
> > On Wed, 2016-04-06 at 13:42 -0400, Adam Litke wrote:
> > 
> > On 06/04/16 01:46 -0400, Brett I. Holcomb wrote:
> > 
> > In VMware we could setup guests to autostart when the host started and
> > define the order.  Is that doable in oVirt?  The only thing I've seen
> > is the watchdog and tell it to reset but nothing that allows me to
> > define who starts up when and if they autostart.  I assume it's there
> > but I must be missing it or haven't found it in the web portal.
> > 
> > 
> > In oVirt guests aren't tied to a host by default (although you can set
> > them to run only on a specific host if you want).  The closest thing I
> > can think of would be the High Availability features (VM->Edit).
> > oVirt will try to restart highly available VMs if they go down.  You
> > can also set the priority for migration and restart in that pane.
> > Hopefully a combination of host pinning and the  high availability
> > settings will get you close enough to where you want to be.
> > 
> > Otherwise, you could always do some scripting with the ovirt REST API
> > using the SDK or CLI.
> > 
> > 
> > If you had the VMware migration extra add-on you could have hosts move as
> > needed so they were not tied to any host either but we could set a startup
> > order and specify auto, manual so that once the host started the VMs were
> > brought up as specified no matter what host they were running on.
> > 
> > I am running hosted-engine deployment with the Engine VM on the host.
> > 
> > I set highly available on, did not pin to any host, and also set the
> > watchdog which should reset if they go down but I'm not sure that will start
> > them if the host comes up and the VMs are not running.  I'll look at the CLI
> > first.
> > 
> > It would be nice if oVirt added this feature as it's really required for
> > large installations and is a help for any size installation, even small
> > ones.
> > 
> > 
> > 
> > 
> > ___
> > 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] Autostart VMS

2016-04-07 Thread Brett I. Holcomb
On Wed, 2016-04-06 at 21:44 +0200, Joop wrote:
> On 6-4-2016 21:10, Brett I. Holcomb wrote:
> > 
> > On Wed, 2016-04-06 at 13:42 -0400, Adam Litke wrote:
> > > 
> > > On 06/04/16 01:46 -0400, Brett I. Holcomb wrote:
> > > > 
> > > > In VMware we could setup guests to autostart when the host
> > > > started
> > > > and define the order.  Is that doable in oVirt?  The only thing
> > > > I've
> > > > seen is the watchdog and tell it to reset but nothing that
> > > > allows me
> > > > to define who starts up when and if they autostart.  I assume
> > > > it's
> > > > there but I must be missing it or haven't found it in the web
> > > > portal. 
> > > 
> > > In oVirt guests aren't tied to a host by default (although you
> > > can set
> > > them to run only on a specific host if you want).  The closest
> > > thing I
> > > can think of would be the High Availability features (VM->Edit).
> > > oVirt will try to restart highly available VMs if they go
> > > down.  You
> > > can also set the priority for migration and restart in that pane.
> > > Hopefully a combination of host pinning and the  high
> > > availability
> > > settings will get you close enough to where you want to be.
> > > 
> > > Otherwise, you could always do some scripting with the ovirt REST
> > > API
> > > using the SDK or CLI.
> > > 
> > If you had the VMware migration extra add-on you could have hosts
> > move
> > as needed so they were not tied to any host either but we could set
> > a
> > startup order and specify auto, manual so that once the host
> > started
> > the VMs were brought up as specified no matter what host they were
> > running on.  
> > 
> > I am running hosted-engine deployment with the Engine VM on the
> > host.
> > 
> > I set highly available on, did not pin to any host, and also set
> > the
> > watchdog which should reset if they go down but I'm not sure that
> > will
> > start them if the host comes up and the VMs are not running.  I'll
> > look at the CLI first.
> > 
> > It would be nice if oVirt added this feature as it's really
> > required
> > for large installations and is a help for any size installation,
> > even
> > small ones.
> > 
> Maybe there is a another way. It involves ovirt-shell and/or a sdk
> script. The idea is the create a custom property and set that to for
> example, y:01 or n:02 and yes that to read that back if the host
> comes
> up and start the vms if they have 'y' and use the number for
> ordering.
> If reading back the properties is a problem you might be able to
> 'use'
> the tagging feature todo something similar.
> 
> You can always create a RFE on the ovirt bugtracker.
> 
> Joop
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
I'll do that.  It's really a needed feature to make administration
easier.
I finally got the ovirt-shell connected with the help of this https://b
ugzilla.redhat.com/show_bug.cgi?id=1186365.  The silly thing can't
handle no domain and the error doesn't tell you that.
Oh, well.  We'll play with this and then check out the A
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Autostart VMS

2016-04-06 Thread Brett I. Holcomb
On Wed, 2016-04-06 at 21:44 +0200, Joop wrote:
> On 6-4-2016 21:10, Brett I. Holcomb wrote:
> > On Wed, 2016-04-06 at 13:42 -0400, Adam Litke wrote:
> > > On 06/04/16 01:46 -0400, Brett I. Holcomb wrote:
> > > > In VMware we could setup guests to autostart when the host
> > > > started
> > > > and define the order.  Is that doable in oVirt?  The only thing
> > > > I've
> > > > seen is the watchdog and tell it to reset but nothing that
> > > > allows me
> > > > to define who starts up when and if they autostart.  I assume
> > > > it's
> > > > there but I must be missing it or haven't found it in the web
> > > > portal. 
> > > 
> > > 
> > > In oVirt guests aren't tied to a host by default (although you
> > > can set
> > > them to run only on a specific host if you want).  The closest
> > > thing I
> > > can think of would be the High Availability features (VM->Edit).
> > > oVirt will try to restart highly available VMs if they go
> > > down.  You
> > > can also set the priority for migration and restart in that pane.
> > > Hopefully a combination of host pinning and the  high
> > > availability
> > > settings will get you close enough to where you want to be.
> > > 
> > > Otherwise, you could always do some scripting with the ovirt REST
> > > API
> > > using the SDK or CLI.
> > > 
> > 
> > If you had the VMware migration extra add-on you could have hosts
> > move
> > as needed so they were not tied to any host either but we could set
> > a
> > startup order and specify auto, manual so that once the host
> > started
> > the VMs were brought up as specified no matter what host they were
> > running on.  
> > 
> > I am running hosted-engine deployment with the Engine VM on the
> > host.
> > 
> > I set highly available on, did not pin to any host, and also set
> > the
> > watchdog which should reset if they go down but I'm not sure that
> > will
> > start them if the host comes up and the VMs are not running.  I'll
> > look at the CLI first.
> > 
> > It would be nice if oVirt added this feature as it's really
> > required
> > for large installations and is a help for any size installation,
> > even
> > small ones.
> > 
> Maybe there is a another way. It involves ovirt-shell and/or a sdk
> script. The idea is the create a custom property and set that to for
> example, y:01 or n:02 and yes that to read that back if the host
> comes
> up and start the vms if they have 'y' and use the number for
> ordering.
> If reading back the properties is a problem you might be able to
> 'use'
> the tagging feature todo something similar.
> 
> You can always create a RFE on the ovirt bugtracker.
> 
> Joop
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
I'll do that.  It's really a needed feature to make administration
easier.
I finally got the ovirt-shell connected with the help of this https://b
ugzilla.redhat.com/show_bug.cgi?id=1186365.  The silly thing can't
handle no domain and the error doesn't tell you that.
Oh, well.  We'll play with this and then check out rest and SDK.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Autostart VMS

2016-04-06 Thread Brett I. Holcomb
On Wed, 2016-04-06 at 13:42 -0400, Adam Litke wrote:
> On 06/04/16 01:46 -0400, Brett I. Holcomb wrote:
> > In VMware we could setup guests to autostart when the host started
> > and
> > define the order.  Is that doable in oVirt?  The only thing I've
> > seen
> > is the watchdog and tell it to reset but nothing that allows me to
> > define who starts up when and if they autostart.  I assume it's
> > there
> > but I must be missing it or haven't found it in the web portal.
> 
> In oVirt guests aren't tied to a host by default (although you can
> set
> them to run only on a specific host if you want).  The closest thing
> I
> can think of would be the High Availability features (VM->Edit).
> oVirt will try to restart highly available VMs if they go down.  You
> can also set the priority for migration and restart in that pane.
> Hopefully a combination of host pinning and the  high availability
> settings will get you close enough to where you want to be.
> 
> Otherwise, you could always do some scripting with the ovirt REST API
> using the SDK or CLI.
> 
If you had the VMware migration extra add-on you could have hosts move
as needed so they were not tied to any host either but we could set a
startup order and specify auto, manual so that once the host started
the VMs were brought up as specified no matter what host they were
running on.  
I am running hosted-engine deployment with the Engine VM on the host.
I set highly available on, did not pin to any host, and also set the
watchdog which should reset if they go down but I'm not sure that will
start them if the host comes up and the VMs are not running.  I'll look
at the CLI first.
It would be nice if oVirt added this feature as it's really required
for large installations and is a help for any size installation, even
small ones.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Autostart VMS

2016-04-05 Thread Brett I. Holcomb
In VMware we could setup guests to autostart when the host started and
define the order.  Is that doable in oVirt?  The only thing I've seen
is the watchdog and tell it to reset but nothing that allows me to
define who starts up when and if they autostart.  I assume it's there
but I must be missing it or haven't found it in the web portal.

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


Re: [ovirt-users] heavy webadmin

2016-04-05 Thread Brett I. Holcomb
On Tue, 2016-04-05 at 10:04 -0400, Alexander Wels wrote:
> On Tuesday, April 05, 2016 03:58:37 PM Nicolas Ecarnot wrote:
> > Le 05/04/2016 14:30, Alexander Wels a écrit :
> > > > > > > > 2. If you are running hosted engine, make sure you have
> > > > > > > > enough
> > > > > > > > entropy, the
> > > > > > > > login page generates a couple of tokens using secure
> > > > > > > > random,
> > > > > > > > which
> > > > > > > > eats away
> > > > > > > > at your entropy budget heavily and since hosted engine
> > > > > > > > is a VM
> > > > > > > > it is
> > > > > > > > possible
> > > > > > > > that you don't have enough entropy. You can check your
> > > > > > > > entropy
> > > > > > > > level
> > > > > > > > with
> > > > > > > > this:
> > > > > > > > 
> > > > > > > > cat /proc/sys/kernel/random/entropy_avail
> > > > > > 
> > > > > > 159 is horrible to be honest, that is most likely the cause
> > > > > > of your
> > > > > > problems. Anything below around 300 is bad.
> > 
> > Alex,
> > 
> > I checked that on my engines, and the entropy is around 120.
> > But those are NOT hosted.
> > 
> > Can you confirm this lack of entropy enduces no slowness on
> > dedicated
> > engines?
> 
> Lack of entropy is what causes super slow login. I creates some
> tokens on 
> login that use up entropy. However once you have logged in it re-uses 
> the 
> token and the entropy should not be an issue after that for the most
> part.
> 
> He didn't actually say but I suspect that after the initial minutes
> wait for 
> the login, it was not THAT bad after that. Not like what we are
> seeing with 
> your system.
> ___
> Users mailing list
> Users@ovirt.org
For me once I was on the admin login page things went much faster.  Now
that I have haveged on the Engine VM the change from the welcome page
to the admin login page is almost instantaneous. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] The engine- commands

2016-04-05 Thread Brett I. Holcomb
Thanks.  That helps.  The config is now dumping some data where it
wasn't before.  I'll check out the aaa function.  How do we manage
domains such as export, etc. from the command line since the aaa seems
to handle mainly users.  The manage-domains still tells me the export
domain I 'm using doesn't exist .
On Tue, 2016-04-05 at 09:09 +0300, Yedidyah Bar David wrote:
> On Tue, Apr 5, 2016 at 4:33 AM, Brett I. Holcomb 
> m> wrote:
> > I've been playing these and wondering what these really do.  I know
> > engine-iso-uploader and engine-image-uploader really work since
> > I've used
> > them but the others don't do anything useful or give me wrong
> > information.
> > I'm running these on the Engine VM in a hosted-engine deployment
> > with
> > version 3.64.
> > 
> > engine-config list outputs nothing at all.  I won't try the others
> > yet.
> 
> Please check 'engine-config -h', and also:
> 
> http://www.ovirt.org/develop/developer-guide/engine/engine-config-exa
> mples/
> 
> > engine-manage-domains edit --domain=Adomain simply tells me the the
> > domain
> > adomain does not exist and it's converted it all to lowercas
> 
> This is mostly obsoleted by aaa:
> 
> http://www.ovirt.org/develop/release-management/features/infra/aaa/
> 
> Best,___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] heavy webadmin

2016-04-04 Thread Brett I. Holcomb
On Mon, 2016-04-04 at 14:51 -0400, Alexander Wels wrote:
> On Monday, April 04, 2016 02:34:33 PM you wrote:
> > It is a hosted engine setup with the host on a physical  server.  I
> > wasn't
> > aware  that the engine used the entropy.  What do
> > you  recommend  to fix
> > it?
> > 
> 
> Okay, if it is a 3.6 then you should be able edit the hosted engine
> VM in the 
> UI itself. I haven't done any self hosted engine myself but there are
> some 
> things you can't edit, not sure if the rng is one of them. Anyway if
> you can 
> edit the hosted engine VM then open up the advanced options (bottom
> left 
> button in popup), then click the random generator side tab, and check
> the 
> random generator enabled button (if it is not checked already that
> is).
> 
> As far as I know that should be enought to have the random passed
> from the 
> host to the VM and that should improve the entropy on the host
> engine. You 
> might have to restarted the hosted engine VM for it to take effect.
> 
> If the above is not possible or doesn't work, I would go with yum
> install 
> haveged, then chkconfig haveged on, service haveged start or if it is
> centos 7 
> then its systemctl haveged enable and systemctl haveged start.
> 
> > 
> > Sent from my Verizon Wireless 4G LTE smartphone Original
> > message
> > From: Alexander Wels <aw...@redhat.com> Date:
> > 04/04/2016  13:57 
> > (GMT-05:00) To: biholc...@l1049h.com Subject: Re: [ovirt-users]
> > heavy
> > webadmin
> > On Monday, April 04, 2016 12:55:55 PM you wrote:
> > > On Mon, 2016-04-04 at 08:41 -0400, Alexander Wels wrote:
> > > > On Sunday, April 03, 2016 03:30:29 PM Brett I. Holcomb wrote:
> > > > > On Sun, 2016-04-03 at 21:20 +0200, Nicolas Ecarnot wrote:
> > > > > > Le 03/04/2016 17:13, Greg Sheremeta a écrit :
> > > > > > > We have patches in review that should fix this in 3.6.5.
> > > > > > > The
> > > > > > > underlying
> > > > > > > problem is a couple of JavaScript memory leaks.
> > > > > > 
> > > > > > God bless you!
> > > > > > 
> > > > > > Since 3.6.2 or 3.6.3, the web admin is getting close to
> > > > > > unusable
> > > > > > after
> > > > > > some minutes (Firefox or Chrome, windows or Linux).
> > > > > > Alex Wels helped me try to debug this, but though much time
> > > > > > spent
> > > > > > on
> > > > > > this, we failed.
> > > > > > In a way, I'm satisfied other people are also expressing
> > > > > > the
> > > > > > same
> > > > > > frustration about this issue, if that can help to debug.
> > > > > > 
> > > > > > Thank you.
> > > > > 
> > > > > Thank you also.  I'm on 3.6.4 just released version and it
> > > > > can take
> > > > > 5+
> > > > > minutes to go from the welcome page to the admin login page
> > > > > and
> > > > > then
> > > > > the interface is slow and frequently throws exceptions. 
> > > > 
> > > > Two things to check if going from the welcome page to the login
> > > > page
> > > > is THAT
> > > > show.
> > > > 
> > > > 1. Make 100% sure your DNS is setup correctly (or your
> > > > /etc/hosts if
> > > > that is
> > > > what you use). If the engine cannot resolve itself, it will
> > > > create
> > > > lots of
> > > > issues.
> > > > 2. If you are running hosted engine, make sure you have enough
> > > > entropy, the
> > > > login page generates a couple of tokens using secure random,
> > > > which
> > > > eats away
> > > > at your entropy budget heavily and since hosted engine is a VM
> > > > it is
> > > > possible
> > > > that you don't have enough entropy. You can check your entropy
> > > > level
> > > > with
> > > > this:
> > > > 
> > > > cat /proc/sys/kernel/random/entropy_avail
> > > > 
> > > > There are several options for solving the entropy problem if
> > > > that is
> > > > the case.
> > > 
> > > DNS is 200% working  .  All hosts are resolvable from any
> > > where on
> > > th

[ovirt-users] The engine- commands

2016-04-04 Thread Brett I. Holcomb
I've been playing these and wondering what these really do.  I know
engine-iso-uploader and engine-image-uploader really work since I've
used them but the others don't do anything useful or give me wrong
information.  I'm running these on the Engine VM in a hosted-engine
deployment with version 3.64.

engine-config list outputs nothing at all.  I won't try the others yet.
engine-manage-domains edit --domain=Adomain simply tells me the the
domain adomain does not exist and it's converted it all to lowercas


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


Re: [ovirt-users] heavy webadmin

2016-04-04 Thread Brett I. Holcomb
On Mon, 2016-04-04 at 14:51 -0400, Alexander Wels wrote:
> On Monday, April 04, 2016 02:34:33 PM you wrote:
> > It is a hosted engine setup with the host on a physical  server.  I
> > wasn't
> > aware  that the engine used the entropy.  What do
> > you  recommend  to fix
> > it?
> > 
> 
> Okay, if it is a 3.6 then you should be able edit the hosted engine
> VM in the 
> UI itself. I haven't done any self hosted engine myself but there are
> some 
> things you can't edit, not sure if the rng is one of them. Anyway if
> you can 
> edit the hosted engine VM then open up the advanced options (bottom
> left 
> button in popup), then click the random generator side tab, and check
> the 
> random generator enabled button (if it is not checked already that
> is).
> 
> As far as I know that should be enought to have the random passed
> from the 
> host to the VM and that should improve the entropy on the host
> engine. You 
> might have to restarted the hosted engine VM for it to take effect.
> 
> If the above is not possible or doesn't work, I would go with yum
> install 
> haveged, then chkconfig haveged on, service haveged start or if it is
> centos 7 
> then its systemctl haveged enable and systemctl haveged start.
> 
I've checked the box and restarte the vm from the host hosted-engine --
vm-shutdown and then --vm-start.  Entropy on host and engine still
around 200 and it's taking a while to change pages but not as long as
it did before so I may have to add haveged.  I'll watch it and see.
snipped below...___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add disk to HostedEngine

2016-04-04 Thread Brett I. Holcomb
On Mon, 2016-04-04 at 09:51 +0200, Simone Tiraboschi wrote:
> On Mon, Apr 4, 2016 at 12:01 AM, Brett I. Holcomb 
> om> wrote:
> > My installation is a hosted-engine deployment with a host and the
> > Engine VM
> > running on it, version 3.6.4 of oVirt.  I attempted to add a disk
> > to my
> > Engine VM but am getting  the error "Cannot add Virtual Machine
> > Disk.  This
> > VM is not managed by the Engine".  I can add disks to a test VM I
> > created.
> > 
> > So how do I add another disk to the Engine VM?
> 
> Unfortunately it's currently still not supported.
> Probably the easiest option to gain some space is directly mounting
> an
> NFS share inside the VM.
> 
> > Thanks.
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
Thanks. I thought I might be missing something.  Hopefully it will be
added soon.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network issues on install

2016-04-04 Thread Brett I. Holcomb
On Mon, 2016-04-04 at 11:29 +0200, Simone Tiraboschi wrote:
> On Mon, Apr 4, 2016 at 11:11 AM, Yedidyah Bar David <d...@redhat.com>
> wrote:
> > On Sat, Apr 2, 2016 at 8:14 PM, Brett I. Holcomb 
> > com> wrote:
> > > 
> > > On Fri, 2016-04-01 at 21:39 -0400, Brett I. Holcomb wrote:
> > > 
> > > Two items here.
> > > 
> > > oVirt version 3.6.4  Fresh install, not an upgrade.
> > > 
> > > 
> > > First, I noticed this issue when I did an install on a test
> > > machine but I
> > > didn't have the data to present.  Because of that and some other
> > > posts
> > > dealing with the network issue I kept notes when I installed on
> > > my
> > > production system.   I'm doing a hosted-engine setup.
> > > 
> > > As part of the preparation I did the following before installing
> > > and
> > > deploying.
> > > 
> > > * Removed NetworkManager with yum remove NetworkManager
> > > * The NIC that will be used for the oVirt management NIC is
> > > connected to a
> > > switch port expecting VLAN 50 so I set up a VLAN50 ifcfg file.
> > > * The IP address of the  server, prefix, gateway, and TWO DNS
> > > servers were
> > > setup in the ifcfg file. and name resolution worked.  I could
> > > ping the host
> > > by name as well as the oVirt Engine VM which was in DNS so the
> > > name resolved
> > > but obviously nothing would reply.  Other servers and
> > > workstations could
> > > resolve the host and engine names.
> 
> The issue is just here:
> explicit static DNS configuration under
> /etc/sysconfig/network-scripts/ifcfg-* is currently not allowed by
> VDSM (see https://bugzilla.redhat.com/show_bug.cgi?id=1160667 ).
> So, if you are going to use static network configuration, please
> remove DNS1, DNS2... lines from /etc/sysconfig/network-scripts/ifcfg-
> *
> and just configure it with a nameserver line under /etc/resolv.conf
> then systemctl restart network
> Try deploying hosted-engine again: VDSM network configuration will
> not
> touch /etc/resolv.conf and it will work.
> 
> 
> > > 1.  On the host I ran hosted-engine --deploy and installed the OS
> > > (Centos 7
> > > (1511) on the Engine VM.  I rebooted the Engine VM, told the
> > > deployment that
> > > the Engine VM was running and it then continued and deployment
> > > told me to
> > > install the engine on the Engine VM.
> > > 2.  I updated the Engine VM via yum update,  installed the oVirt
> > > repositories, and ran the engine-setup which completed
> > > successfully.
> > > 3. I then went back to the host and told it the Engine was setup
> > > and at this
> > > point things went bad.  The deployment started whining about not
> > > being able
> > > to resolve myenginevm.mydomain.com host, did cleanup, per-
> > > termination,
> > > termination, and said the deployment failed and the system was
> > > unreliable,
> > > fix it,  whine, whine, whine.
> > > 4.  I tried a ping on myenginevm.mydomain.com and it failed.
> > > 
> > > What I found was that when the bridge was created (ifcfg-
> > > ovirtmgmt) the DNS
> > > servers were left out!  They were in the original NIC ifcfg file
> > > but it
> > > appears the deployment didn't bother to bring them over to the
> > > bridge ifcfg.
> > > I find this very puzzling since the deployment insists on FQDNs
> > > so it should
> > > be smart enough to bring over the DNS server settings and not
> > > leave them
> > > out.  My /etc/resolv.conf file also had no DNS servers in it.
> > > 
> > > I added the DNS server to the bridge ifcfg file, did a systemctl
> > > restart
> > > network and all is well again.  The host can ping the VM!
> > > 
> > > However, the deployment thinks it failed and I can not restart
> > > the Engine
> > > VM.  I tried a reboot, made sure the ovirt daemons were running
> > > but if I try
> > > and do anything such as hosted-engine vm-start I get  "Unable to
> > > read
> > > vm.conf, please check ovirt-ha-agent logs".
> > > 
> > > Second, I think that having the deployment fail simply because it
> > > can not
> > > contact the Engine VM is a very huge error/bug/whatever - its
> > > silly.  The
> > > deployment went well, the VM exists and is running but due to the
> > > deploymen

[ovirt-users] Add disk to HostedEngine

2016-04-03 Thread Brett I. Holcomb
My installation is a hosted-engine deployment with a host and the
Engine VM running on it, version 3.6.4 of oVirt.  I attempted to add a
disk to my Engine VM but am getting  the error "Cannot add Virtual
Machine Disk.  This VM is not managed by the Engine".  I can add disks
to a test VM I created.

So how do I add another disk to the Engine VM? 

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


Re: [ovirt-users] heavy webadmin

2016-04-03 Thread Brett I. Holcomb
On Sun, 2016-04-03 at 21:20 +0200, Nicolas Ecarnot wrote:
> Le 03/04/2016 17:13, Greg Sheremeta a écrit :
> > We have patches in review that should fix this in 3.6.5. The
> > underlying
> > problem is a couple of JavaScript memory leaks.
> 
> God bless you!
> 
> Since 3.6.2 or 3.6.3, the web admin is getting close to unusable
> after 
> some minutes (Firefox or Chrome, windows or Linux).
> Alex Wels helped me try to debug this, but though much time spent on 
> this, we failed.
> In a way, I'm satisfied other people are also expressing the same 
> frustration about this issue, if that can help to debug.
> 
> Thank you.
> 
Thank you also.  I'm on 3.6.4 just released version and it can take 5+
minutes to go from the welcome page to the admin login page and then
the interface is slow and frequently throws exceptions.  
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network issues on install

2016-04-02 Thread Brett I. Holcomb
On Fri, 2016-04-01 at 21:39 -0400, Brett I. Holcomb wrote:
> Two items here.
> 
> oVirt version 3.6.4  Fresh install, not an upgrade.
> 
> 
> First, I noticed this issue when I did an install on a test machine
> but I didn't have the data to present.  Because of that and some
> other posts dealing with the network issue I kept notes when I
> installed on my production system.   I'm doing a hosted-engine setup.
> 
> As part of the preparation I did the following before installing and
> deploying.
> 
> * Removed NetworkManager with yum remove NetworkManager
> * The NIC that will be used for the oVirt management NIC is connected
> to a switch port expecting VLAN 50 so I set up a VLAN50 ifcfg file.
> * The IP address of the  server, prefix, gateway, and TWO DNS servers
> were setup in the ifcfg file. and name resolution worked.  I could
> ping the host by name as well as the oVirt Engine VM which was in DNS
> so the name resolved but obviously nothing would reply.  Other
> servers and workstations could resolve the host and engine names.
> 
> 1.  On the host I ran hosted-engine --deploy and installed the OS
> (Centos 7 (1511) on the Engine VM.  I rebooted the Engine VM, told
> the deployment that the Engine VM was running and it then continued
> and deployment told me to install the engine on the Engine VM.
> 2.  I updated the Engine VM via yum update,  installed the oVirt
> repositories, and ran the engine-setup which completed successfully.
> 3. I then went back to the host and told it the Engine was setup and
> at this point things went bad.  The deployment started whining about
> not being able to resolve myenginevm.mydomain.com host, did cleanup,
> per-termination, termination, and said the deployment failed and the
> system was unreliable, fix it,  whine, whine, whine.
> 4.  I tried a ping on myenginevm.mydomain.com and it failed.
> 
> What I found was that when the bridge was created (ifcfg-ovirtmgmt)
> the DNS servers were left out!  They were in the original NIC ifcfg
> file but it appears the deployment didn't bother to bring them over
> to the bridge ifcfg.  I find this very puzzling since the deployment
> insists on FQDNs so it should be smart enough to bring over the DNS
> server settings and not leave them out.  My /etc/resolv.conf file
> also had no DNS servers in it.
> 
> I added the DNS server to the bridge ifcfg file, did a systemctl
> restart network and all is well again.  The host can ping the VM! 
> 
> However, the deployment thinks it failed and I can not restart the
> Engine VM.  I tried a reboot, made sure the ovirt daemons were
> running but if I try and do anything such as hosted-engine vm-start I
> get  "Unable to read vm.conf, please check ovirt-ha-agent logs".
> 
> Second, I think that having the deployment fail simply because it can
> not contact the Engine VM is a very huge error/bug/whatever - its
> silly.  The deployment went well, the VM exists and is running but
> due to the deployment messing up the DNS servers it just can't find
> it.  The deployment should first, handle the name server setup
> correctly and second fail gracefully..  
> 
> I rebooted the server but still get the error about not being able to
> read vm.conf.  At this point I now have to run through the entire
> deployment again just because one phase messed up unless there is a
> way to work around this.  However, in the work that I've done with
> oVirt I've notice the deployment is not real robust and when it
> encounters errors that should allow it to recover.  I suggest that
> consideration be given to making the deployment smarter and more
> robust. 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
More info. 
This gets broken during the hosted-engine --deploy first phase (before
the OS is installed on the Engine VM) which makes sense because I
assume that's when the bridge is created.
I added another logical network with a VLAN tag and this broke name
resolution again.  I had to do systemctl restart network again and then
name resolution was back.
I'm attempting to use the web portal but it's very/very slow.  When I
select the admin portal it can take 5+ minutes before it displays the
login page if it ever does and doesn't time out.  Once I get the Admin
login it goes pretty quickly.  I'm using Firefox 45.0.1 on Fedora 23.
 Any reason for this?  From what I see the message about not supporting
the browser is bogus.  My host has 64 gig memory, and E2620-v3
processor.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Network issues on install

2016-04-01 Thread Brett I. Holcomb
Two items here.

oVirt version 3.6.4  Fresh install, not an upgrade.


First, I noticed this issue when I did an install on a test machine but
I didn't have the data to present.  Because of that and some other
posts dealing with the network issue I kept notes when I installed on
my production system.   I'm doing a hosted-engine setup.

As part of the preparation I did the following before installing and
deploying.

* Removed NetworkManager with yum remove NetworkManager
* The NIC that will be used for the oVirt management NIC is connected
to a switch port expecting VLAN 50 so I set up a VLAN50 ifcfg file.
* The IP address of the  server, prefix, gateway, and TWO DNS servers
were setup in the ifcfg file. and name resolution worked.  I could ping
the host by name as well as the oVirt Engine VM which was in DNS so the
name resolved but obviously nothing would reply.  Other servers and
workstations could resolve the host and engine names.

1.  On the host I ran hosted-engine --deploy and installed the OS
(Centos 7 (1511) on the Engine VM.  I rebooted the Engine VM, told the
deployment that the Engine VM was running and it then continued and
deployment told me to install the engine on the Engine VM.
2.  I updated the Engine VM via yum update,  installed the oVirt
repositories, and ran the engine-setup which completed successfully.
3. I then went back to the host and told it the Engine was setup and at
this point things went bad.  The deployment started whining about not
being able to resolve myenginevm.mydomain.com host, did cleanup, per-
termination, termination, and said the deployment failed and the system
was unreliable, fix it,  whine, whine, whine.
4.  I tried a ping on myenginevm.mydomain.com and it failed.

What I found was that when the bridge was created (ifcfg-ovirtmgmt) the
DNS servers were left out!  They were in the original NIC ifcfg file
but it appears the deployment didn't bother to bring them over to the
bridge ifcfg.  I find this very puzzling since the deployment insists
on FQDNs so it should be smart enough to bring over the DNS server
settings and not leave them out.  My /etc/resolv.conf file also had no
DNS servers in it.

I added the DNS server to the bridge ifcfg file, did a systemctl
restart network and all is well again.  The host can ping the VM! 

However, the deployment thinks it failed and I can not restart the
Engine VM.  I tried a reboot, made sure the ovirt daemons were running
but if I try and do anything such as hosted-engine vm-start I get
 "Unable to read vm.conf, please check ovirt-ha-agent logs".

Second, I think that having the deployment fail simply because it can
not contact the Engine VM is a very huge error/bug/whatever - its
silly.  The deployment went well, the VM exists and is running but due
to the deployment messing up the DNS servers it just can't find it.
 The deployment should first, handle the name server setup correctly
and second fail gracefully..  

I rebooted the server but still get the error about not being able to
read vm.conf.  At this point I now have to run through the entire
deployment again just because one phase messed up unless there is a way
to work around this.  However, in the work that I've done with oVirt
I've notice the deployment is not real robust and when it encounters
errors that should allow it to recover.  I suggest that consideration
be given to making the deployment smarter and more robust. 

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


Re: [ovirt-users] Fwd: Re: Slow after add 2 Nic

2016-03-09 Thread Brett I. Holcomb
I'm running oVirt on a host that is a VMware Workstation guest as a
test before I replace my ESXi server.  I started with one NIC and let
oVirt get setup.  Then I added another NIC to my ovirt Host via VMware.
 My primary NIC was my site management network 10.0.xx.0/24.  The
second NIC was in 10.0.yy.0/24  I then used the web portal to create a
logical network.  After that I tied the logical network to the physical
card.  If needed you can add a VLAN tag to the logical network and set
up your switch to handle it.  oVirt handled setting up all the ifcfg
files for me.  I'm not where i can pull up my test system or I'd give
you more detail.  I'm in the process of replacing ESXi with oVirt so my
 server is down and i'm having to run everything on Windows with VMware
Workstation and Windows is being pouty.
On Wed, 2016-03-09 at 21:12 +0100, Taste-Of-IT wrote:
> Hello,
> any help for using 2 nics in 2 networks?
> 
> thx
> 
>  Originalnachricht 
> Betreff: Re: [ovirt-users] Slow after add 2 Nic
> Datum: 2016-03-08 11:33
> Von: Taste-Of-IT 
> An: oVirt Userlist 
> 
> Hello,
> i simply add the nic and i think CentOS configure these by itself.
> Ok, i 
> can change that. Short to my intentions. I want to use nic1 for my
> lan 
> and nic2 for the wan route into the internet. in ovirt i want to
> install 
> a firewall and configure both nics, nic for lan and nic2 for wan. in
> the 
> other vm's i want to install only nic1 as bridge and configure the 
> firwall as gateway which also service the dhcp. at all it must be
> safe 
> that the vms cant break out of this and go around the firewall. so as
> i 
> understand i would do this:
> - set in centos nic1 as default gatway wich has 192.168.0.1 as
> gateway
> - set in centos nic2 without default route
> - add in ovirt a new network / nic
> - create the vm for the firwall and assign nic1 and nic2
> - in the other vms i would only assign nic1
> 
> is that the way to do or what do you think?
> thx
> Taste
> 
> Am 2016-03-08 09:45, schrieb Yaniv Kaul:
> > Most likely (we've had something like that in FOSDEM) issue with
> > DNS
> > resolving. 
> > Make sure all IP addresses are correctly resolved.
> > Y.
> > 
> > On Tue, Mar 8, 2016 at 12:44 AM, Taste-Of-IT 
> > e>
> > wrote:
> > 
> > > Hello,
> > > i have a question about adding a second Nic. After adding a
> > > second
> > > one the WebGUI and oVirt is very slow. The situation is as
> > > follow.
> > > Each nic has its own network and are seperated from each other.
> > > nic1
> > > - 192.168.0.x for internal and nic2 192.168.1.x through the wan.
> > > if
> > > i use trace from the client i call the WebGUI, it goes over
> > > 192.168.0.x, the right way. but if i trace the engine self on
> > > localhost with its hostname it goes over 192.168.1.x, the wrong
> > > way
> > > and takes longer.
> > > 
> > > i am not sure if its an ovirt problem or from hostsystem centos,
> > > but i didnt find any solution.
> > > 
> > > # ip route show
> > > default via 192.168.0.3 dev ovirtmgmt
> > > default via 192.168.1.1 dev enp0s29u1u2c2  proto static  metric
> > > 100
> > > 169.254.0.0/16 [1] dev ovirtmgmt  scope link  metric 1006
> > > 192.168.0.0/24 [2] dev ovirtmgmt  proto kernel  scope link  src
> > > 192.168.0.153
> > > 192.168.1.0/24 [3] dev enp0s29u1u2c2  proto kernel  scope link 
> > > src 192.168.1.2  metric 100
> > > 
> > > thx for help
> > > Taste
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users [4]
> > 
> > 
> > 
> > Links:
> > --
> > [1] http://169.254.0.0/16
> > [2] http://192.168.0.0/24
> > [3] http://192.168.1.0/24
> > [4] 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___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt New Install

2016-02-29 Thread Brett I. Holcomb
On Mon, 2016-02-29 at 11:00 +0100, Simone Tiraboschi wrote:
> 
> 
> On Mon, Feb 29, 2016 at 9:10 AM, Yedidyah Bar David <d...@redhat.com>
> wrote:
> > On Sun, Feb 28, 2016 at 9:48 PM, Brett I. Holcomb 
> > .com> wrote:
> > > On Sun, 2016-02-28 at 11:31 +0200, Yedidyah Bar David wrote:
> > > > On Sun, Feb 28, 2016 at 3:58 AM, Brett I. Holcomb
> > > > om> wrote:
> > > > > #4 - finally decided to add new storage from another iSCSI
> > LUN and
> > > > > suddenly
> > > > > the DC was running!  The local storage (#1), ISO Domain (#2)
> > > > > suddenly are
> > > > > available.  This is definitely non-intuitive behaviour.  i
> > can't
> > > > > see why the
> > > > > DC has to have additional storage added to make it work.  It
> > > > > already has
> > > > > it's storage - which is available for use  when creating
> > VMS.  The
> > > > > DC should
> > > > > just come up and if there is an issue putting VMs on the
> > > > > host_storage (space
> > > > > issues maybe?) then it shouldn't be allowed as a choice when
> > > > > creating a VM
> > > > > or there should be a message about not enough space.  Well,
> > now I
> > > > > know I can
> > > > > work with it and just wonder why it was designed this way. 
> > Very
> > > > > strange.
> > > >
> > > > This is how it currently works.
> > > >
> > > > This is because the hosted_storage domain can't be used as the
> > > > "master
> > > > storage domain", and such as master is required for many
> > things.
> > > >
> > > That makes some sense.  I'd suggest that there be some indication
> > that
> > > we need to add a master storage domain.
> > 
> > Perhaps. Actually we are trying to get rid of it:
> > 
> > https://www.ovirt.org/develop/release-management/features/storage/d
> > ecommission-master-domain-and-spm/
I really like this and thing it's a great move.  
> > 

> > 
> > > Is the master storage domain the same one used to store VMs or can it
> > 
> > > be a separate domain which is used only as the master and VMs go
> > 
> > > elsewhere.  Does is need a minimum amount of storage space?
> > 

> > 
> > Normally it's the first "normal" data domain, used to store VMs.
> > 

> > 
> > Not sure about minimum size if you do not intend to store VMs there.
> > 
> > I guess it can be very small - a few MBs or so.> > 5GB
Thank you for the explanation. That helps.  The hypervisors I used in
the past had no such thing.  You just created storage areas and used
them as desired and the admin interface worked whether or not they
existd.
>  
> > 

> > 
> > > > Did this solve all your problems? If not, please:
> > 
> > > > 1. Try again with 3.6.3, which should be out in a few days, or the 
> > > > latest
> > 
> > > > RC [1].
> > 
> > > > 2. If you still have problems, please state versions of OSes and 
> > > > whatever
> > 
> > > > other relevant tools, and post (links to) full logs of both the host and
> > 
> > > > the engine:
> > 
> > > > /var/log/ovirt*
> > 
> > > > /var/log/vdsm*
> > 
> > > >
> > 
> > > > [1] http://lists.ovirt.org/pipermail/users/2016-February/038125.html
> > 
> > >
> > 
> > > Once I got the Data Center initialized things all fell into place and
> > 
> > > it's working.  The confirm reboot issue I think is because it's a menu
> > 
> > > entry that shows up whether or not the confirmation is needed and I
> > 
> > > thought it might have been an issue when I was troubleshooting.
> > 
> > > Currently my issues are due to running the oVirth Host and engine on a
> > 
> > > guest hosted on VMware Workstation on a Windows PC with limited memory
> > 
> > > .  But it's enough to do some testing and get ready to replace ESXi
> > 
> > > on my physical server.   As always there is a learning curve when
> > 
> > > moving to a new product and oVirt/RHEV looks like a worthy alternative
> > 
> > > to VMware, MS, etc.  I will check out the new release and definitely
> > 
> > > use it on the server.
> > 
> > > Thank you for your help.
> > 
> > >
> > 

> > 
> > Good luck and best regards,
> > 
> > --
> > 
> > Didi
> > 
> > ___
> > 
> > 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] oVirt New Install

2016-02-27 Thread Brett I. Holcomb
#4 - finally decided to add new storage from another iSCSI LUN and
suddenly the DC was running!  The local storage (#1), ISO Domain (#2)
suddenly are available.  This is definitely non-intuitive behaviour.  i
can't see why the DC has to have additional storage added to make it
work.  It already has it's storage - which is available for use  when
creating VMS.  The DC should just come up and if there is an issue
putting VMs on the host_storage (space issues maybe?) then it shouldn't
be allowed as a choice when creating a VM or there should be a message
about not enough space.  Well, now I know I can work with it and just
wonder why it was designed this way.  Very strange.
On Sat, 2016-02-27 at 18:01 -0500, Brett I. Holcomb wrote:
> I am in the process of testing oVirt to replace ESXi 6 and have run
> into some issues that I haven't found answers to.  I've used ESXi for
> quite a while and done some work with Microsoft's Hypervisor but am
> new to oVirt.  It looks like it has potential to replace the others
> but there are some major issues I'm trying to work through.  I'm
> using a hosted-engine deployment.  The host is a guest on VMware
> Workstation 11 on Windows.  Not the best but it lets me test oVirt.
> 
> 
> I've created the VM, the engine is installed, the webadmin works, and
> I can SSH to it but I'm seeing some things that I haven't been able
> to find answers to so any help is appreciated.  I'm using DNS to
> resolve and both the engine and host can ping each other, reverse
> lookup on their names works.
> 
> 1.  I used an iSCSI LUN on a NAS for storage during the deploy
> install but this storage does not show up in the admin portal list of
> storages.  Is it supposed to?  It's being used as it now has 3+ our
> of 50 gig used.
> 
> 2. I used a local directory on the VM for an initial ISO domain but
> it does not show up in the admin portal.  I have more than 15 Gig of
> space available.  Shouldn't it be showing up in the list of storages?
>  I tested using this (http://www.ovirt.org/documentation/how-to/troub
> leshooting/troubleshooting-nfs-storage-issues/) and from the host I
> can mount the engine's exported directory and create a file in it as
> the vdsm user.
> 
> 3. My host wants confirmation it's rebooted which it has been both
> with hosted-engine vm-shutdown/vm-start, and rebooting from within
> the engine.  If I tell it to confirm I get the message below.  Well,
> it's status is running.  i can't connect when it's connecting or non-
> operational!!  I've put the system into maintenance mode with hosted-
> engine commands, I used the context menu on the hosted-engine vm in
> the portal to put it into maintenance but it still refuses to confirm
> it's rebooted.  Any ideas on how to get it confirmed.  I've also
> rebooted the hosted-engine host with no change.
> 
> "Error while executing action: Cannot confirm 'Host has been
> rebooted' Host. Valid Host statuses are "Non operational",
> "Maintenance" or "Connecting"."
> 
> 4.  My Default Data Center is uninitialized which is probably why
> nothing works.  If I use guide me and attach the hosted_engine choice
> it tells me it cannot acquire a host id.  I restarted the sanlock
> service and then when I attached the storage the dialog hung up
> spinning it's wheel and never returned.  I restarted the VM from
> hosted-engine and still get the AcquireHostId failure.  The iSCSI lun
> is being used and accessed by the engine as there is 3+ gig of space
> used.  If I try and attach the hosted_engine storage the icon changes
> to a wrench, then back to the red down arrow and I get the error
> about not acquiring a host id.  What host id?   I only have one host!
>  I've reinitialized the lockspace all with no effect.  The
> /var/log/ovirt-engine/engine.log has this error.  What invalid
> argument? I've seen some bug reports on this but they are back in
> version 3.3 or so and are supposed to be fixed.
> 
> Command
> 'org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand'
> f
> ailed: EngineException:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> VDSGenericExcep
> tion: VDSErrorException: Failed to CreateStoragePoolVDS, error =
> Cannot acquire host id: ('1d26d977-
> 0a67-43ab-bfb8-462cea95029a', SanlockException(22, 'Sanlock lockspace
> add failure', 'Invalid argumen
> t')), code = 661 (Failed with error AcquireHostIdFailure and code
> 661)
> 
> Any help is appreciated.
> 
> Thanks.
> 
> 
> 
> 
> ___
> 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 New Install

2016-02-27 Thread Brett I. Holcomb
I am in the process of testing oVirt to replace ESXi 6 and have run
into some issues that I haven't found answers to.  I've used ESXi for
quite a while and done some work with Microsoft's Hypervisor but am new
to oVirt.  It looks like it has potential to replace the others but
there are some major issues I'm trying to work through.  I'm using a
hosted-engine deployment.  The host is a guest on VMware Workstation 11
on Windows.  Not the best but it lets me test oVirt.


I've created the VM, the engine is installed, the webadmin works, and I
can SSH to it but I'm seeing some things that I haven't been able to
find answers to so any help is appreciated.  I'm using DNS to resolve
and both the engine and host can ping each other, reverse lookup on
their names works.

1.  I used an iSCSI LUN on a NAS for storage during the deploy install
but this storage does not show up in the admin portal list of storages.
 Is it supposed to?  It's being used as it now has 3+ our of 50 gig
used.

2. I used a local directory on the VM for an initial ISO domain but it
does not show up in the admin portal.  I have more than 15 Gig of space
available.  Shouldn't it be showing up in the list of storages?  I
tested using this (http://www.ovirt.org/documentation/how-to/troublesho
oting/troubleshooting-nfs-storage-issues/) and from the host I can
mount the engine's exported directory and create a file in it as the
vdsm user.

3. My host wants confirmation it's rebooted which it has been both with
hosted-engine vm-shutdown/vm-start, and rebooting from within the
engine.  If I tell it to confirm I get the message below.  Well, it's
status is running.  i can't connect when it's connecting or non-
operational!!  I've put the system into maintenance mode with hosted-
engine commands, I used the context menu on the hosted-engine vm in the
portal to put it into maintenance but it still refuses to confirm it's
rebooted.  Any ideas on how to get it confirmed.  I've also rebooted
the hosted-engine host with no change.

"Error while executing action: Cannot confirm 'Host has been rebooted' 

Host. Valid Host statuses are "Non operational", "Maintenance" or 
"Connecting"."

4.  My Default Data Center is uninitialized which is probably why
nothing works.  If I use guide me and attach the hosted_engine choice
it tells me it cannot acquire a host id.  I restarted the sanlock
service and then when I attached the storage the dialog hung up
spinning it's wheel and never returned.  I restarted the VM from
hosted-engine and still get the AcquireHostId failure.  The iSCSI lun
is being used and accessed by the engine as there is 3+ gig of space
used.  If I try and attach the hosted_engine storage the icon changes
to a wrench, then back to the red down arrow and I get the error about
not acquiring a host id.  What host id?   I only have one host!  I've
reinitialized the lockspace all with no effect.  The /var/log/ovirt-
engine/engine.log has this error.  What invalid argument? I've seen
some bug reports on this but they are back in version 3.3 or so and are
supposed to be fixed.

Command
'org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand' f
ailed: EngineException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericExcep
tion: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot
acquire host id: ('1d26d977-
0a67-43ab-bfb8-462cea95029a', SanlockException(22, 'Sanlock lockspace
add failure', 'Invalid argumen
t')), code = 661 (Failed with error AcquireHostIdFailure and code 661)

Any help is appreciated.

Thanks.



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