Re: [ovirt-users] Windows Product Activation

2016-12-21 Thread Tom Gamull
My “not relevant” response may be relevant now
Snapshot that server before and run your tests over and over. If you hit the 
limit you can restore the snapshot.  That’s what I was trying to explain.  If 
you hit the rearm limit without a backup to restore you are going to be in a 
tough place.

Tom Gamull


> On Dec 21, 2016, at 10:11 AM, Nicolas Ecarnot <nico...@ecarnot.net> wrote:
> 
> Le 21/12/2016 à 16:04, Tom Gamull a écrit :
>> Are there any events in the event log (usually Application Log entries
> 
> With a test server, I'm trying to forcibly reproduce the issue, so I'll tell 
> you soon.
> 
>> under Source: Software Licensing Service) similar to this (this error is
>> unrelated, just example of event log)
>> - https://support.microsoft.com/en-us/kb/921471
>> I would consider reporting this to Microsoft, I am unaware of 2008 R2
>> having this behavior (I have seen 2008 R2 used on KVM and libvirt for
>> openstack without issue and be migrated).
>> 
>> Tom Gamull
>> 
>> 
>>> On Dec 21, 2016, at 9:48 AM, Nicolas Ecarnot <nico...@ecarnot.net
>>> <mailto:nico...@ecarnot.net>> wrote:
>>> 
>>> Le 21/12/2016 à 15:36, Tom Gamull a écrit :
>>>> Under Edit Virtual Machine -> System -> (Advanced Parameters) there is a
>>>> Custom CPU Type you may be able to set, are all the hosts in the same
>>>> cluster?
>>> 
>>> On every VM we use the cluster default setting.
>>> 
>>> And on all our DC we use the same cpu setting.
>>> 
>>> --
>>> Nicolas ECARNOT
>> 
> 
> 
> -- 
> Nicolas ECARNOT

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


Re: [ovirt-users] Windows Product Activation

2016-12-21 Thread Tom Gamull
Are there any events in the event log (usually Application Log entries under 
Source: Software Licensing Service) similar to this (this error is unrelated, 
just example of event log) - https://support.microsoft.com/en-us/kb/921471 
<https://support.microsoft.com/en-us/kb/921471>
I would consider reporting this to Microsoft, I am unaware of 2008 R2 having 
this behavior (I have seen 2008 R2 used on KVM and libvirt for openstack 
without issue and be migrated).  

Tom Gamull


> On Dec 21, 2016, at 9:48 AM, Nicolas Ecarnot <nico...@ecarnot.net> wrote:
> 
> Le 21/12/2016 à 15:36, Tom Gamull a écrit :
>> Under Edit Virtual Machine -> System -> (Advanced Parameters) there is a
>> Custom CPU Type you may be able to set, are all the hosts in the same
>> cluster?
> 
> On every VM we use the cluster default setting.
> 
> And on all our DC we use the same cpu setting.
> 
> -- 
> Nicolas ECARNOT

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


Re: [ovirt-users] Windows Product Activation

2016-12-21 Thread Tom Gamull
Under Edit Virtual Machine -> System -> (Advanced Parameters) there is a Custom 
CPU Type you may be able to set, are all the hosts in the same cluster?

Tom Gamull

> On Dec 21, 2016, at 9:16 AM, Nicolas Ecarnot <nico...@ecarnot.net> wrote:
> 
> Tom,
> 
> Thank you for answering.
> 
> Le 21/12/2016 à 14:47, Tom Gamull a écrit :
>> Something is triggering the activation that windows is detecting as a
>> change in hardware.
> 
> Our DCs are made of hosts from 3 different models, so chances are that 
> windows is detecting a different CPU ID or something (that is a pity, as I 
> thought all this was hidden to the guest)
> 
>> I’ve not had this problem on 2012 or past versions,
> 
> It may be true that we only encountered these issues on 2008 R2 guests.
> 
>> you’ll usually encounter it when changing the hardware drivers (such as
>> converting from physical to virtual).  Generally you want to install
>> compatible drivers (like the ovirt windows guest tools).
> 
> Every guests here is installed with oVirt guest tools.
> Since then, we made no driver change, neither on hosts nor guests.
> 
>> A good
>> practice though is to snapshot before you make a change such as drivers
>> in case you need to set the activation key.
>> For Desktops in VDI when you use a gold image, you generally make a
>> snapshot before activation - see here for an answer
>> - 
>> https://social.technet.microsoft.com/Forums/en-US/25c4c85c-c8a9-4316-8bfa-d3b7848e6dc6/microsoft-vdi-collections-and-activation?forum=winserver8setup
> 
> I'm not sure this was relevant.
> 
>> what kind of activation keys are you using?
> 
> Further readings lead me to think that the kind of key IS the main reason I'm 
> facing this.
> 
>> Do you have  KMS server?
> 
> No. I was told to be very prudent with using KMS servers, so not planned.
> 
> -- 
> Nicolas ECARNOT

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


Re: [ovirt-users] Windows Product Activation

