Re: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on host?

2016-12-18 Thread Yaniv Dary
I don't know. We do not do automatic updates.
This is even not recommended unless the host is on maintenance.
You can open a bug and we can have a look.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Wed, Dec 14, 2016 at 7:45 PM, Derek Atkins  wrote:

> Hi,
>
> If it's user-initiated, how do I see who initiated it?  I was in bed when
> it happened so I know it wasn't me.  And I don't have any other admin
> users.
>
> Looking in my engine.log file I see:
>
> 2016-12-12 23:16:46,941 INFO
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (DefaultQuartzScheduler9) [4eb758cf] Connected to host HOST.DOM.AIN with
> SSH key fingerprint: SHA256:
> 2016-12-12 23:16:47,020 INFO
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (DefaultQuartzScheduler9) [4eb758cf] Installation of HOST.DOM.AIN.
> Executing command via SSH umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}"
> mktemp -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >
> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar
> --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-mgmt
> DIALOG/dialect=str:machine DIALOG/customization=bool:True <
> /var/cache/ovirt-engine/ovirt-host-deploy.tar
>
> I can certainly send more than this... But I certainly didn't initiate
> anything at 23:16, and I don't see anything in the event log in the UI.  I
> *DO* see "Host has available updates" message in the log from 23:17, but
> that doesn't explain why the system would auto-install (or auto-update)
> the 'iproute' package??
>
> [host]# tail -f /var/log/yum.log:
> Dec 12 23:17:17 Updated: iproute-3.10.0-74.el7.x86_64
>
> Any ideas?
>
> Thanks,
>
> -derek
>
> On Wed, December 14, 2016 12:25 pm, Yaniv Dary wrote:
> > No updates are run automatically. Is either a user initiate a install or
> > upgrade file.
> >
> > Yaniv Dary
> > Technical Product Manager
> > Red Hat Israel Ltd.
> > 34 Jerusalem Road
> > Building A, 4th floor
> > Ra'anana, Israel 4350109
> >
> > Tel : +972 (9) 7692306
> > 8272306
> > Email: yd...@redhat.com
> > IRC : ydary
> >
> > On Dec 13, 2016 17:50, "Derek Atkins"  wrote:
> >
> >> Hi,
> >>
> >> As I was going through my daily logwatch I noticed that a package got
> >> updated on my ovirt host last night.  But I know that I didn't do that
> >> on my own.  Looking at the logs I tracked it down to the hosted engine
> >> running a VdsDeploy process which updated the package on the host.  I
> >> know from the timestamp that it wasn't me that initiated that action.
> >>
> >> Is the engine supposed to update packages on hosts unprompted like that?
> >>
> >> -derek
> >> --
> >>Derek Atkins 617-623-3745
> >>de...@ihtfp.com www.ihtfp.com
> >>Computer and Internet Security Consultant
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.phx.ovirt.org/mailman/listinfo/users
> >>
> >
>
>
> --
>Derek Atkins 617-623-3745
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on host?

2016-12-18 Thread Yaniv Dary
Host and engine logs.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Sun, Dec 18, 2016 at 4:17 PM, Derek Atkins  wrote:

> Thanks.
> I'll do that
> What logs should I attach?
>
> -derek
>
> Sent from my mobile device. Please excuse any typos.
>
> - Reply message -
> From: "Yaniv Dary" 
> To: "Derek Atkins" 
> Cc: "users" 
> Subject: [ovirt-users] Unprompted engine VdsDeploy -- updating a package
> on host?
> Date: Sun, Dec 18, 2016 8:38 AM
>
> I don't know. We do not do automatic updates.
> This is even not recommended unless the host is on maintenance.
> You can open a bug and we can have a look.
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306 <+972%209-769-2306>
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
>
> On Wed, Dec 14, 2016 at 7:45 PM, Derek Atkins  wrote:
>
>> Hi,
>>
>> If it's user-initiated, how do I see who initiated it?  I was in bed when
>> it happened so I know it wasn't me.  And I don't have any other admin
>> users.
>>
>> Looking in my engine.log file I see:
>>
>> 2016-12-12 23:16:46,941 INFO
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
>> (DefaultQuartzScheduler9) [4eb758cf] Connected to host HOST.DOM.AIN with
>> SSH key fingerprint: SHA256:
>> 2016-12-12 23:16:47,020 INFO
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
>> (DefaultQuartzScheduler9) [4eb758cf] Installation of HOST.DOM.AIN.
>> Executing command via SSH umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}"
>> mktemp -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >
>> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar
>> --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-mgmt
>> DIALOG/dialect=str:machine DIALOG/customization=bool:True <
>> /var/cache/ovirt-engine/ovirt-host-deploy.tar
>>
>> I can certainly send more than this... But I certainly didn't initiate
>> anything at 23:16, and I don't see anything in the event log in the UI.  I
>> *DO* see "Host has available updates" message in the log from 23:17, but
>> that doesn't explain why the system would auto-install (or auto-update)
>> the 'iproute' package??
>>
>> [host]# tail -f /var/log/yum.log:
>> Dec 12 23:17:17 Updated: iproute-3.10.0-74.el7.x86_64
>>
>> Any ideas?
>>
>> Thanks,
>>
>> -derek
>>
>> On Wed, December 14, 2016 12:25 pm, Yaniv Dary wrote:
>> > No updates are run automatically. Is either a user initiate a install or
>> > upgrade file.
>> >
>> > Yaniv Dary
>> > Technical Product Manager
>> > Red Hat Israel Ltd.
>> > 34 Jerusalem Road
>> > Building A, 4th floor
>> > Ra'anana, Israel 4350109
>> >
>> > Tel : +972 (9) 7692306
>> > 8272306
>> > Email: yd...@redhat.com
>> > IRC : ydary
>> >
>> > On Dec 13, 2016 17:50, "Derek Atkins"  wrote:
>> >
>> >> Hi,
>> >>
>> >> As I was going through my daily logwatch I noticed that a package got
>> >> updated on my ovirt host last night.  But I know that I didn't do that
>> >> on my own.  Looking at the logs I tracked it down to the hosted engine
>> >> running a VdsDeploy process which updated the package on the host.  I
>> >> know from the timestamp that it wasn't me that initiated that action.
>> >>
>> >> Is the engine supposed to update packages on hosts unprompted like
>> that?
>> >>
>> >> -derek
>> >> --
>> >>Derek Atkins 617-623-3745
>> >>de...@ihtfp.com www.ihtfp.com
>> >>Computer and Internet Security Consultant
>> >> ___
>> >> Users mailing list
>> >> Users@ovirt.org
>> >> http://lists.phx.ovirt.org/mailman/listinfo/users
>> >>
>> >
>>
>>
>> --
>>Derek Atkins 617-623-3745
>>de...@ihtfp.com www.ihtfp.com
>>Computer and Internet Security Consultant
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] root login using HE w/o cloud-init?

2016-12-18 Thread Mark Steckel
Still trying to get a single server hosted engine setup running at Hetzner.de...

If I use the HE Appliance and do not use cloud-init the VM launches but can not 
be accessed.


[ INFO  ] Detecting available oVirt engine appliances
  The following appliance have been found on your system:
[1] - The oVirt Engine Appliance image (OVA) - 
4.0-20161210.1.el7.centos
[2] - Directly select an OVA file
  Please select an appliance (1, 2) [1]: 1
[ INFO  ] Verifying its sha1sum
[ INFO  ] Checking OVF archive content (could take a few minutes depending on 
archive size)
[ INFO  ] Checking OVF XML content (could take a few minutes depending on 
archive size)
[WARNING] OVF does not contain a valid image description, using default.
  Would you like to use cloud-init to customize the appliance on the 
first boot (Yes, No)[Yes]? No
[WARNING] The oVirt engine appliance is not configured with a default password, 
please consider configuring it via cloud-init



  Make a selection from the options below:
  (1) Continue setup - oVirt-Engine installation is ready and 
ovirt-engine service is up
  (2) Abort setup
  (3) Power off and restart the VM
  (4) Destroy VM and abort setup



At this point I can access the VM via vnc but am unable to login.

Is root login possible in this situation?



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


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread rajatjpatel
Yaniv,

If I am not wrong your referencing to this
https://www.ovirt.org/develop/release-management/features/cinderglance-docker-integration/

But only issue here right now this is not add from RH officially, after
finish this we will going for RH product.

Regards
Rajat

Hi


Regards,
Rajat Patel

http://studyhat.blogspot.com
FIRST THEY IGNORE YOU...
THEN THEY LAUGH AT YOU...
THEN THEY FIGHT YOU...
THEN YOU WIN...


On Sun, Dec 18, 2016 at 8:37 PM, Yaniv Kaul  wrote:

>
>
> On Sun, Dec 18, 2016 at 6:21 PM, Alessandro De Salvo <
> alessandro.desa...@roma1.infn.it> wrote:
>
>> Hi,
>> having a 3-node ceph cluster is the bare minimum you can have to make it
>> working, unless you want to have just a replica-2 mode, which is not safe.
>>
>
> How well does it perform?
>
>
>> It's not true that ceph is not easy to configure, you might use very
>> easily ceph-deploy, have puppet configuring it or even run it in
>> containers. Using docker is in fact the easiest solution, it really
>> requires 10 minutes to make a cluster up. I've tried it both with jewel
>> (official containers) and kraken (custom containers), and it works pretty
>> well.
>>
>
> This could be a great blog post in ovirt.org site - care to write
> something describing the configuration and setup?
> Y.
>
>
>> The real problem is not creating and configuring a ceph cluster, but
>> using it from ovirt, as it requires cinder, i.e. a minimal setup of
>> openstack. We have it and it's working pretty well, but it requires some
>> work. For your reference we have cinder running on an ovirt VM using
>> gluster.
>> Cheers,
>>
>>Alessandro
>>
>> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha
>> scritto:
>>
>>
>>
>> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel 
>> wrote:
>>
>>> ​Dear Team,
>>>
>>> We are using Ovirt 4.0 for POC what we are doing I want to check with
>>> all Guru's Ovirt.
>>>
>>> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB
>>> SSD.
>>>
>>> Waht we are done we have install ovirt hyp on these h/w and we have
>>> physical server where we are running our manager for ovirt. For ovirt hyp
>>> we are using only one 500GB of one HDD rest we have kept for ceph, so we
>>> have 3 node as guest running on ovirt and for ceph. My question you all is
>>> what I am doing is right or wrong.
>>>
>>
>> I think Ceph requires a lot more resources than above. It's also a bit
>> more challenging to configure. I would highly recommend a 3-node cluster
>> with Gluster.
>> Y.
>>
>>
>>>
>>> Regards
>>> Rajat​
>>>
>>>
>>> ___
>>> 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 & Ceph

2016-12-18 Thread rajatjpatel
Hi Alessandro,

Right now I have 2 physical server where I have host ovirt these are HP
proliant dl 380  each server 1*500GB SAS & 1TB *4 SAS Disk and 1*500GB SSD.
So right now I have use only one disk which 500GB of SAS for my ovirt to
run on both server. rest are not in use. At present I am using NFS which
coming from mapper to ovirt as storage, go forward we like to use all these
disk as  hyper-converged for ovirt. RH I could see there is KB for using
gluster. But we are looking for Ceph bcoz best pref romance and scale.

[image: Inline image 1]
Regards
Rajat

Hi


Regards,
Rajat Patel

http://studyhat.blogspot.com
FIRST THEY IGNORE YOU...
THEN THEY LAUGH AT YOU...
THEN THEY FIGHT YOU...
THEN YOU WIN...


On Sun, Dec 18, 2016 at 8:49 PM, Alessandro De Salvo <
alessandro.desa...@roma1.infn.it> wrote:

> Hi Rajat,
> sorry but I do not really have a clear picture of your actual setup, can
> you please explain a bit more?
> In particular:
>
> 1) what to you mean by using 4TB for ovirt? In which machines and how do
> you make it available to ovirt?
>
> 2) how do you plan to use ceph with ovirt?
>
> I guess we can give more help if you clarify those points.
> Thanks,
>
>Alessandro
>
> Il giorno 18 dic 2016, alle ore 17:33, rajatjpatel 
> ha scritto:
>
> Great, thanks! Alessandro ++ Yaniv ++
>
> What I want to use around 4 TB of SAS disk for my Ovirt (which going to be
> RHV4.0.5 once POC get 100% successful, in fact all product will be RH )
>
> I had done so much duckduckgo for all these solution and use lot of
> reference from ovirt.org & access.redhat.com for setting up a Ovirt
> engine and hyp.
>
> We dont mind having more guest running and creating ceph block storage and
> which will be presented to ovirt as storage. Gluster is not is use right
> now bcoz we have DB will be running on guest.
>
> Regard
> Rajat
>
> On Sun, Dec 18, 2016 at 8:21 PM Alessandro De Salvo <
> alessandro.desa...@roma1.infn.it> wrote:
>
>> Hi,
>> having a 3-node ceph cluster is the bare minimum you can have to make it
>> working, unless you want to have just a replica-2 mode, which is not safe.
>> It's not true that ceph is not easy to configure, you might use very
>> easily ceph-deploy, have puppet configuring it or even run it in
>> containers. Using docker is in fact the easiest solution, it really
>> requires 10 minutes to make a cluster up. I've tried it both with jewel
>> (official containers) and kraken (custom containers), and it works pretty
>> well.
>> The real problem is not creating and configuring a ceph cluster, but
>> using it from ovirt, as it requires cinder, i.e. a minimal setup of
>> openstack. We have it and it's working pretty well, but it requires some
>> work. For your reference we have cinder running on an ovirt VM using
>> gluster.
>> Cheers,
>>
>>Alessandro
>>
>> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha
>> scritto:
>>
>>
>>
>> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel 
>> wrote:
>>
>> ​Dear Team,
>>
>> We are using Ovirt 4.0 for POC what we are doing I want to check with all
>> Guru's Ovirt.
>>
>> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB
>> SSD.
>>
>> Waht we are done we have install ovirt hyp on these h/w and we have
>> physical server where we are running our manager for ovirt. For ovirt hyp
>> we are using only one 500GB of one HDD rest we have kept for ceph, so we
>> have 3 node as guest running on ovirt and for ceph. My question you all is
>> what I am doing is right or wrong.
>>
>>
>> I think Ceph requires a lot more resources than above. It's also a bit
>> more challenging to configure. I would highly recommend a 3-node cluster
>> with Gluster.
>> Y.
>>
>>
>>
>> Regards
>> Rajat​
>>
>>
>> ___
>> 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
>>
>> --
>
> Sent from my Cell Phone - excuse the typos & auto incorrect
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Alessandro De Salvo
Hi,
oh, so you have only 2 physical servers? I've understood they were 3! Well, in 
this case ceph would not work very well, too few resources and redundancy. You 
could try a replica 2, but it's not safe. Having a replica 3 could be forced, 
but you would end up with a server with 2 replicas, which is dangerous/useless.
Okay, so you use nfs as storage domain, but in your setup the HA is not 
guaranteed: if a physical machine goes down and it's the one where the storage 
domain resides you are lost. Why not using gluster instead of nfs for the ovirt 
disks? You can still reserve a small gluster space for the non-ceph machines 
(for example a cinder VM) and ceph for the rest. Where do you have your cinder 
running?
Cheers,

Alessandro

> Il giorno 18 dic 2016, alle ore 18:05, rajatjpatel  ha 
> scritto:
> 
> Hi Alessandro,
> 
> Right now I have 2 physical server where I have host ovirt these are HP 
> proliant dl 380  each server 1*500GB SAS & 1TB *4 SAS Disk and 1*500GB SSD. 
> So right now I have use only one disk which 500GB of SAS for my ovirt to run 
> on both server. rest are not in use. At present I am using NFS which coming 
> from mapper to ovirt as storage, go forward we like to use all these disk as  
> hyper-converged for ovirt. RH I could see there is KB for using gluster. But 
> we are looking for Ceph bcoz best pref romance and scale.
> 
> 
> Regards
> Rajat
> 
> Hi
> 
> 
> Regards,
> Rajat Patel
> 
> http://studyhat.blogspot.com
> FIRST THEY IGNORE YOU...
> THEN THEY LAUGH AT YOU...
> THEN THEY FIGHT YOU...
> THEN YOU WIN...
> 
> 
>> On Sun, Dec 18, 2016 at 8:49 PM, Alessandro De Salvo 
>>  wrote:
>> Hi Rajat,
>> sorry but I do not really have a clear picture of your actual setup, can you 
>> please explain a bit more?
>> In particular:
>> 
>> 1) what to you mean by using 4TB for ovirt? In which machines and how do you 
>> make it available to ovirt?
>> 
>> 2) how do you plan to use ceph with ovirt?
>> 
>> I guess we can give more help if you clarify those points.
>> Thanks,
>> 
>>Alessandro 
>> 
>>> Il giorno 18 dic 2016, alle ore 17:33, rajatjpatel  
>>> ha scritto:
>>> 
>>> Great, thanks! Alessandro ++ Yaniv ++ 
>>> 
>>> What I want to use around 4 TB of SAS disk for my Ovirt (which going to be 
>>> RHV4.0.5 once POC get 100% successful, in fact all product will be RH )
>>> 
>>> I had done so much duckduckgo for all these solution and use lot of 
>>> reference from ovirt.org & access.redhat.com for setting up a Ovirt engine 
>>> and hyp.
>>> 
>>> We dont mind having more guest running and creating ceph block storage and 
>>> which will be presented to ovirt as storage. Gluster is not is use right 
>>> now bcoz we have DB will be running on guest.
>>> 
>>> Regard
>>> Rajat 
>>> 
 On Sun, Dec 18, 2016 at 8:21 PM Alessandro De Salvo 
  wrote:
 Hi,
 having a 3-node ceph cluster is the bare minimum you can have to make it 
 working, unless you want to have just a replica-2 mode, which is not safe.
 It's not true that ceph is not easy to configure, you might use very 
 easily ceph-deploy, have puppet configuring it or even run it in 
 containers. Using docker is in fact the easiest solution, it really 
 requires 10 minutes to make a cluster up. I've tried it both with jewel 
 (official containers) and kraken (custom containers), and it works pretty 
 well.
 The real problem is not creating and configuring a ceph cluster, but using 
 it from ovirt, as it requires cinder, i.e. a minimal setup of openstack. 
 We have it and it's working pretty well, but it requires some work. For 
 your reference we have cinder running on an ovirt VM using gluster.
 Cheers,
 
Alessandro 
 
> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha 
> scritto:
> 
> 
> 
> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel  
> wrote:
> ​Dear Team,
> 
> We are using Ovirt 4.0 for POC what we are doing I want to check with all 
> Guru's Ovirt.
> 
> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB 
> SSD.
> 
> Waht we are done we have install ovirt hyp on these h/w and we have 
> physical server where we are running our manager for ovirt. For ovirt hyp 
> we are using only one 500GB of one HDD rest we have kept for ceph, so we 
> have 3 node as guest running on ovirt and for ceph. My question you all 
> is what I am doing is right or wrong.
> 
> I think Ceph requires a lot more resources than above. It's also a bit 
> more challenging to configure. I would highly recommend a 3-node cluster 
> with Gluster.
> Y.
>  
> 
> Regards
> Rajat​
> 
> 
> ___
> Users mailing list
> Users@ovirt.org

Re: [ovirt-users] oVirt multiips hook

2016-12-18 Thread Bill Bill
Hi Dan,

Thanks for getting back to me & for your help. The script is 755 permissions 
and oVirt sees it under the host hooks as well. The dump is below:

(I replaced our node IP with “mynodeIP” for privacy) I don’t see the IP’s from 
the custom property listed in the dump and I also don’t see any errors in the 
vdsm log. If I grep multiips in the vdsm log I can see entries, but none appear 
to be errors.

Grep vdsm log for before_vm_start shows:

Thread-79534::DEBUG::2016-12-18 12:24:45,006::commands::68::root::(execCmd) 
/usr/bin/taskset --cpu-list 0-23 
/usr/libexec/vdsm/hooks/before_vm_start/multiips (cwd None)

Then if I grep the path:

cat /var/log/vdsm/vdsm.log | /usr/libexec/vdsm/hooks/before_vm_start/multiips
Traceback (most recent call last):
  File "/usr/libexec/vdsm/hooks/before_vm_start/multiips", line 6, in 
import hooking
ImportError: No module named hooking