2016-12-21 Thread Tom Gamull
Something is triggering the activation that windows is detecting as a change in 
hardware. I’ve not had this problem on 2012 or past versions, you’ll usually 
encounter it when changing the hardware drivers (such as converting from 
physical to virtual).  Generally you want to install compatible drivers (like 
the ovirt windows guest tools).  A good practice though is to snapshot before 
you make a change such as drivers in case you need to set the activation key.
For Desktops in VDI when you use a gold image, you generally make a snapshot 
before activation - see here for an answer - 
https://social.technet.microsoft.com/Forums/en-US/25c4c85c-c8a9-4316-8bfa-d3b7848e6dc6/microsoft-vdi-collections-and-activation?forum=winserver8setup
 
<https://social.technet.microsoft.com/Forums/en-US/25c4c85c-c8a9-4316-8bfa-d3b7848e6dc6/microsoft-vdi-collections-and-activation?forum=winserver8setup>

what kind of activation keys are you using? Do you have  KMS server?

Tom Gamull

> On Dec 21, 2016, at 8:27 AM, Nicolas Ecarnot <nico...@ecarnot.net> wrote:
> 
> Hello,
> 
> Most of our virtual machines are Linux, but an increasing number of windows 
> VMs are being integrated into our oVirt DCs.
> 
> We bought tons of windows server licences, and successfully activated them.
> 
> Due to how Windows Product Activation is working, when a windows VM is 
> migrating from a host to another, this product activation is reset, launching 
> a 30 days countdown to auto-shutdown.
> 
> According to this old page :
> 
> https://mazimi.wordpress.com/2007/07/11/getting-around-windows-activation-when-virtualizing/
> 
> and what I can read in microsoft's 2012 server documentations, I then can 
> re-activate it twice during the next 90 days.
> 
> Assuming I *want* to have *no* control upon the location of the VMs amongst 
> their hosts (I want them to fly freely, confident in the lovely auto-balance 
> scheduler), I understand all this is not the way to go.
> 
> At present, we have 2003, 2008 and 2012 server editions.
> the only things I can read about windows 2012 server is related to the 
> commercial aspects (standard licence = 2 VMs, datacenter licencce = infinite 
> # of VMs), but not about this Windows Product Activation trouble.
> 
> How do you deal with this?
> Is there a special licence type or something dedicated that would prevent 
> such an uncomfortable situation? (Christmas is near, I favor soft terms.)
> 
> Regards.
> 
> -- 
> Nicolas ECARNOT
> ___
> 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] How can I import VMWare OVA file to oVirt 4.0?

2016-12-15 Thread Tom Gamull
I'm not going to lie I never had much luck. I end up using qemu-img convert on 
the command line to convert a vmdk to a raw file. The ova should just be a 
compressed file. Plenty of blogs on this. 

I know that's not the answer you're looking for but if you run out of options 
you can do this. Look for articles on converting vmdk or ova or qcow2. You will 
need to create the vm in advance. Then check the image name on the storage 
subtab. Then do a find for it. 
Find / -name [long name here]

I've had virtual appliances built for kvm just not work (like Citrix 
Netscaler). Using the esx appliance and doing the steps above it works on 
ovirt/rhev. I am not speaking for ovirt or red hat here though, just as someone 
who muddled through