///
///


  vpsclass1vm-user2-3
  84100056-5bb7-4904-aff6-ef0a51ffd7b1
  http://ovirt.org/vm/tune/1.0;>

  
  4294967296
  1048576
  1048576
  16
  
1020
  
  
/machine
  
  

  oVirt
  oVirt Node
  7-0.1406.el7.centos.2.3
  ----0CC47A7ED960
  84100056-5bb7-4904-aff6-ef0a51ffd7b1

  
  
hvm


  
  

  
  
Haswell-noTSX


  

  
  



  
  destroy
  restart
  destroy
  
/usr/libexec/qemu-kvm

  
  
  
  
  
  
  


  
  

  
  



  
  
  f64b31f1-1e28-4067-9776-c8cdedd039dc
  
  


  
  


  
  


  
  


  


  
  


  
  
  
  
  
  
  
  


  
  
  
  


  
  
  
  


  
  
  


  


  


  


  
  
  
  
  
  
  
  
  


  
  
  


  
  

  
  
system_u:system_r:svirt_t:s0:c310,c350
system_u:object_r:svirt_image_t:s0:c310,c350
  
  
+107:+107
+107:+107
  


///
///

Sent from Mail for Windows 10

From: Dan Kenigsberg
Sent: Sunday, December 18, 2016 10:59 AM
To: Bill Bill
Cc: users; Dominik Holler
Subject: Re: oVirt multiips hook



On Dec 15, 2016 22:40, "Bill Bill" 
> wrote:
Hello,

Following up on the users list as opposed to Bugzilla.

Thanks for helping out with this, much appreciated. I was able to get the 
custom property added in the engine & I can select the property, then enter in 
the IP’s.

I’m not sure if I created the hook correctly, as it doesn’t appear to have made 
any changes so far, only one IP communicates.

I created a file called “multiips” in the 
/usr/libexec/vdsm/hooks/before_vm_start/ directory containing the info from the 
Bugzilla thread.

Is there another step I should take or perhaps I’m missing something?
It should have been enough, but apparently something's missing.

Is the multiip script readable and executable?

Do you see any errors in vdsm.log when you start the VM?

Do you see the requested ips in the output of

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


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2016-12-18 Thread Derek Atkins
Joop,

Joop  writes:

> On 16-12-2016 20:01, Derek Atkins wrote:
>> Hi,
>>
>> I'd like to make some modifications to the main /ovirt-engine/ landing
>> page that I (and my users) hit when then first connect to my server.
>> Specifically, I want to add another link under the "Downloads" section
>> to the ovirt CA certificate to make it much easier to download:
>>
>> > href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>> CA Certificate
>>
>> However I can't find the HTML for this page, and any links I've found
>> seem to refer back to 3.x locations and not anything for 4.0.5.
>>
>> Where can I find the HTML for this landing page, or how can I get this
>> link added?  I presume I'll have to modify the page every time I update
>> the engine, too.
>>
> It might be hiding in the war file if that is used to deploy the
> application (engine) on wildfly (10.x). Another thought occured, can you
> use the plugin architecture to provide the extra link?

I wouldn't even know where to start to use the plugin architecture to do
this.  Any documentation pointers?

> Joop

-derek
-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Python SDK .remove() does not return True?

2016-12-18 Thread Yaniv Kaul
I'd expect, like other actions, add() for example, that I can ensure
.remove() (for clusters, DCs, etc.) will return True as a sign for success.
Is that a bug or a design choice?
TIA,
Y.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Alessandro De Salvo
Hi Rajat,
OK, I see. Well, so just consider that ceph will not work at best in your 
setup, unless you add at least a physical machine. Same is true for ovirt if 
you are only using native NFS, as you loose a real HA.
Having said this, of course you choose what's best for your site or affordable, 
but your setup looks quite fragile to me. Happy to help more if you need.
Regards,

   Alessandro

> Il giorno 18 dic 2016, alle ore 18:22, rajatjpatel  ha 
> scritto:
> 
> Alessandro,
> 
> Right now I dont have cinder running in my setup in case if ceph don't work 
> then I have get one vm running open stack all in one and have all these disk 
> connect my open stack using cinder I can present storage to my ovirt.
> 
> At the same time I not getting case study for the same.
> 
> Regards
> Rajat
> 
> Hi
> 
> 
> Regards,
> Rajat Patel
> 
> http://studyhat.blogspot.com
> FIRST THEY IGNORE YOU...
> THEN THEY LAUGH AT YOU...
> THEN THEY FIGHT YOU...
> THEN YOU WIN...
> 
> 
>> On Sun, Dec 18, 2016 at 9:17 PM, Alessandro De Salvo 
>>  wrote:
>> Hi,
>> oh, so you have only 2 physical servers? I've understood they were 3! Well, 
>> in this case ceph would not work very well, too few resources and 
>> redundancy. You could try a replica 2, but it's not safe. Having a replica 3 
>> could be forced, but you would end up with a server with 2 replicas, which 
>> is dangerous/useless.
>> Okay, so you use nfs as storage domain, but in your setup the HA is not 
>> guaranteed: if a physical machine goes down and it's the one where the 
>> storage domain resides you are lost. Why not using gluster instead of nfs 
>> for the ovirt disks? You can still reserve a small gluster space for the 
>> non-ceph machines (for example a cinder VM) and ceph for the rest. Where do 
>> you have your cinder running?
>> Cheers,
>> 
>> Alessandro
>> 
>>> Il giorno 18 dic 2016, alle ore 18:05, rajatjpatel  
>>> ha scritto:
>>> 
>>> Hi Alessandro,
>>> 
>>> Right now I have 2 physical server where I have host ovirt these are HP 
>>> proliant dl 380  each server 1*500GB SAS & 1TB *4 SAS Disk and 1*500GB SSD. 
>>> So right now I have use only one disk which 500GB of SAS for my ovirt to 
>>> run on both server. rest are not in use. At present I am using NFS which 
>>> coming from mapper to ovirt as storage, go forward we like to use all these 
>>> disk as  hyper-converged for ovirt. RH I could see there is KB for using 
>>> gluster. But we are looking for Ceph bcoz best pref romance and scale.
>>> 
>>> 
>>> Regards
>>> Rajat
>>> 
>>> Hi
>>> 
>>> 
>>> Regards,
>>> Rajat Patel
>>> 
>>> http://studyhat.blogspot.com
>>> FIRST THEY IGNORE YOU...
>>> THEN THEY LAUGH AT YOU...
>>> THEN THEY FIGHT YOU...
>>> THEN YOU WIN...
>>> 
>>> 
 On Sun, Dec 18, 2016 at 8:49 PM, Alessandro De Salvo 
  wrote:
 Hi Rajat,
 sorry but I do not really have a clear picture of your actual setup, can 
 you please explain a bit more?
 In particular:
 
 1) what to you mean by using 4TB for ovirt? In which machines and how do 
 you make it available to ovirt?
 
 2) how do you plan to use ceph with ovirt?
 
 I guess we can give more help if you clarify those points.
 Thanks,
 
Alessandro 
 
> Il giorno 18 dic 2016, alle ore 17:33, rajatjpatel 
>  ha scritto:
> 
> Great, thanks! Alessandro ++ Yaniv ++ 
> 
> What I want to use around 4 TB of SAS disk for my Ovirt (which going to 
> be RHV4.0.5 once POC get 100% successful, in fact all product will be RH )
> 
> I had done so much duckduckgo for all these solution and use lot of 
> reference from ovirt.org & access.redhat.com for setting up a Ovirt 
> engine and hyp.
> 
> We dont mind having more guest running and creating ceph block storage 
> and which will be presented to ovirt as storage. Gluster is not is use 
> right now bcoz we have DB will be running on guest.
> 
> Regard
> Rajat 
> 
>> On Sun, Dec 18, 2016 at 8:21 PM Alessandro De Salvo 
>>  wrote:
>> Hi,
>> having a 3-node ceph cluster is the bare minimum you can have to make it 
>> working, unless you want to have just a replica-2 mode, which is not 
>> safe.
>> It's not true that ceph is not easy to configure, you might use very 
>> easily ceph-deploy, have puppet configuring it or even run it in 
>> containers. Using docker is in fact the easiest solution, it really 
>> requires 10 minutes to make a cluster up. I've tried it both with jewel 
>> (official containers) and kraken (custom containers), and it works 
>> pretty well.
>> The real problem is not creating and configuring a ceph cluster, but 
>> using it from ovirt, as it requires cinder, i.e. a minimal setup of 
>> openstack. We have it and it's 

Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread rajatjpatel
On Sun, Dec 18, 2016 at 9:31 PM, Alessandro De Salvo <
alessandro.desa...@roma1.infn.it> wrote:

> Alessandro


​Thank you Alessandro, for all your support if I add one more ovirt-hyp to
my setup with same config as h/w will it work for ceph.

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


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Alessandro De Salvo
Hi Rajat,
3 is the bare minimum, but yes, it works well, as I said before. But you still 
have to decide weather you want to have more resiliency for ovirt, and standard 
NFS is not helping much.
If you plan to run your cinder or openstack all in one box as VM in ovirt as 
well you should consider moving from standard NFS to something else, like 
gluster.
Cheers,

  Alessandro

> Il giorno 18 dic 2016, alle ore 18:56, rajatjpatel  ha 
> scritto:
> 
> 
> 
>> On Sun, Dec 18, 2016 at 9:31 PM, Alessandro De Salvo 
>>  wrote:
>> Alessandro
> 
> ​Thank you Alessandro, for all your support if I add one more ovirt-hyp to my 
> setup with same config as h/w will it work for ceph.
> 
> Regards
> Rajat​
> 
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread rajatjpatel
In fact after reading lot of KB I was thing to run one all in one open
stack and use cinder as block storage.

Ragards
Rajat

On Sun, Dec 18, 2016 at 8:33 PM rajatjpatel  wrote:

> Great, thanks! Alessandro ++ Yaniv ++
>
> What I want to use around 4 TB of SAS disk for my Ovirt (which going to be
> RHV4.0.5 once POC get 100% successful, in fact all product will be RH )
>
> I had done so much duckduckgo for all these solution and use lot of
> reference from ovirt.org & access.redhat.com for setting up a Ovirt
> engine and hyp.
>
> We dont mind having more guest running and creating ceph block storage and
> which will be presented to ovirt as storage. Gluster is not is use right
> now bcoz we have DB will be running on guest.
>
> Regard
> Rajat
>
> On Sun, Dec 18, 2016 at 8:21 PM Alessandro De Salvo <
> alessandro.desa...@roma1.infn.it> wrote:
>
> Hi,
> having a 3-node ceph cluster is the bare minimum you can have to make it
> working, unless you want to have just a replica-2 mode, which is not safe.
> It's not true that ceph is not easy to configure, you might use very
> easily ceph-deploy, have puppet configuring it or even run it in
> containers. Using docker is in fact the easiest solution, it really
> requires 10 minutes to make a cluster up. I've tried it both with jewel
> (official containers) and kraken (custom containers), and it works pretty
> well.
> The real problem is not creating and configuring a ceph cluster, but using
> it from ovirt, as it requires cinder, i.e. a minimal setup of openstack. We
> have it and it's working pretty well, but it requires some work. For your
> reference we have cinder running on an ovirt VM using gluster.
> Cheers,
>
>Alessandro
>
> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha
> scritto:
>
>
>
> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel 
> wrote:
>
> ​Dear Team,
>
> We are using Ovirt 4.0 for POC what we are doing I want to check with all
> Guru's Ovirt.
>
> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB
> SSD.
>
> Waht we are done we have install ovirt hyp on these h/w and we have
> physical server where we are running our manager for ovirt. For ovirt hyp
> we are using only one 500GB of one HDD rest we have kept for ceph, so we
> have 3 node as guest running on ovirt and for ceph. My question you all is
> what I am doing is right or wrong.
>
>
> I think Ceph requires a lot more resources than above. It's also a bit
> more challenging to configure. I would highly recommend a 3-node cluster
> with Gluster.
> Y.
>
>
>
> Regards
> Rajat​
>
>
> ___
> 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
>
> --
>
> Sent from my Cell Phone - excuse the typos & auto incorrect
>
-- 

Sent from my Cell Phone - excuse the typos & auto incorrect
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Yaniv Kaul
On Sun, Dec 18, 2016 at 6:21 PM, Alessandro De Salvo <
alessandro.desa...@roma1.infn.it> wrote:

> Hi,
> having a 3-node ceph cluster is the bare minimum you can have to make it
> working, unless you want to have just a replica-2 mode, which is not safe.
>

How well does it perform?


> It's not true that ceph is not easy to configure, you might use very
> easily ceph-deploy, have puppet configuring it or even run it in
> containers. Using docker is in fact the easiest solution, it really
> requires 10 minutes to make a cluster up. I've tried it both with jewel
> (official containers) and kraken (custom containers), and it works pretty
> well.
>

This could be a great blog post in ovirt.org site - care to write something
describing the configuration and setup?
Y.


> The real problem is not creating and configuring a ceph cluster, but using
> it from ovirt, as it requires cinder, i.e. a minimal setup of openstack. We
> have it and it's working pretty well, but it requires some work. For your
> reference we have cinder running on an ovirt VM using gluster.
> Cheers,
>
>Alessandro
>
> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha
> scritto:
>
>
>
> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel 
> wrote:
>
>> ​Dear Team,
>>
>> We are using Ovirt 4.0 for POC what we are doing I want to check with all
>> Guru's Ovirt.
>>
>> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB
>> SSD.
>>
>> Waht we are done we have install ovirt hyp on these h/w and we have
>> physical server where we are running our manager for ovirt. For ovirt hyp
>> we are using only one 500GB of one HDD rest we have kept for ceph, so we
>> have 3 node as guest running on ovirt and for ceph. My question you all is
>> what I am doing is right or wrong.
>>
>
> I think Ceph requires a lot more resources than above. It's also a bit
> more challenging to configure. I would highly recommend a 3-node cluster
> with Gluster.
> Y.
>
>
>>
>> Regards
>> Rajat​
>>
>>
>> ___
>> 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] Unprompted engine VdsDeploy -- updating a package on host?

2016-12-18 Thread Derek Atkins
Created https://bugzilla.redhat.com/show_bug.cgi?id=1405838

Unfortunately the VDSM log rolled over about 36 hours ago so I don't
have the vdsm log from the time this occurred.

-derek

Yaniv Dary  writes:

> Host and engine logs.
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
> On Sun, Dec 18, 2016 at 4:17 PM, Derek Atkins  wrote:
>
> Thanks.
> I'll do that
> What logs should I attach?
>
> -derek
>
> Sent from my mobile device. Please excuse any typos.
>
> - Reply message -
> From: "Yaniv Dary" 
> To: "Derek Atkins" 
> Cc: "users" 
> Subject: [ovirt-users] Unprompted engine VdsDeploy -- updating a package
> on host?
> Date: Sun, Dec 18, 2016 8:38 AM
>
> I don't know. We do not do automatic updates.
> This is even not recommended unless the host is on maintenance.
> You can open a bug and we can have a look.
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
> 
> Tel : +972 (9) 7692306
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
> On Wed, Dec 14, 2016 at 7:45 PM, Derek Atkins  wrote:
>
> Hi,
>
> If it's user-initiated, how do I see who initiated it?  I was in bed
> when
> it happened so I know it wasn't me.  And I don't have any other admin
> users.
>
> Looking in my engine.log file I see:
>
> 2016-12-12 23:16:46,941 INFO
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (DefaultQuartzScheduler9) [4eb758cf] Connected to host HOST.DOM.AIN
> with
> SSH key fingerprint: SHA256:
> 2016-12-12 23:16:47,020 INFO
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (DefaultQuartzScheduler9) [4eb758cf] Installation of HOST.DOM.AIN.
> Executing command via SSH umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}
> "
> mktemp -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >
> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar
> --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-mgmt
> DIALOG/dialect=str:machine DIALOG/customization=bool:True <
> /var/cache/ovirt-engine/ovirt-host-deploy.tar
>
> I can certainly send more than this... But I certainly didn't initiate
> anything at 23:16, and I don't see anything in the event log in the
> UI.  I
> *DO* see "Host has available updates" message in the log from 23:17,
> but
> that doesn't explain why the system would auto-install (or
> auto-update)
> the 'iproute' package??
>
> [host]# tail -f /var/log/yum.log:
> Dec 12 23:17:17 Updated: iproute-3.10.0-74.el7.x86_64
>
> Any ideas?
>
> Thanks,
>
> -derek
>
> On Wed, December 14, 2016 12:25 pm, Yaniv Dary wrote:
> > No updates are run automatically. Is either a user initiate a
> install or
> > upgrade file.
> >
> > Yaniv Dary
> > Technical Product Manager
> > Red Hat Israel Ltd.
> > 34 Jerusalem Road
> > Building A, 4th floor
> > Ra'anana, Israel 4350109
> >
> > Tel : +972 (9) 7692306
> >         8272306
> > Email: yd...@redhat.com
> > IRC : ydary
> >
> > On Dec 13, 2016 17:50, "Derek Atkins"  wrote:
> >
> >> Hi,
> >>
> >> As I was going through my daily logwatch I noticed that a package
> got
> >> updated on my ovirt host last night.  But I know that I didn't do
> that
> >> on my own.  Looking at the logs I tracked it down to the hosted
> engine
> >> running a VdsDeploy process which updated the package on the host. 
> I
> >> know from the timestamp that it wasn't me that initiated that
> action.
> >>
> >> Is the engine supposed to update packages on hosts unprompted like
> that?
> >>
> >> -derek
> >> --
> >>        Derek Atkins                 617-623-3745
> >>        de...@ihtfp.com             www.ihtfp.com
> >>        Computer and Internet Security Consultant
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.phx.ovirt.org/mailman/listinfo/users
> >>
> >
>
> --
>        Derek 

Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Alessandro De Salvo
Hi Rajat,
sorry but I do not really have a clear picture of your actual setup, can you 
please explain a bit more?
In particular:

1) what to you mean by using 4TB for ovirt? In which machines and how do you 
make it available to ovirt?

2) how do you plan to use ceph with ovirt?

I guess we can give more help if you clarify those points.
Thanks,

   Alessandro 

> Il giorno 18 dic 2016, alle ore 17:33, rajatjpatel  ha 
> scritto:
> 
> Great, thanks! Alessandro ++ Yaniv ++ 
> 
> What I want to use around 4 TB of SAS disk for my Ovirt (which going to be 
> RHV4.0.5 once POC get 100% successful, in fact all product will be RH )
> 
> I had done so much duckduckgo for all these solution and use lot of reference 
> from ovirt.org & access.redhat.com for setting up a Ovirt engine and hyp.
> 
> We dont mind having more guest running and creating ceph block storage and 
> which will be presented to ovirt as storage. Gluster is not is use right now 
> bcoz we have DB will be running on guest.
> 
> Regard
> Rajat 
> 
>> On Sun, Dec 18, 2016 at 8:21 PM Alessandro De Salvo 
>>  wrote:
>> Hi,
>> having a 3-node ceph cluster is the bare minimum you can have to make it 
>> working, unless you want to have just a replica-2 mode, which is not safe.
>> It's not true that ceph is not easy to configure, you might use very easily 
>> ceph-deploy, have puppet configuring it or even run it in containers. Using 
>> docker is in fact the easiest solution, it really requires 10 minutes to 
>> make a cluster up. I've tried it both with jewel (official containers) and 
>> kraken (custom containers), and it works pretty well.
>> The real problem is not creating and configuring a ceph cluster, but using 
>> it from ovirt, as it requires cinder, i.e. a minimal setup of openstack. We 
>> have it and it's working pretty well, but it requires some work. For your 
>> reference we have cinder running on an ovirt VM using gluster.
>> Cheers,
>> 
>>Alessandro 
>> 
>>> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha 
>>> scritto:
>>> 
>>> 
>>> 
>>> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel  wrote:
>>> ​Dear Team,
>>> 
>>> We are using Ovirt 4.0 for POC what we are doing I want to check with all 
>>> Guru's Ovirt.
>>> 
>>> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB SSD.
>>> 
>>> Waht we are done we have install ovirt hyp on these h/w and we have 
>>> physical server where we are running our manager for ovirt. For ovirt hyp 
>>> we are using only one 500GB of one HDD rest we have kept for ceph, so we 
>>> have 3 node as guest running on ovirt and for ceph. My question you all is 
>>> what I am doing is right or wrong.
>>> 
>>> I think Ceph requires a lot more resources than above. It's also a bit more 
>>> challenging to configure. I would highly recommend a 3-node cluster with 
>>> Gluster.
>>> Y.
>>>  
>>> 
>>> Regards
>>> Rajat​
>>> 
>>> 
>>> ___
>>> 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
> 
> -- 
> Sent from my Cell Phone - excuse the typos & auto incorrect
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Alessandro De Salvo
Hi Yaniv,