> On Dec 15, 2016, at 4:02 AM, Shahar Havivi  wrote:
> 
> Hi,
> There is a patch and its working with you ova
> you can apply it to your environment if you want it to work now
> https://gerrit.ovirt.org/#/c/68510/
> 
>  Shahar.
> 
>> On Wed, Dec 14, 2016 at 7:30 PM,  wrote:
>> Derek, thank you for participating.
>> 
>> In the end, I completed the task (OVA imported).
>> The root of the problem is that I tried to use the import with thin 
>> provision.
>> But there is a known issue 
>> https://bugzilla.redhat.com/show_bug.cgi?id=1382404
>> Workaround: Import VM from OVA as preallocated
>> It's not a very good solution, but it is better than nothing
>> 
>> 14.12.2016, 17:50, "Derek Atkins" :
>> > Hi Aleksey,
>> >
>> > One more question for debugging purposes: How long does the import go
>> > before it dies? Do you have enough time to run:
>> >
>> >   ps aux | grep virt-v2v
>> >
>> > On the import host while it's running? This might help us determine
>> > where it's trying to store the data. It should be storing it in the
>> > target storage, but it's possible that it's using temp space and then
>> > running out.
>> >
>> > -derek
>> >
>> > aleksey.maksi...@it-kb.ru writes:
>> >
>> >>  Hi Shahar.
>> >>
>> >>  Look at the attached screenshot
>> >>
>> >>  14.12.2016, 12:15, "Shahar Havivi" :
>> >>
>> >>  Hi,
>> >>  I was able to import your VMs with storage domain that had 350GB 
>> >> free.
>> >>  Your ova have a disk with 1GB actual size and 256 virtual size - 
>> >> when I
>> >>  try to import to a storage with 50G I got the error that you had.
>> >>
>> >>  if you will look at /var/log/vdsm/import/... you will see the logs 
>> >> of each
>> >>  import,
>> >>  In the one that fail I found this line:
>> >>  qemu-img: error while writing sector 423174528: No space left on 
>> >> device
>> >>
>> >>  virt-v2v try to convert via qemu-img the img from vmdk to qcow and
>> >>  encountered free space issue in the storage domain.
>> >>
>> >>  Please consider asking the mailing list  libgues...@redhat.com about 
>> >> this
>> >>  issue or try to increase your storage domain if you want a quick fix.
>> >>
>> >>  The reason that I think you where able to import via the virt-v2v 
>> >> command
>> >>  is the usage of 'virt-v2v -o null' which is not writing to the disk.
>> >>
>> >>  Shahar.
>> >>
>> >>  On Tue, Dec 13, 2016 at 12:54 PM,  wrote:
>> >>
>> >>  Engine - oVirt Engine Version: 4.0.5.5-1.el7.centos (CentOS 7.2)
>> >>
>> >>  All Hosts:
>> >>  OS Version:RHEL - 7 - 2.1511.el7.centos.2.10
>> >>  OS Description:CentOS Linux 7 (Core)
>> >>  Kernel Version:3.10.0 - 327.36.3.el7.x86_64
>> >>  KVM Version:2.3.0 - 31.el7.16.1
>> >>  LIBVIRT Version:libvirt-2.0.0-10.el7_3.2
>> >>  VDSM Version:vdsm-4.18.15.3-1.el7.centos
>> >>  SPICE Version:0.12.4 - 15.el7_2.2
>> >>  GlusterFS Version:[N/A]
>> >>  CEPH Version:librbd1-0.80.7-3.el7
>> >>
>> >>  [root@KOM-AD01-VM31 ~]# virt-v2v -V
>> >>  virt-v2v 1.28.1
>> >>
>> >>  13.12.2016, 13:20, "Shahar Havivi" :
>> >>
>> >>  version of Engine and Host and virt-v2v (which is running on 
>> >> your
>> >>  host)
>> >>  and are you running on Fedora, Centos ext?
>> >>
>> >>  On Tue, Dec 13, 2016 at 12:08 PM, 
>> >>  wrote:
>> >>
>> >>  1. No. This is an unacceptable option for me
>> >>  2. No. This is my first experience
>> >>  3. Versions where? On Engine or on Host ?
>> >>  4. Yes.
>> >>
>> >>  13.12.2016, 13:03, "Shahar Havivi" :
>> >>
>> >>  Thanks you,
>> >>  Several questions:
>> >>  1. did you try to import the disk target as 
>> >> preallocate?
>> >>  2. did you try to import other ova files?
>> >>  3. can you please send us version of virt-v2v, vdsm 
>> >> and
>> >> 

Re: [ovirt-users] oVirt Hosted Engine Deployment Issues (and fixed!)

2016-12-02 Thread Tom Gamull
I had some similar issues (also with IPV6 which I haven’t retried lately).  I 
ended up double checking /etc/resolv.conf and just dropping an entry there and 
also ensuring the name servers were present in the ifcfg files.  This did the 
trick.  Depending on how you configure LACP, sometimes the DNS seems to 
magically disappear when ovirt creates the ovirtmgmt bridge interface.  If you 
are having an issue, it’s likely that interface.

The other thing that “may” be occurring is IPv6 is being used for DNS and you 
don’t have an IPv6 DNS server (or it’s not routing correctly).  You can verify 
that by disabling IPv6 (you have to use sysctl, ifcfg options won’t completely 
do it). If that works, then IPv6 was the issue.

Tom

> On Dec 2, 2016, at 4:18 AM, Simone Tiraboschi  wrote:
> 
> 
> 
> On Fri, Dec 2, 2016 at 3:11 AM, Jonathan Woytek  > wrote:
> Hello all. I've been trying to get a hosted-engine style deployment up and 
> running on a small three-hypervisor cluster for prototyping some things 
> before they get moved into a production environment. My hypervisors each have 
> a 802.3ad bonded interface with several VLANs trunked over the link. The 
> network is not currently connected to the internet, but can be for updates 
> and the like. There is DNS available and correctly configured. 
> 
> I struggled for a few days trying to get the hosted engine to deploy 
> correctly. Some issues I encountered were minor documentation issues (and 
> mostly just me misinterpreting something that was written). For example, when 
> choosing an image source, I could choose cdrom, file, or something else, and 
> I tried to choose file (thinking "image file", since I had an ISO to use for 
> building the engine vm). Of course, it would bomb because it wanted me to 
> give it a preconfigured engine file, NOT an ISO. I eventually figured I'd 
> just get the appliance engine file, and went that route (and, in that case, 
> that part worked!).
> 
> Then, it started to bomb consistently right after starting the network 
> configuration step. It turned out that the motherboards I had (Supermicro) 
> did not have UUIDs encoded on them--they were blank. As a result, the vdi 
> step was failing to gather the information it needed, but it kept dying with 
> error messages that were pretty difficult to decipher. I eventually stumbled 
> across the UUID as "None" in the return block, which finally led me to 
> dmidecode to verify that the UUID was blank. Then I had to figure out how to 
> actually get the UUID set. I found an AMI utility that helped me get them set 
> to something, though it didn't actually set them correctly. In the meantime, 
> Supermicro helpfully replied to my support request with a link to a utility 
> they provide to do the same thing (though I wish that had been documented 
> somewhere on their site!). 
> 
> UUIDs finally set, I started to work through a few other issues, and finally 
> came to the point where it was gathering some network information before 
> going to do the next step, and now it kept dying saying that the hostname was 
> not unique, then it listed every IP address configured on the system (and 
> there were several). DNS was working, and pointed to the correct IP address 
> for the hostname. The hostname was set correctly. I could not get this to 
> resolve. I got frustrated and posted on twitter. A few nice people here saw 
> it and recommended that I join the mailing list. That's why I'm here now. 
> 
> Before I posted here, though, I wanted to try again when I was fresh and not 
> having dealt with all of the previous problems. My first attempt was to drop 
> the hostname into /etc/hosts, thinking maybe the install wasn't consulting 
> DNS or was confused because there were several IP addresses. 
> 
> BINGO. This fixed the "not unique" address problem! 
> 
> ... now I just had to go and clean up a botched installation because it also 
> couldn't find the hostname for the hosted engine (also in DNS, but I just put 
> it in /etc/hosts to hopefully get around whatever issue that is). 
> 
> So.. long story short.. Thanks for good software and for being so willing to 
> support it, and thanks for putting up with reading this whole thing. Now, if 
> someone can explain why DNS isn't being consulted for host names correctly, 
> that would be super... :) 
> 
> 
> It should be, absolutely.
> Would you like to share a log from one of your failure attempts?
> 
>  
> jonathan
> 
> 
> -- 
> Jonathan Woytek
> http://www.dryrose.com 
> KB3HOZ
> PGP:  462C 5F50 144D 6B09 3B65  FCE8 C1DC DEC4 E8B6 AABC
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org