> Il giorno 18 dic 2016, alle ore 17:37, Yaniv Kaul  ha 
> scritto:
> 
> 
> 
>> On Sun, Dec 18, 2016 at 6:21 PM, Alessandro De Salvo 
>>  wrote:
>> Hi,
>> having a 3-node ceph cluster is the bare minimum you can have to make it 
>> working, unless you want to have just a replica-2 mode, which is not safe.
> 
> How well does it perform?

One if the ceph clusters we use had exactly this setup: 3 DELL R630 (ceph 
jewel), 6 1TB NL-SAS disks so 3 mons, 6 osds. We bound the cluster network to a 
dedicated interface, 1Gbps. I can say it works pretty well, the performance 
reaches up to 100MB/s per rbd device, which is the expected maximum for the 
network connection. Resiliency is also pretty good, we can loose 2 osds (I.e. a 
full machine) without impacting on the performance.

>  
>> It's not true that ceph is not easy to configure, you might use very easily 
>> ceph-deploy, have puppet configuring it or even run it in containers. Using 
>> docker is in fact the easiest solution, it really requires 10 minutes to 
>> make a cluster up. I've tried it both with jewel (official containers) and 
>> kraken (custom containers), and it works pretty well.
> 
> This could be a great blog post in ovirt.org site - care to write something 
> describing the configuration and setup?

Oh sure, if it may be of general interest I'll be glad to. How can I do it? :-)
Cheers,

   Alessandro 

> Y.
>  
>> The real problem is not creating and configuring a ceph cluster, but using 
>> it from ovirt, as it requires cinder, i.e. a minimal setup of openstack. We 
>> have it and it's working pretty well, but it requires some work. For your 
>> reference we have cinder running on an ovirt VM using gluster.
>> Cheers,
>> 
>>Alessandro 
>> 
>>> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha 
>>> scritto:
>>> 
>>> 
>>> 
 On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel  wrote:
 ​Dear Team,
 
 We are using Ovirt 4.0 for POC what we are doing I want to check with all 
 Guru's Ovirt.
 
 We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB 
 SSD.
 
 Waht we are done we have install ovirt hyp on these h/w and we have 
 physical server where we are running our manager for ovirt. For ovirt hyp 
 we are using only one 500GB of one HDD rest we have kept for ceph, so we 
 have 3 node as guest running on ovirt and for ceph. My question you all is 
 what I am doing is right or wrong.
>>> 
>>> I think Ceph requires a lot more resources than above. It's also a bit more 
>>> challenging to configure. I would highly recommend a 3-node cluster with 
>>> Gluster.
>>> Y.
>>>  
 
 Regards
 Rajat​
 
 
 ___
 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 & Ceph

2016-12-18 Thread rajatjpatel
Alessandro,

Right now I dont have cinder running in my setup in case if ceph don't work
then I have get one vm running open stack all in one and have all these
disk connect my open stack using cinder I can present storage to my ovirt.

At the same time I not getting case study for the same.

Regards
Rajat

Hi


Regards,
Rajat Patel

http://studyhat.blogspot.com
FIRST THEY IGNORE YOU...
THEN THEY LAUGH AT YOU...
THEN THEY FIGHT YOU...
THEN YOU WIN...


On Sun, Dec 18, 2016 at 9:17 PM, Alessandro De Salvo <
alessandro.desa...@roma1.infn.it> wrote:

> Hi,
> oh, so you have only 2 physical servers? I've understood they were 3!
> Well, in this case ceph would not work very well, too few resources and
> redundancy. You could try a replica 2, but it's not safe. Having a replica
> 3 could be forced, but you would end up with a server with 2 replicas,
> which is dangerous/useless.
> Okay, so you use nfs as storage domain, but in your setup the HA is not
> guaranteed: if a physical machine goes down and it's the one where the
> storage domain resides you are lost. Why not using gluster instead of nfs
> for the ovirt disks? You can still reserve a small gluster space for the
> non-ceph machines (for example a cinder VM) and ceph for the rest. Where do
> you have your cinder running?
> Cheers,
>
> Alessandro
>
> Il giorno 18 dic 2016, alle ore 18:05, rajatjpatel 
> ha scritto:
>
> Hi Alessandro,
>
> Right now I have 2 physical server where I have host ovirt these are HP
> proliant dl 380  each server 1*500GB SAS & 1TB *4 SAS Disk and 1*500GB SSD.
> So right now I have use only one disk which 500GB of SAS for my ovirt to
> run on both server. rest are not in use. At present I am using NFS which
> coming from mapper to ovirt as storage, go forward we like to use all these
> disk as  hyper-converged for ovirt. RH I could see there is KB for using
> gluster. But we are looking for Ceph bcoz best pref romance and scale.
>
> 
> Regards
> Rajat
>
> Hi
>
>
> Regards,
> Rajat Patel
>
> http://studyhat.blogspot.com
> FIRST THEY IGNORE YOU...
> THEN THEY LAUGH AT YOU...
> THEN THEY FIGHT YOU...
> THEN YOU WIN...
>
>
> On Sun, Dec 18, 2016 at 8:49 PM, Alessandro De Salvo <
> alessandro.desa...@roma1.infn.it> wrote:
>
>> Hi Rajat,
>> sorry but I do not really have a clear picture of your actual setup, can
>> you please explain a bit more?
>> In particular:
>>
>> 1) what to you mean by using 4TB for ovirt? In which machines and how do
>> you make it available to ovirt?
>>
>> 2) how do you plan to use ceph with ovirt?
>>
>> I guess we can give more help if you clarify those points.
>> Thanks,
>>
>>Alessandro
>>
>> Il giorno 18 dic 2016, alle ore 17:33, rajatjpatel 
>> ha scritto:
>>
>> Great, thanks! Alessandro ++ Yaniv ++
>>
>> What I want to use around 4 TB of SAS disk for my Ovirt (which going to
>> be RHV4.0.5 once POC get 100% successful, in fact all product will be RH )
>>
>> I had done so much duckduckgo for all these solution and use lot of
>> reference from ovirt.org & access.redhat.com for setting up a Ovirt
>> engine and hyp.
>>
>> We dont mind having more guest running and creating ceph block storage
>> and which will be presented to ovirt as storage. Gluster is not is use
>> right now bcoz we have DB will be running on guest.
>>
>> Regard
>> Rajat
>>
>> On Sun, Dec 18, 2016 at 8:21 PM Alessandro De Salvo <
>> alessandro.desa...@roma1.infn.it> wrote:
>>
>>> Hi,
>>> having a 3-node ceph cluster is the bare minimum you can have to make it
>>> working, unless you want to have just a replica-2 mode, which is not safe.
>>> It's not true that ceph is not easy to configure, you might use very
>>> easily ceph-deploy, have puppet configuring it or even run it in
>>> containers. Using docker is in fact the easiest solution, it really
>>> requires 10 minutes to make a cluster up. I've tried it both with jewel
>>> (official containers) and kraken (custom containers), and it works pretty
>>> well.
>>> The real problem is not creating and configuring a ceph cluster, but
>>> using it from ovirt, as it requires cinder, i.e. a minimal setup of
>>> openstack. We have it and it's working pretty well, but it requires some
>>> work. For your reference we have cinder running on an ovirt VM using
>>> gluster.
>>> Cheers,
>>>
>>>Alessandro
>>>
>>> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha
>>> scritto:
>>>
>>>
>>>
>>> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel 
>>> wrote:
>>>
>>> ​Dear Team,
>>>
>>> We are using Ovirt 4.0 for POC what we are doing I want to check with
>>> all Guru's Ovirt.
>>>
>>> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB
>>> SSD.
>>>
>>> Waht we are done we have install ovirt hyp on these h/w and we have
>>> physical server where we are running our manager for ovirt. For ovirt hyp
>>> we are using only one 500GB of one HDD rest we have kept for ceph, so we
>>> have 3 node as guest 

Re: [ovirt-users] Iso Upload

2016-12-18 Thread Derek Atkins
Gianluca Cecchi  writes:

> Yes thanks, I know it.
> In 4.1 (but it seems to me also in 4.x) it was a matter of seconds after scp,
> but I hoped there would be something smarter and directly usable by the web
> admin GUI...

True, it would be nice to have a web-based "upload file".  It was also
be nice to have a web-based "download from URI" feature, where I can
pass a URL to the web-ui and it would internally run 'curl' (or
whatever) to pull it down.  Maybe an integrated bitorrent client?  :)

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Alessandro De Salvo
Hi,
sorry, forgot to mention you may have both gluster and ceph on the same 
machines, as long as you have enough disk space.
Cheers,

   Alessandro 

> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha 
> scritto:
> 
> 
> 
>> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel  wrote:
>> ​Dear Team,
>> 
>> We are using Ovirt 4.0 for POC what we are doing I want to check with all 
>> Guru's Ovirt.
>> 
>> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB SSD.
>> 
>> Waht we are done we have install ovirt hyp on these h/w and we have physical 
>> server where we are running our manager for ovirt. For ovirt hyp we are 
>> using only one 500GB of one HDD rest we have kept for ceph, so we have 3 
>> node as guest running on ovirt and for ceph. My question you all is what I 
>> am doing is right or wrong.
> 
> I think Ceph requires a lot more resources than above. It's also a bit more 
> challenging to configure. I would highly recommend a 3-node cluster with 
> Gluster.
> Y.
>  
>> 
>> Regards
>> Rajat​
>> 
>> 
>> ___
>> 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 & Ceph

2016-12-18 Thread rajatjpatel
Great, thanks! Alessandro ++ Yaniv ++

What I want to use around 4 TB of SAS disk for my Ovirt (which going to be
RHV4.0.5 once POC get 100% successful, in fact all product will be RH )

I had done so much duckduckgo for all these solution and use lot of
reference from ovirt.org & access.redhat.com for setting up a Ovirt engine
and hyp.