Re: [ovirt-users] failed to activate a (gluster) host. ovirt 4.0.4

2016-10-26 Thread Tom Gamull
This is pointing to network connectivity issues

You can look at logs under /var/logs/ovirt-*

Check your dns and make sure the hosts can connect to each other.  You can 
restart the host, mark it as restarted in the manager and then activate it.

Worst case, you can remove it using hosted-engine commands

Tom

> On Oct 26, 2016, at 8:53 PM, Thing  wrote:
> 
> from the engine log I see,
> 
> 
> 2016-10-27 13:45:24,595 INFO  
> [org.ovirt.engine.core.vdsbroker.gluster.GetGlusterHostUUIDVDSCommand] 
> (DefaultQuartzScheduler2) [3877c2ef] START, 
> GetGlusterHostUUIDVDSCommand(HostName = glusterp1, 
> VdsIdVDSCommandParametersBase:{runAsync='true', 
> hostId='260c0a92-2856-4cd6-a784-01ac95fc41d5'}), log id: 51f83f78
> 2016-10-27 13:46:15,780 INFO  
> [org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService] 
> (DefaultQuartzScheduler3) [] No up server in cluster
> 2016-10-27 13:47:12,326 INFO  
> [org.ovirt.engine.core.bll.gluster.GlusterSnapshotSyncJob] 
> (DefaultQuartzScheduler10) [76412dcc] No UP server found in cluster 'Default' 
> for snapshot monitoring
> 2016-10-27 13:47:12,329 INFO  
> [org.ovirt.engine.core.bll.gluster.GlusterSnapshotSyncJob] 
> (DefaultQuartzScheduler10) [76412dcc] No UP server found in cluster 'Default' 
> for snapshot configurations monitoring
> 2016-10-27 13:47:15,783 INFO  
> [org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService] 
> (DefaultQuartzScheduler4) [27554ab4] No up server in cluster
> 2016-10-27 13:48:15,785 INFO  
> [org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService] 
> (DefaultQuartzScheduler4) [27554ab4] No up server in cluster
> 2016-10-27 13:48:24,879 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (DefaultQuartzScheduler2) [3877c2ef] Correlation ID: null, Call Stack: null, 
> Custom Event ID: -1, Message: VDSM glusterp1 command failed: Message timeout 
> which can be caused by communication issues
> 2016-10-27 13:48:24,879 ERROR 
> [org.ovirt.engine.core.vdsbroker.gluster.GetGlusterHostUUIDVDSCommand] 
> (DefaultQuartzScheduler2) [3877c2ef] Command 
> 'GetGlusterHostUUIDVDSCommand(HostName = glusterp1, 
> VdsIdVDSCommandParametersBase:{runAsync='true', 
> hostId='260c0a92-2856-4cd6-a784-01ac95fc41d5'})' execution failed: 
> VDSGenericException: VDSNetworkException: Message timeout which can be caused 
> by communication issues
> 2016-10-27 13:48:24,879 INFO  
> [org.ovirt.engine.core.vdsbroker.gluster.GetGlusterHostUUIDVDSCommand] 
> (DefaultQuartzScheduler2) [3877c2ef] FINISH, GetGlusterHostUUIDVDSCommand, 
> log id: 51f83f78
> 2016-10-27 13:48:24,879 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
> (DefaultQuartzScheduler2) [3877c2ef] Command 
> 'org.ovirt.engine.core.bll.InitVdsOnUpCommand' failed: EngineException: 
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
> VDSGenericException: VDSNetworkException: Message timeout which can be caused 
> by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)
> 2016-10-27 13:48:24,887 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (DefaultQuartzScheduler2) [3877c2ef] Correlation ID: 3877c2ef, Call Stack: 
> null, Custom Event ID: -1, Message: Failed to fetch gluster peer list from 
> server glusterp1 on Cluster Default.
> 2016-10-27 13:48:24,908 INFO  
> [org.ovirt.engine.core.bll.HandleVdsVersionCommand] (DefaultQuartzScheduler2) 
> [6083469d] Running command: HandleVdsVersionCommand internal: true. Entities 
> affected :  ID: 260c0a92-2856-4cd6-a784-01ac95fc41d5 Type: VDS
> 2016-10-27 13:48:24,959 INFO  [org.ovirt.engine.core.vdsbroker.VdsManager] 
> (org.ovirt.thread.pool-8-thread-42) [3877c2ef] Server failed to respond, 
> vds_id='260c0a92-2856-4cd6-a784-01ac95fc41d5', vds_name='glusterp1', 
> vm_count=0, spm_status='None', non-responsive_timeout (seconds)=60, error: 
> VDSGenericException: VDSNetworkException: Message timeout which can be caused 
> by communication issues
> 2016-10-27 13:48:25,003 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (org.ovirt.thread.pool-8-thread-42) [3877c2ef] Correlation ID: null, Call 
> Stack: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
> VDSGenericException: VDSNetworkException: Message timeout which can be caused 
> by communication issues
> at 
> org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase.proceedProxyReturnValue(BrokerCommandBase.java:188)
> at 
> org.ovirt.engine.core.vdsbroker.gluster.AbstractGlusterBrokerCommand.proceedProxyReturnValue(AbstractGlusterBrokerCommand.java:122)
> at 
> org.ovirt.engine.core.vdsbroker.gluster.GetGlusterHostUUIDVDSCommand.executeVdsBrokerCommand(GetGlusterHostUUIDVDSCommand.java:19)
> at 
> org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.executeVDSCommand(VdsBrokerCommand.java:110)
> at 
> org.ovirt.engine.core.vdsbroker.VDSCommandBase.executeCommand(VDSCommandBase.java:73)
> 

Re: [ovirt-users] failed to activate a (gluster) host. ovirt 4.0.4

2016-10-26 Thread Tom Gamull
What does gluster peer status say on each host?

Tom Gamull
Red Hat | Solutions Architect
(404) 494-0280 | @magicalyak

> On Oct 26, 2016, at 8:55 PM, Tom Gamull <tgam...@redhat.com> wrote:
> 
> This is pointing to network connectivity issues
> 
> You can look at logs under /var/logs/ovirt-*
> 
> Check your dns and make sure the hosts can connect to each other.  You can 
> restart the host, mark it as restarted in the manager and then activate it.
> 
> Worst case, you can remove it using hosted-engine commands
> 
> Tom
> 
>> On Oct 26, 2016, at 8:53 PM, Thing <thing.th...@gmail.com 
>> <mailto:thing.th...@gmail.com>> wrote:
>> 
>> from the engine log I see,
>> 
>> 
>> 2016-10-27 13:45:24,595 INFO  
>> [org.ovirt.engine.core.vdsbroker.gluster.GetGlusterHostUUIDVDSCommand] 
>> (DefaultQuartzScheduler2) [3877c2ef] START, 
>> GetGlusterHostUUIDVDSCommand(HostName = glusterp1, 
>> VdsIdVDSCommandParametersBase:{runAsync='true', 
>> hostId='260c0a92-2856-4cd6-a784-01ac95fc41d5'}), log id: 51f83f78
>> 2016-10-27 13:46:15,780 INFO  
>> [org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService] 
>> (DefaultQuartzScheduler3) [] No up server in cluster
>> 2016-10-27 13:47:12,326 INFO  
>> [org.ovirt.engine.core.bll.gluster.GlusterSnapshotSyncJob] 
>> (DefaultQuartzScheduler10) [76412dcc] No UP server found in cluster 
>> 'Default' for snapshot monitoring
>> 2016-10-27 13:47:12,329 INFO  
>> [org.ovirt.engine.core.bll.gluster.GlusterSnapshotSyncJob] 
>> (DefaultQuartzScheduler10) [76412dcc] No UP server found in cluster 
>> 'Default' for snapshot configurations monitoring
>> 2016-10-27 13:47:15,783 INFO  
>> [org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService] 
>> (DefaultQuartzScheduler4) [27554ab4] No up server in cluster
>> 2016-10-27 13:48:15,785 INFO  
>> [org.ovirt.engine.core.bll.gluster.tasks.GlusterTasksService] 
>> (DefaultQuartzScheduler4) [27554ab4] No up server in cluster
>> 2016-10-27 13:48:24,879 ERROR 
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
>> (DefaultQuartzScheduler2) [3877c2ef] Correlation ID: null, Call Stack: null, 
>> Custom Event ID: -1, Message: VDSM glusterp1 command failed: Message timeout 
>> which can be caused by communication issues
>> 2016-10-27 13:48:24,879 ERROR 
>> [org.ovirt.engine.core.vdsbroker.gluster.GetGlusterHostUUIDVDSCommand] 
>> (DefaultQuartzScheduler2) [3877c2ef] Command 
>> 'GetGlusterHostUUIDVDSCommand(HostName = glusterp1, 
>> VdsIdVDSCommandParametersBase:{runAsync='true', 
>> hostId='260c0a92-2856-4cd6-a784-01ac95fc41d5'})' execution failed: 
>> VDSGenericException: VDSNetworkException: Message timeout which can be 
>> caused by communication issues
>> 2016-10-27 13:48:24,879 INFO  
>> [org.ovirt.engine.core.vdsbroker.gluster.GetGlusterHostUUIDVDSCommand] 
>> (DefaultQuartzScheduler2) [3877c2ef] FINISH, GetGlusterHostUUIDVDSCommand, 
>> log id: 51f83f78
>> 2016-10-27 13:48:24,879 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
>> (DefaultQuartzScheduler2) [3877c2ef] Command 
>> 'org.ovirt.engine.core.bll.InitVdsOnUpCommand' failed: EngineException: 
>> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
>> VDSGenericException: VDSNetworkException: Message timeout which can be 
>> caused by communication issues (Failed with error VDS_NETWORK_ERROR and code 
>> 5022)
>> 2016-10-27 13:48:24,887 ERROR 
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
>> (DefaultQuartzScheduler2) [3877c2ef] Correlation ID: 3877c2ef, Call Stack: 
>> null, Custom Event ID: -1, Message: Failed to fetch gluster peer list from 
>> server glusterp1 on Cluster Default.
>> 2016-10-27 13:48:24,908 INFO  
>> [org.ovirt.engine.core.bll.HandleVdsVersionCommand] 
>> (DefaultQuartzScheduler2) [6083469d] Running command: 
>> HandleVdsVersionCommand internal: true. Entities affected :  ID: 
>> 260c0a92-2856-4cd6-a784-01ac95fc41d5 Type: VDS
>> 2016-10-27 13:48:24,959 INFO  [org.ovirt.engine.core.vdsbroker.VdsManager] 
>> (org.ovirt.thread.pool-8-thread-42) [3877c2ef] Server failed to respond, 
>> vds_id='260c0a92-2856-4cd6-a784-01ac95fc41d5', vds_name='glusterp1', 
>> vm_count=0, spm_status='None', non-responsive_timeout (seconds)=60, error: 
>> VDSGenericException: VDSNetworkException: Message timeout which can be 
>> caused by communication issues
>> 2016-10-27 13:48:25,003 ERROR 
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
>> (org.ovirt.thread.pool-8-thread-42) [38

Re: [ovirt-users] Using Local Harddisks on the Host for Storage Domains

2016-10-26 Thread Tom Gamull
I’ve done the same. You may get some shutdown issues with this approach on 
sanlock so if this is more of a home lab and you shutdown a lot sometimes the 
following helps

systemctl stop ovirt-ha-agent ovirt-ha-broker
systemctl stop vdsmd
systemctl stop sanlock
systemctl stop nfs
systemctl power off

The sanlock will take a while
Sometimes I’ve also had to manually mount the volumes under /rhev/…

YMMV

Tom

> On Oct 25, 2016, at 11:29 PM, Anantha Raghava  
> wrote:
> 
> Thanks Julian.
> 
> --
> 
> Thanks & Regards,
> 
> Anantha Raghava
> eXza Technology Consulting & Services
> 
> Do not print this e-mail unless required. Save Paper & trees.
> On Wednesday 26 October 2016 08:35 AM, Julian De Marchi wrote:
>> Hey, 
>> 
>> On 26/10/16 12:51 pm, Anantha Raghava wrote: 
>>> Hello to all, 
>>> 
>>> Can we make use of large hard disk drives on the Hosts for shared 
>>> storage domains? 
>> 
>> Use NFS on each host to export the local disk to your cluster. Ensure this 
>> is remembered, as when you want to reboot a specific node, you have to put 
>> the storage into maintenance as well. 
>> 
>> I also like to pin each VM using the storage to the node the NFS export 
>> lives on. 
>> 
>> --julian 
>> ___ 
>> 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] unsupported configuration: Unable to find security driver for model selinux