We dont mind having more guest running and creating ceph block storage and
which will be presented to ovirt as storage. Gluster is not is use right
now bcoz we have DB will be running on guest.

Regard
Rajat

On Sun, Dec 18, 2016 at 8:21 PM Alessandro De Salvo <
alessandro.desa...@roma1.infn.it> wrote:

> Hi,
> having a 3-node ceph cluster is the bare minimum you can have to make it
> working, unless you want to have just a replica-2 mode, which is not safe.
> It's not true that ceph is not easy to configure, you might use very
> easily ceph-deploy, have puppet configuring it or even run it in
> containers. Using docker is in fact the easiest solution, it really
> requires 10 minutes to make a cluster up. I've tried it both with jewel
> (official containers) and kraken (custom containers), and it works pretty
> well.
> The real problem is not creating and configuring a ceph cluster, but using
> it from ovirt, as it requires cinder, i.e. a minimal setup of openstack. We
> have it and it's working pretty well, but it requires some work. For your
> reference we have cinder running on an ovirt VM using gluster.
> Cheers,
>
>Alessandro
>
> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha
> scritto:
>
>
>
> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel 
> wrote:
>
> ​Dear Team,
>
> We are using Ovirt 4.0 for POC what we are doing I want to check with all
> Guru's Ovirt.
>
> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB
> SSD.
>
> Waht we are done we have install ovirt hyp on these h/w and we have
> physical server where we are running our manager for ovirt. For ovirt hyp
> we are using only one 500GB of one HDD rest we have kept for ceph, so we
> have 3 node as guest running on ovirt and for ceph. My question you all is
> what I am doing is right or wrong.
>
>
> I think Ceph requires a lot more resources than above. It's also a bit
> more challenging to configure. I would highly recommend a 3-node cluster
> with Gluster.
> Y.
>
>
>
> Regards
> Rajat​
>
>
> ___
> 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
>
> --

Sent from my Cell Phone - excuse the typos & auto incorrect
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Python SDK .remove() does not return True?

2016-12-18 Thread Juan Hernández
On 12/18/2016 05:32 PM, Yaniv Kaul wrote:
> I'd expect, like other actions, add() for example, that I can ensure
> .remove() (for clusters, DCs, etc.) will return True as a sign for success.
> Is that a bug or a design choice?
> TIA,
> Y.
> 

It is by design. The method returns nothing, because in HTTP the DELETE
method doesn't receive or return a body: it only returns the HTTP status
code. In the SDK, success HTTP status code results in returning nothing,
and failures result in throwing an exception. So, if the methods doesn't
throw an exception then you can assume that it worked successfully.

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


Re: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on host?

2016-12-18 Thread Derek Atkins
By host just vdsm?  Or something else?
Thanks.

-derek

Sent from my mobile device. Please excuse any typos.

- Reply message -
From: "Yaniv Dary" 
To: "Derek Atkins" 
Cc: "users" 
Subject: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on 
host?
Date: Sun, Dec 18, 2016 10:31 AM

Host and engine logs.
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary





On Sun, Dec 18, 2016 at 4:17 PM, Derek Atkins  wrote:

Thanks.
I'll do that
What logs should I attach?

-derek

Sent from my mobile device. Please excuse any typos.




- Reply message -
From: "Yaniv Dary" 
To: "Derek Atkins" 
Cc: "users" 
Subject: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on 
host?
Date: Sun, Dec 18, 2016 8:38 AM


I don't know. We do not do automatic updates.This is even not recommended 
unless the host is on maintenance.
You can open a bug and we can have a look.
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary





On Wed, Dec 14, 2016 at 7:45 PM, Derek Atkins  wrote:
Hi,



If it's user-initiated, how do I see who initiated it?  I was in bed when

it happened so I know it wasn't me.  And I don't have any other admin

users.



Looking in my engine.log file I see:



2016-12-12 23:16:46,941 INFO

[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]

(DefaultQuartzScheduler9) [4eb758cf] Connected to host HOST.DOM.AIN with

SSH key fingerprint: SHA256:

2016-12-12 23:16:47,020 INFO

[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]

(DefaultQuartzScheduler9) [4eb758cf] Installation of HOST.DOM.AIN.

Executing command via SSH umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}"

mktemp -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >

/dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar

--warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-mgmt

DIALOG/dialect=str:machine DIALOG/customization=bool:True <

/var/cache/ovirt-engine/ovirt-host-deploy.tar



I can certainly send more than this... But I certainly didn't initiate

anything at 23:16, and I don't see anything in the event log in the UI.  I

*DO* see "Host has available updates" message in the log from 23:17, but

that doesn't explain why the system would auto-install (or auto-update)

the 'iproute' package??



[host]# tail -f /var/log/yum.log:

Dec 12 23:17:17 Updated: iproute-3.10.0-74.el7.x86_64



Any ideas?



Thanks,



-derek



On Wed, December 14, 2016 12:25 pm, Yaniv Dary wrote:

> No updates are run automatically. Is either a user initiate a install or

> upgrade file.

>

> Yaniv Dary

> Technical Product Manager

> Red Hat Israel Ltd.

> 34 Jerusalem Road

> Building A, 4th floor

> Ra'anana, Israel 4350109

>

> Tel : +972 (9) 7692306

>         8272306

> Email: yd...@redhat.com

> IRC : ydary

>

> On Dec 13, 2016 17:50, "Derek Atkins"  wrote:

>

>> Hi,

>>

>> As I was going through my daily logwatch I noticed that a package got

>> updated on my ovirt host last night.  But I know that I didn't do that

>> on my own.  Looking at the logs I tracked it down to the hosted engine

>> running a VdsDeploy process which updated the package on the host.  I

>> know from the timestamp that it wasn't me that initiated that action.

>>

>> Is the engine supposed to update packages on hosts unprompted like that?

>>

>> -derek

>> --

>>        Derek Atkins                 617-623-3745

>>        de...@ihtfp.com             www.ihtfp.com

>>        Computer and Internet Security Consultant

>> ___

>> Users mailing list

>> Users@ovirt.org

>> http://lists.phx.ovirt.org/mailman/listinfo/users

>>

>





--

       Derek Atkins                 617-623-3745

       de...@ihtfp.com             www.ihtfp.com

       Computer and Internet Security Consultant___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Alessandro De Salvo
Hi,
having a 3-node ceph cluster is the bare minimum you can have to make it 
working, unless you want to have just a replica-2 mode, which is not safe.
It's not true that ceph is not easy to configure, you might use very easily 
ceph-deploy, have puppet configuring it or even run it in containers. Using 
docker is in fact the easiest solution, it really requires 10 minutes to make a 
cluster up. I've tried it both with jewel (official containers) and kraken 
(custom containers), and it works pretty well.
The real problem is not creating and configuring a ceph cluster, but using it 
from ovirt, as it requires cinder, i.e. a minimal setup of openstack. We have 
it and it's working pretty well, but it requires some work. For your reference 
we have cinder running on an ovirt VM using gluster.
Cheers,

   Alessandro 

> Il giorno 18 dic 2016, alle ore 17:07, Yaniv Kaul  ha 
> scritto:
> 
> 
> 
>> On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel  wrote:
>> ​Dear Team,
>> 
>> We are using Ovirt 4.0 for POC what we are doing I want to check with all 
>> Guru's Ovirt.
>> 
>> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB SSD.
>> 
>> Waht we are done we have install ovirt hyp on these h/w and we have physical 
>> server where we are running our manager for ovirt. For ovirt hyp we are 
>> using only one 500GB of one HDD rest we have kept for ceph, so we have 3 
>> node as guest running on ovirt and for ceph. My question you all is what I 
>> am doing is right or wrong.
> 
> I think Ceph requires a lot more resources than above. It's also a bit more 
> challenging to configure. I would highly recommend a 3-node cluster with 
> Gluster.
> Y.
>  
>> 
>> Regards
>> Rajat​
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt Host Installation Problem.

2016-12-18 Thread GTC R
Hi,

I have installed oVirtEngine on CentOS and running Node through virt
manager. I am trying to link node to the engine, but its giving the
following error

Host oVirtHost installation failed. Command returned failure code 1 during
SSH session 'root@192.168.122.116'.

I checked for detailed log on  /var/log/ovirt-engine/engine.log. Its
showing the following error:

2016-12-18 13:36:00,632 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom
Event ID: -1, Message: Installing Host oVirtHost. Stage: Environment
packages setup.
2016-12-18 13:36:00,720 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom
Event ID: -1, Message: Failed to install Host oVirtHost. Yum Cannot queue
package iproute: Cannot find a valid baseurl for repo: ovirt-4.0/7.
2016-12-18 13:36:00,725 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom
Event ID: -1, Message: Failed to install Host oVirtHost. Failed to execute
stage 'Environment packages setup': Cannot find a valid baseurl for repo:
ovirt-4.0/7.
2016-12-18 13:36:00,731 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom
Event ID: -1, Message: Installing Host oVirtHost. Yum Performing yum
transaction rollback.
2016-12-18 13:36:00,756 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom
Event ID: -1, Message: Installing Host oVirtHost. Stage: Pre-termination.
2016-12-18 13:36:00,789 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom
Event ID: -1, Message: Installing Host oVirtHost. Retrieving installation
logs to:
'/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20161218133600-192.168.122.116-1d3c6f4e.log'.
2016-12-18 13:36:00,872 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom
Event ID: -1, Message: Installing Host oVirtHost. Stage: Termination.
2016-12-18 13:36:00,918 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
(org.ovirt.thread.pool-6-thread-1) [1d3c6f4e] SSH error running command
root@192.168.122.116:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp
-d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null
2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp
-C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy
DIALOG/dialect=str:machine DIALOG/customization=bool:True': Command
returned failure code 1 during SSH session 'root@192.168.122.116'
2016-12-18 13:36:00,918 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
(org.ovirt.thread.pool-6-thread-1) [1d3c6f4e] Exception:
java.io.IOException: Command returned failure code 1 during SSH session '
root@192.168.122.116'
at
org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:526)
[uutils.jar:]
at
org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
[uutils.jar:]
at
org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBase.java:563)
[bll.jar:]
at
org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:168)
[bll.jar:]
at
org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:89)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1305)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1447)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2075)
[bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:166)
[utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105)
[utils.jar:]
at
org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1490)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:398)
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:493)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:475) [bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:670)
[bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.8.0_111]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[rt.jar:1.8.0_111]
at

[ovirt-users] Ovirt & Ceph

2016-12-18 Thread rajatjpatel
​Dear Team,

We are using Ovirt 4.0 for POC what we are doing I want to check with all
Guru's Ovirt.

We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB SSD.

Waht we are done we have install ovirt hyp on these h/w and we have
physical server where we are running our manager for ovirt. For ovirt hyp
we are using only one 500GB of one HDD rest we have kept for ceph, so we
have 3 node as guest running on ovirt and for ceph. My question you all is
what I am doing is right or wrong.

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


Re: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on host?

2016-12-18 Thread Yaniv Dary
You can log collect to make sure we have everything we need.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Sun, Dec 18, 2016 at 5:51 PM, Derek Atkins  wrote:

> By host just vdsm?  Or something else?
> Thanks.
>
> -derek
>
> Sent from my mobile device. Please excuse any typos.
>
> - Reply message -
> From: "Yaniv Dary" 
> To: "Derek Atkins" 
> Cc: "users" 
> Subject: [ovirt-users] Unprompted engine VdsDeploy -- updating a package
> on host?
> Date: Sun, Dec 18, 2016 10:31 AM
>
> Host and engine logs.
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306 <+972%209-769-2306>
> 8272306
> Email: yd...@redhat.com
> IRC : ydary
>
>
> On Sun, Dec 18, 2016 at 4:17 PM, Derek Atkins  wrote:
>
>> Thanks.
>> I'll do that
>> What logs should I attach?
>>
>> -derek
>>
>> Sent from my mobile device. Please excuse any typos.
>>
>> - Reply message -
>> From: "Yaniv Dary" 
>> To: "Derek Atkins" 
>> Cc: "users" 
>> Subject: [ovirt-users] Unprompted engine VdsDeploy -- updating a package
>> on host?
>> Date: Sun, Dec 18, 2016 8:38 AM
>>
>> I don't know. We do not do automatic updates.
>> This is even not recommended unless the host is on maintenance.
>> You can open a bug and we can have a look.
>>
>> Yaniv Dary
>> Technical Product Manager
>> Red Hat Israel Ltd.
>> 34 Jerusalem Road
>> Building A, 4th floor
>> Ra'anana, Israel 4350109
>>
>> Tel : +972 (9) 7692306 <+972%209-769-2306>
>> 8272306
>> Email: yd...@redhat.com
>> IRC : ydary
>>
>>
>> On Wed, Dec 14, 2016 at 7:45 PM, Derek Atkins  wrote:
>>
>>> Hi,
>>>
>>> If it's user-initiated, how do I see who initiated it?  I was in bed when
>>> it happened so I know it wasn't me.  And I don't have any other admin
>>> users.
>>>
>>> Looking in my engine.log file I see:
>>>
>>> 2016-12-12 23:16:46,941 INFO
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
>>> (DefaultQuartzScheduler9) [4eb758cf] Connected to host HOST.DOM.AIN with
>>> SSH key fingerprint: SHA256:
>>> 2016-12-12 23:16:47,020 INFO
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
>>> (DefaultQuartzScheduler9) [4eb758cf] Installation of HOST.DOM.AIN.
>>> Executing command via SSH umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}"
>>> mktemp -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >
>>> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar
>>> --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-mgmt
>>> DIALOG/dialect=str:machine DIALOG/customization=bool:True <
>>> /var/cache/ovirt-engine/ovirt-host-deploy.tar
>>>
>>> I can certainly send more than this... But I certainly didn't initiate
>>> anything at 23:16, and I don't see anything in the event log in the UI.
>>> I
>>> *DO* see "Host has available updates" message in the log from 23:17, but
>>> that doesn't explain why the system would auto-install (or auto-update)
>>> the 'iproute' package??
>>>
>>> [host]# tail -f /var/log/yum.log:
>>> Dec 12 23:17:17 Updated: iproute-3.10.0-74.el7.x86_64
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>>
>>> -derek
>>>
>>> On Wed, December 14, 2016 12:25 pm, Yaniv Dary wrote:
>>> > No updates are run automatically. Is either a user initiate a install
>>> or
>>> > upgrade file.
>>> >
>>> > Yaniv Dary
>>> > Technical Product Manager
>>> > Red Hat Israel Ltd.
>>> > 34 Jerusalem Road
>>> > Building A, 4th floor
>>> > Ra'anana, Israel 4350109
>>> >
>>> > Tel : +972 (9) 7692306
>>> > 8272306
>>> > Email: yd...@redhat.com
>>> > IRC : ydary
>>> >
>>> > On Dec 13, 2016 17:50, "Derek Atkins"  wrote:
>>> >
>>> >> Hi,
>>> >>
>>> >> As I was going through my daily logwatch I noticed that a package got
>>> >> updated on my ovirt host last night.  But I know that I didn't do that
>>> >> on my own.  Looking at the logs I tracked it down to the hosted engine
>>> >> running a VdsDeploy process which updated the package on the host.  I
>>> >> know from the timestamp that it wasn't me that initiated that action.
>>> >>
>>> >> Is the engine supposed to update packages on hosts unprompted like
>>> that?
>>> >>
>>> >> -derek
>>> >> --
>>> >>Derek Atkins 617-623-3745
>>> >>de...@ihtfp.com www.ihtfp.com
>>> >>Computer and Internet Security Consultant
>>> >> ___
>>> >> Users mailing list
>>> >> Users@ovirt.org
>>> >> http://lists.phx.ovirt.org/mailman/listinfo/users
>>> >>
>>> >
>>>
>>>
>>> --
>>>Derek Atkins 617-623-3745
>>>de...@ihtfp.com www.ihtfp.com
>>>Computer and Internet Security Consultant

Re: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on host?

2016-12-18 Thread Derek Atkins
Thanks.
I'll do that
What logs should I attach?

-derek

Sent from my mobile device. Please excuse any typos.

- Reply message -
From: "Yaniv Dary" 
To: "Derek Atkins" 
Cc: "users" 
Subject: [ovirt-users] Unprompted engine VdsDeploy -- updating a package on 
host?
Date: Sun, Dec 18, 2016 8:38 AM

I don't know. We do not do automatic updates.This is even not recommended 
unless the host is on maintenance.
You can open a bug and we can have a look.
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary





On Wed, Dec 14, 2016 at 7:45 PM, Derek Atkins  wrote:
Hi,



If it's user-initiated, how do I see who initiated it?  I was in bed when

it happened so I know it wasn't me.  And I don't have any other admin

users.



Looking in my engine.log file I see:



2016-12-12 23:16:46,941 INFO

[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]

(DefaultQuartzScheduler9) [4eb758cf] Connected to host HOST.DOM.AIN with

SSH key fingerprint: SHA256:

2016-12-12 23:16:47,020 INFO

[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]

(DefaultQuartzScheduler9) [4eb758cf] Installation of HOST.DOM.AIN.

Executing command via SSH umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}"

mktemp -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >

/dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar

--warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-mgmt

DIALOG/dialect=str:machine DIALOG/customization=bool:True <

/var/cache/ovirt-engine/ovirt-host-deploy.tar



I can certainly send more than this... But I certainly didn't initiate

anything at 23:16, and I don't see anything in the event log in the UI.  I

*DO* see "Host has available updates" message in the log from 23:17, but

that doesn't explain why the system would auto-install (or auto-update)

the 'iproute' package??



[host]# tail -f /var/log/yum.log:

Dec 12 23:17:17 Updated: iproute-3.10.0-74.el7.x86_64



Any ideas?



Thanks,



-derek



On Wed, December 14, 2016 12:25 pm, Yaniv Dary wrote:

> No updates are run automatically. Is either a user initiate a install or

> upgrade file.

>

> Yaniv Dary

> Technical Product Manager

> Red Hat Israel Ltd.

> 34 Jerusalem Road

> Building A, 4th floor

> Ra'anana, Israel 4350109

>

> Tel : +972 (9) 7692306

>         8272306

> Email: yd...@redhat.com

> IRC : ydary

>

> On Dec 13, 2016 17:50, "Derek Atkins"  wrote:

>

>> Hi,

>>

>> As I was going through my daily logwatch I noticed that a package got

>> updated on my ovirt host last night.  But I know that I didn't do that

>> on my own.  Looking at the logs I tracked it down to the hosted engine

>> running a VdsDeploy process which updated the package on the host.  I

>> know from the timestamp that it wasn't me that initiated that action.

>>

>> Is the engine supposed to update packages on hosts unprompted like that?

>>

>> -derek

>> --

>>        Derek Atkins                 617-623-3745

>>        de...@ihtfp.com             www.ihtfp.com

>>        Computer and Internet Security Consultant

>> ___

>> Users mailing list

>> Users@ovirt.org

>> http://lists.phx.ovirt.org/mailman/listinfo/users

>>

>





--

       Derek Atkins                 617-623-3745

       de...@ihtfp.com             www.ihtfp.com

       Computer and Internet Security Consultant___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Import Fails

2016-12-18 Thread Yaniv Dary
Can you please attach the engine logs?

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Fri, Dec 16, 2016 at 2:06 AM, Gary Pedretty  wrote:

> I cannot seem to get a VM to import.  It was exported first to an export
> domain and shows up in the list of VMs on the domain when starting the
> import process, but when you get to the last dialog that should start the
> import you simply get an error message “Cannot import the VM.  VM’s Image
> does not exist.  No related event is logged in the overall event log when
> this happens.   Does not matter what data storage domain you pick for the
> new VM.
>
>
> Gary
>
> 
> Gary Pedrettyg...@ravnalaska.net
> 
> Systems Manager  www.flyravn.com
> Ravn Alaska   /\907-450-7251
> <(907)%20450-7251>
> 5245 Airport Industrial Road /  \/\ 907-450-7238
> <(907)%20450-7238> fax
> Fairbanks, Alaska  99709/\  /\ \ Second greatest commandment
> Serving All of Alaska  /  \/  /\  \ \/\   “Love your neighbor as
> Really loving the record green up date! Summmer!!   yourself” Matt 22:39
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> 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] Cumulus Switch

2016-12-18 Thread Yaniv Dary
You can read on the external provider design in:
http://www.ovirt.org/develop/release-management/features/external-network-provider/
You can also start a project to integrate this software to oVirt with the
refrence in:
https://github.com/mmirecki/ovirt-provider-mock