2016-10-12 Thread Tom Gamull
This should work but that is a little strange (I’m copying from the suggested 
action)
-
If you believe that qemu-kvm should be allowed getattr access on the 
a3f29de7-c6b9-410e-b635-9b3016da7ba2 lnk_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep qemu-kvm /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
———

It looks like the qemu-kvm is having access issues on lnk files.

Could you try the above action on node69-02 and see if that resolves the issue? 
It may be a bug.

> On Oct 12, 2016, at 9:27 AM, Николаев Алексей <alexeynikolaev.p...@yandex.ru> 
> wrote:
> 
> 
> 
> 12.10.2016, 15:53, "Tom Gamull" <tgam...@redhat.com 
> <mailto:tgam...@redhat.com>>:
>> Can you set it to permissive and run
>> sealart -a /var/log/audit/audit.log
> 
> 
> Added logs to attachment.
> 
> 
> 
> 
> 
>> 
>> you may need to install selinux tools
>> 
>>> On Oct 12, 2016, at 4:49 AM, Краснобаев Михаил <mi...@ya.ru 
>>> <mailto:mi...@ya.ru>> wrote:
>>> 
>>> Good day,
>>> 
>>> had a similar problem, disabling selinux helped.
>>> 
>>> Best,
>>> Mikhail
>>> 
>>> 11.10.2016, 09:55, "Николаев Алексей" <alexeynikolaev.p...@yandex.ru 
>>> <mailto:alexeynikolaev.p...@yandex.ru>>:
>>>> Hi community!
>>>> 
>>>> I have 4 hosts: 2 old servers and 2 new servers
>>>> I have this error trying to migrate VM from new host to old one.
>>>> 
>>>> Oct 11 09:25:05 node69-06 journal: unsupported configuration: Unable to 
>>>> find security driver for model selinux
>>>> Oct 11 09:25:05 node69-06 journal: vdsm vm.Vm ERROR 
>>>> vmId=`a9473a99-32c6-4548-8b85-dafe4ce8f94f`::unsupported configuration: 
>>>> Unable to find security driver for model selinux
>>>> Oct 11 09:25:05 node69-06 journal: vdsm vm.Vm ERROR 
>>>> vmId=`a9473a99-32c6-4548-8b85-dafe4ce8f94f`::Failed to 
>>>> migrate#012Traceback (most recent call last):#012  File 
>>>> "/usr/share/vdsm/virt/migration.py", line 246, in run#012
>>>> self._startUnderlyingMigration(time.time())#012  File 
>>>> "/usr/share/vdsm/virt/migration.py", line 335, in 
>>>> _startUnderlyingMigration#012None, maxBandwidth)#012  File 
>>>> "/usr/share/vdsm/virt/vm.py", line 703, in f#012ret = attr(*args, 
>>>> **kwargs)#012  File 
>>>> "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 119, in 
>>>> wrapper#012ret = f(*args, **kwargs)#012  File 
>>>> "/usr/lib64/python2.7/site-packages/libvirt.py", line 1825, in 
>>>> migrateToURI2#012if ret == -1: raise libvirtError 
>>>> ('virDomainMigrateToURI2() failed', dom=self)#012libvirtError: unsupported 
>>>> configuration: Unable to find security driver for model selinux
>>>> 
>>>> Migration from OLD host to another OLD host have not any problems.
>>>> Migration from NEW host to another NEW host have not any problems.
>>>> Migration from OLD host to NEW host have not any problems.
>>>> 
>>>> Migration is not work only from NEW to OLD.
>>>> 
>>>> oVirt Engine Version: 3.5.6.2-1.el6
>>>> 
>>>> All hosts:
>>>> OS Version: RHEL - 7 - 2.1511.el7.centos.2.10
>>>> Kernel Version: 3.10.0 - 327.36.1.el7.x86_64
>>>> KVM Version: 2.3.0 - 29.1.el7
>>>> LIBVIRT Version: libvirt-1.2.17-13.el7_2.5
>>>> VDSM Version: vdsm-4.16.30-0.el7.centos
>>>> 
>>>> Any ideas? Thx.
>>>> ,
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org <mailto:Users@ovirt.org>
>>>> http://lists.ovirt.org/mailman/listinfo/users 
>>>> <http://lists.ovirt.org/mailman/listinfo/users>
>>> 
>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org <mailto:Users@ovirt.org>
>>> http://lists.ovirt.org/mailman/listinfo/users 
>>> <http://lists.ovirt.org/mailman/listinfo/users>



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] unsupported configuration: Unable to find security driver for model selinux

2016-10-12 Thread Tom Gamull
Can you set it to permissive and run
sealart -a /var/log/audit/audit.log

you may need to install selinux tools

> On Oct 12, 2016, at 4:49 AM, Краснобаев Михаил  wrote:
> 
> Good day,
> 
> had a similar problem, disabling selinux helped.
> 
> Best,
> Mikhail
> 
> 11.10.2016, 09:55, "Николаев Алексей" :
>> Hi community!
>> 
>> I have 4 hosts: 2 old servers and 2 new servers
>> I have this error trying to migrate VM from new host to old one.
>> 
>> Oct 11 09:25:05 node69-06 journal: unsupported configuration: Unable to find 
>> security driver for model selinux
>> Oct 11 09:25:05 node69-06 journal: vdsm vm.Vm ERROR 
>> vmId=`a9473a99-32c6-4548-8b85-dafe4ce8f94f`::unsupported configuration: 
>> Unable to find security driver for model selinux
>> Oct 11 09:25:05 node69-06 journal: vdsm vm.Vm ERROR 
>> vmId=`a9473a99-32c6-4548-8b85-dafe4ce8f94f`::Failed to migrate#012Traceback 
>> (most recent call last):#012  File "/usr/share/vdsm/virt/migration.py", line 
>> 246, in run#012self._startUnderlyingMigration(time.time())#012  File 
>> "/usr/share/vdsm/virt/migration.py", line 335, in 
>> _startUnderlyingMigration#012None, maxBandwidth)#012  File 
>> "/usr/share/vdsm/virt/vm.py", line 703, in f#012ret = attr(*args, 
>> **kwargs)#012  File 
>> "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 119, in 
>> wrapper#012ret = f(*args, **kwargs)#012  File 
>> "/usr/lib64/python2.7/site-packages/libvirt.py", line 1825, in 
>> migrateToURI2#012if ret == -1: raise libvirtError 
>> ('virDomainMigrateToURI2() failed', dom=self)#012libvirtError: unsupported 
>> configuration: Unable to find security driver for model selinux
>> 
>> Migration from OLD host to another OLD host have not any problems.
>> Migration from NEW host to another NEW host have not any problems.
>> Migration from OLD host to NEW host have not any problems.
>> 
>> Migration is not work only from NEW to OLD.
>> 
>> oVirt Engine Version: 3.5.6.2-1.el6
>> 
>> All hosts:
>> OS Version: RHEL - 7 - 2.1511.el7.centos.2.10
>> Kernel Version: 3.10.0 - 327.36.1.el7.x86_64
>> KVM Version: 2.3.0 - 29.1.el7
>> LIBVIRT Version: libvirt-1.2.17-13.el7_2.5
>> VDSM Version: vdsm-4.16.30-0.el7.centos
>> 
>> Any ideas? Thx.
>> ,
>> ___
>> 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



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vlan tagging issue