Patches are welcome!

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Thu, Dec 15, 2016 at 10:07 PM, Matt Wells 
wrote:

> I've seen some of the cool stuff coming with OVN and even a co-worker has
> done some great things with it.  However I was wondering if anyone had
> experience with Cumulus as the external provider for networks.
> It's just a "weekend project" I'm picking up and thought to ask on the
> list.  I've not found other posts on it yet but will continue to look.
> I've just made a fresh lab with the latest and greatest oVirt on CentOS 7.
> Thanks to all and a happy holiday season ( if you're into the holiday
> thing ).
> :-)
>
> ___
> 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 Host Installation Problem.

2016-12-18 Thread Yaniv Kaul
On Sun, Dec 18, 2016 at 3:55 PM, GTC R 
wrote:

> Hi,
>
> I have installed oVirtEngine on CentOS and running Node through virt
> manager. I am trying to link node to the engine, but its giving the
> following error
>

Why are you using virt-manager?


>
> Host oVirtHost installation failed. Command returned failure code 1 during
> SSH session 'root@192.168.122.116'.
>
> I checked for detailed log on  /var/log/ovirt-engine/engine.log. Its
> showing the following error:
>
> 2016-12-18 13:36:00,632 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e]
> Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message:
> Installing Host oVirtHost. Stage: Environment packages setup.
> 2016-12-18 13:36:00,720 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e]
> Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message:
> Failed to install Host oVirtHost. Yum Cannot queue package iproute: Cannot
> find a valid baseurl for repo: ovirt-4.0/7.
>

This is the problem: Cannot find a valid baseurl for repo: ovirt-4.0/7

Y.


> 2016-12-18 13:36:00,725 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e]
> Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message:
> Failed to install Host oVirtHost. Failed to execute stage 'Environment
> packages setup': Cannot find a valid baseurl for repo: ovirt-4.0/7.
> 2016-12-18 13:36:00,731 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e]
> Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message:
> Installing Host oVirtHost. Yum Performing yum transaction rollback.
> 2016-12-18 13:36:00,756 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e]
> Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message:
> Installing Host oVirtHost. Stage: Pre-termination.
> 2016-12-18 13:36:00,789 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e]
> Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message:
> Installing Host oVirtHost. Retrieving installation logs to:
> '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-
> 20161218133600-192.168.122.116-1d3c6f4e.log'.
> 2016-12-18 13:36:00,872 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e]
> Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message:
> Installing Host oVirtHost. Stage: Termination.
> 2016-12-18 13:36:00,918 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (org.ovirt.thread.pool-6-thread-1) [1d3c6f4e] SSH error running command
> root@192.168.122.116:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}"
> mktemp -d -t ovirt-XX)"; trap "chmod -R u+rwX \"${MYTMP}\" >
> /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar
> --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy
> DIALOG/dialect=str:machine DIALOG/customization=bool:True': Command
> returned failure code 1 during SSH session 'root@192.168.122.116'
> 2016-12-18 13:36:00,918 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (org.ovirt.thread.pool-6-thread-1) [1d3c6f4e] Exception:
> java.io.IOException: Command returned failure code 1 during SSH session '
> root@192.168.122.116'
> at 
> org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:526)
> [uutils.jar:]
> at 
> org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
> [uutils.jar:]
> at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.
> execute(VdsDeployBase.java:563) [bll.jar:]
> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.
> installHost(InstallVdsInternalCommand.java:168) [bll.jar:]
> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.
> executeCommand(InstallVdsInternalCommand.java:89) [bll.jar:]
> at org.ovirt.engine.core.bll.CommandBase.
> executeWithoutTransaction(CommandBase.java:1305) [bll.jar:]
> at org.ovirt.engine.core.bll.CommandBase.
> executeActionInTransactionScope(CommandBase.java:1447) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2075)
> [bll.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInSuppressed(TransactionSupport.java:166) [utils.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInScope(TransactionSupport.java:105) [utils.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1490)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:398)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:493)
> 

Re: [ovirt-users] Ovirt & Ceph

2016-12-18 Thread Yaniv Kaul
On Sun, Dec 18, 2016 at 3:29 PM, rajatjpatel  wrote:

> ​Dear Team,
>
> We are using Ovirt 4.0 for POC what we are doing I want to check with all
> Guru's Ovirt.
>
> We have 2 hp proliant dl 380 with 500GB SAS & 1TB *4 SAS Disk and 500GB
> SSD.
>
> Waht we are done we have install ovirt hyp on these h/w and we have
> physical server where we are running our manager for ovirt. For ovirt hyp
> we are using only one 500GB of one HDD rest we have kept for ceph, so we
> have 3 node as guest running on ovirt and for ceph. My question you all is
> what I am doing is right or wrong.
>

I think Ceph requires a lot more resources than above. It's also a bit more
challenging to configure. I would highly recommend a 3-node cluster with
Gluster.
Y.


>
> Regards
> Rajat​
>
>
> ___
> 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 multiips hook

2016-12-18 Thread Dan Kenigsberg
On Dec 15, 2016 22:40, "Bill Bill"  wrote:

Hello,



Following up on the users list as opposed to Bugzilla.



Thanks for helping out with this, much appreciated. I was able to get the
custom property added in the engine & I can select the property, then enter
in the IP’s.



I’m not sure if I created the hook correctly, as it doesn’t appear to have
made any changes so far, only one IP communicates.



I created a file called “multiips” in the
/usr/libexec/vdsm/hooks/before_vm_start/
directory containing the info from the Bugzilla thread.



Is there another step I should take or perhaps I’m missing something?

It should have been enough, but apparently something's missing.

Is the multiip script readable and executable?

Do you see any errors in vdsm.log when you start the VM?

Do you see the requested ips in the output of

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


Re: [ovirt-users] gluster command failed

2016-12-18 Thread Sahina Bose
On Fri, Dec 16, 2016 at 11:00 PM, Nathanaël Blanchet 
wrote:

>
>
> Le 16/12/2016 à 16:34, Sahina Bose a écrit :
>
> Failed to find host 'Host[guadalupe1,7a30c899-a317-479a-b07b-244bc2374485]'
> in gluster peer list from 
> 'Host[guadalupe1,7a30c899-a317-479a-b07b-244bc2374485]'
> on attempt 2
> It looks the gluster uuid  saved in the ovirt engine db does not match the
> one returned from CLI
>
> Was this host reinstalled?
> You may need to remove host from engine and add it again. If that doesn't
> work you may need to manually change the uuid value in the database
> (gluster_server table)
>
> Removing host did nothing, indeed I had to go to the gluster_server table
> to remove any disconnected host uuid, but it was not enough. Then I had
> then to remove the host and reinstall it as a new host.
> Thank you, I've been spending a lot of time to solve this issue.
>

Sorry to hear that you had trouble with this. Could you explain a bit on
how you got into this state?

Was it because you re-provisioned one of the gluster nodes and the gluster
UUID was reset (without oVirt being aware of it?). Would like to either
fix/enhance the engine to handle this if it's a common enough use-case


>
>
> On Fri, Dec 16, 2016 at 7:00 PM, Nathanaël Blanchet < 
> blanc...@abes.fr> wrote:
>
>> extract of the last engine logs, thank you
>>
>>
>> Le 16/12/2016 à 14:02, Sahina Bose a écrit :
>>
>> Could you attach the engine log with this error?
>>
>> On Fri, Dec 16, 2016 at 4:29 PM, Nathanaël Blanchet < 
>> blanc...@abes.fr> wrote:
>>
>>> Hi,
>>>
>>> I used to successfully run a replica 3 gluster volume, but since the
>>> last 4.0.5 update, they can't connect each other with the message : gluster
>>> [gluster peer status guadalupe1.v100.abes.fr] command failed on server
>>> guadalupe2.v100.abes.fr.
>>>
>>> So host guadalupe1 can't never be up.
>>>
>>> When doing gluster peer probe, they are connected as expected. I
>>> reinstalled vdsm and gluster, but it is still the same.
>>>
>>> I found this on guadalupe2 supervdsm.log
>>>
>>> MainProcess|jsonrpc.Executor/6::DEBUG::2016-12-16
>>> 11:53:21,429::supervdsmServer::99::SuperVdsm.ServerCallback::(wrapper)
>>> return peerStatus with [{'status': 'CONNECTED', 'hostname': '
>>> 10.34.101.56/24', 'uuid': 'c259c09b-8d7c-4b12-8745-677199877583'},
>>> {'status': 'CONNECTED', 'hostname': 'guadalupe3.v100.abes.fr', 'uuid':
>>> '6af67cd3-7931-446d-aaa2-ffea51325adc'}, {'status': 'CONNECTED',
>>> 'hostname': 'guadalupe1.v100.abes.fr', 'uuid':
>>> '8eb485cd-31c4-4c3a-a315-3dc6d3ddc0c9'}]
>>> MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16
>>> 11:53:21,490::supervdsmServer::92::SuperVdsm.ServerCallback::(wrapper)
>>> call peerProbe with () {}
>>> MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16
>>> 11:53:21,491::commands::68::root::(execCmd) /usr/bin/taskset --cpu-list
>>> 0-63 /usr/sbin/gluster --mode=script peer probe guadalupe1.v100.abes.fr
>>> --xml (cwd None)
>>> MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16
>>> 11:53:21,570::commands::86::root::(execCmd) SUCCESS:  = '';  =
>>> 0
>>> MainProcess|jsonrpc.Executor/7::DEBUG::2016-12-16
>>> 11:53:21,570::supervdsmServer::99::SuperVdsm.ServerCallback::(wrapper)
>>> return peerProbe with True
>>>
>>> We can see guadalupe2 can see guadalupe1 but taskset still executes peer
>>> probe to guadalupe1 with message "Host guadalupe1.v100.abes.fr port
>>> 24007 already in peer list"
>>>
>>> How can I say to guadalupe2 stop trying to probe guadalupe1?
>>>
>>>
>>> --
>>> Nathanaël Blanchet
>>>
>>> Supervision réseau
>>> Pôle Infrastrutures Informatiques
>>> 227 avenue Professeur-Jean-Louis-Viala
>>> 34193 MONTPELLIER CEDEX 5
>>> Tél. 33 (0)4 67 54 84 55
>>> Fax  33 (0)4 67 54 84 14
>>> blanc...@abes.fr
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users