2016-09-15 Thread Tom Gamull
Can you eliminate the switch or port config as the issue?  I’m a little unclear 
as to how you configured the nodes I have basically use a single NIC (some are 
LACP bonds) with a GENERAL link type (not TRUNK or ACCESS) where there is a 
default VLAN (which I don’t tag) and the rest of the VLANs are tagged.  On my 
switch (TP-LINK) I have to go to the VLANs and say TAG on all of them except 
the DEFAULT one.  I couldn’t get TRUNK working even with one untagged and the 
rest tagged. For me, using GENERAL was the way I did it.

I’m not a networking except on hardware but this discussion may clarify.  I 
have no idea why TRUNK didn’t work over GENERAL and didn’t spend much more time 
than that but here’s a discussion on the topic 
https://supportforums.cisco.com/discussion/11897946/general-vs-trunk-mode 


Tom

> On Sep 14, 2016, at 3:08 PM, cmc  wrote:
> 
> Hi,
> 
> I have modified my VM network to have multiple tagged networks. It used to be 
> an untagged network and it worked fine, but I needed to add more networks on 
> the host. The switch it is connected to has the port configured as a trunk 
> port with these VLANs. When a VM sends traffic out (to get a DHCP address for 
> instance), it reaches the server but does not get the DHCP offer that the 
> server sends. I did a tcpdump on the node that hosts the VM and the packets 
> going out do not have a VLAN tag. I assume the VM host interface would should 
> not have the tag present, but that the  p2p1.91 interface should put the VLAN 
> tag on.
> 
> The relevant interface configuration on the node that the VM host is on looks 
> like:
> 
> 27: sohonet_DMZ:  mtu 1500 qdisc noqueue 
> state UP
> link/ether a0:36:9f:2a:63:20 brd ff:ff:ff:ff:ff:ff
> 29: p2p1.91@p2p1:  mtu 1500 qdisc noqueue 
> master vmnet state UP
> link/ether a0:36:9f:2a:63:20 brd ff:ff:ff:ff:ff:ff
> 30: vmnet:  mtu 1500 qdisc noqueue state UP
> link/ether a0:36:9f:2a:63:20 brd ff:ff:ff:ff:ff:ff
> inet6 fe80::a236:9fff:fe2a:6320/64 scope link
>valid_lft forever preferred_lft forever
> 31: vnet0:  mtu 1500 qdisc pfifo_fast master 
> vmnet state UNKNOWN qlen 500
> link/ether fe:1a:4a:16:01:58 brd ff:ff:ff:ff:ff:ff
> inet6 fe80::fc1a:4aff:fe16:158/64 scope link
>valid_lft forever preferred_lft forever
> 32: vnet1:  mtu 1500 qdisc pfifo_fast master 
> vmnet state UNKNOWN qlen 500
> link/ether fe:1a:4a:16:01:5c brd ff:ff:ff:ff:ff:ff
> inet6 fe80::fc1a:4aff:fe16:15c/64 scope link
>valid_lft forever preferred_lft forever
> 
> where vnet1 is the VM interface, and p2p1.91 is the VLAN'd interface for the 
> network. The network the VM nic is on is vmnet, and the physical interface is 
> p2p1
> 
> Configuring an address manually does not help, nor does dropping the firewall 
> on the host.
> I've run the vmnet interface in promiscuous mode to see if I can see anything 
> coming back, but the return traffic does not appear.
> 
> Any ideas as to why the network is not working?
> 
> Thanks for any help.
> 
> -Cam
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Documentation

2016-09-04 Thread Tom Gamull
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> 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/>http://www.ovirt.org/documentation/ 
>> <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>https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install
>>  <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>https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install
>>  <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 expli