Re: [ovirt-users] Storage network clarification

2016-01-18 Thread Nicolas Ecarnot

Hi Sahina,

Le 19/01/2016 07:02, Sahina Bose a écrit :

The steps to make sure gluster uses separate network for data traffic :

1. Create a logical network (non-VM), and mark it's role as "Gluster"
2. After adding the host via the ovirtmgmt hostname/ ip address, assign
this gluster network to your interface (with the storage sub-net)
  This step will initiate a peer probe of the host with this additonal
ip address.

3. When creating a volume after an interface/bond is tagged with gluster
network, the bricks are added using the gluster n/w's ip address. Now
when clients connect to the volume, traffic is routed via your gluster
network that's used by bricks.


Does that mean that there's no way to reach this goal with an existing 
volume, previously created, and that was (alas) using the management 
network?


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


Re: [ovirt-users] Storage network clarification

2016-01-18 Thread Sahina Bose



On 01/18/2016 07:26 PM, Fil Di Noto wrote:

I'm having trouble setting up a dedicated storage network.

I have a separate VLAN designated for storage, and configured separate
IP addresses for each host that correspond to that subnet. I have
tested this subnet extensively and it is working as expected.

Prior to adding the hosts, I configured a storage network and
configured the cluster to use that network for storage and not the
ovirtmgmt network. I was hopping that this would be recognized when
the hosts were added but it was not. I had to actually reconfigure the
storage VLAN interface via oVirt "manage host networks" just to bring
the host networks into compliance. The IP is configured directly on
the bond0., not on a bridge interface which I assume is
correct since it is not a "VM" network.

In this setup I was not able to activate any of the hosts due to VDSM
gluster errors, I think it was because VDSM was trying to use the
hostname/IP of the ovirtmgmt network. I manually set up the peers
using "gluster peer probe" and I was able to activate the hosts but
they were not using the storage network (tcpdump). I also tried adding
DNS records for the storage network interfaces using different
hostnames but gluster seemed to still consider the ovirtmgmt interface
as the primary.

With the hosts active, I couldn't create/activate any volumes until I
changed the cluster network settings to use the ovirtmgmt network for
storage. I ended up abandoning the dedicated storage subnet for the
time being and I'm starting to wonder if running virtualization and
gluster on the same hosts is intended to work this way.

Assuming that it should work, what is the correct way to configure it?
I can't find any docs that go in detail about storage networks. Is
reverse DNS a factor? If I had a better understanding of what oVirt is
expecting to see that would be helpful.



The steps to make sure gluster uses separate network for data traffic :

1. Create a logical network (non-VM), and mark it's role as "Gluster"
2. After adding the host via the ovirtmgmt hostname/ ip address, assign 
this gluster network to your interface (with the storage sub-net)
 This step will initiate a peer probe of the host with this additonal 
ip address.


3. When creating a volume after an interface/bond is tagged with gluster 
network, the bricks are added using the gluster n/w's ip address. Now 
when clients connect to the volume, traffic is routed via your gluster 
network that's used by bricks.


What were the vdsm gluster errors when you activated the gluster hosts?
Could you attach the earlier vdsm log?



___
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] have to run gluster peer detach to remove a host form a gluster cluster.

2016-01-18 Thread Sahina Bose



On 01/18/2016 03:37 PM, Nathanaël Blanchet wrote:
Sorry, I'm only able to provide engine.log, because the host has 
already been resintalled.

Thank you.


Was the host that you were trying to remove, "khamsin" correspond to 
10.34.100.41 ? (10.34.100.41 is reported as DISCONNECTED in gluster peer 
list)


From engine logs, beyond the fact that there was an error in peer 
detaching this host (peer detach was tried on host zonda), there's no 
further info. Unfortunately, we would need vdsm/gluster logs from host 
zonda to analyse further.




Le 18/01/2016 09:34, Sahina Bose a écrit :
It does look like one. Could you attach engine log and vdsm logs from 
the server where engine issued the peer detach?


On 01/15/2016 09:28 PM, Nathanaël Blanchet wrote:



Hi all,

When I want to remove an host from a gluster cluster, engines tells me
that it fails to remove the host.
Once I run a manual gluster peer detach , then the host is
successfully removed.
It seems to be bug, doesn't it?







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


Re: [ovirt-users] ovirt-host-deploy PKI

2016-01-18 Thread Jaicel



If the engine wasn't able to copy back host-deploy logs, you can also find them 
under /tmp/ on the host. 
Can you please try to look for them and attach here? 



i've checked the /tmp directory on the host but no host-deploy logs created 
there during the host installation on ovirt manager yesterday. 

Thanks, 
Jaicel 


From: "Simone Tiraboschi"  
To: "jaicel"  
Cc: "users"  
Sent: Monday, January 18, 2016 10:06:22 PM 
Subject: Re: [ovirt-users] ovirt-host-deploy PKI 


On Mon, Jan 18, 2016 at 8:20 AM, Jaicel < jai...@asti.dost.gov.ph > wrote: 

BQ_BEGIN
2016-01-18 14:59:25,321 INFO [org.ovirt.engine.core.uutils.ssh.SSHDialog] 
(org.ovirt.thread.pool-8-thread-31) SSH execute root@192.168.208.21 '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}"/setup 
DIALOG/dialect=str:machine DIALOG/customization=bool:True' 
2016-01-18 15:09:25,323 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) 
Error during deploy dialog: java.io.IOException: Unexpected connection 
termination 
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:388)
 [otopi.jar:] 
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
 [otopi.jar:] 
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821) 
[bll.jar:] 
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) 
[bll.jar:] 
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:] 
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79] 
BQ_END


Hello Jaicel, 
the engine was correctly able to connect once to the host at 2016-01-18 
14:59:25,321 but then the SSH connection got dropped at 2016-01-18 15:09:25,323 
and the engine wasn't able to reconnect so something strange is happened is 
probably happened at network level. 
If the engine wasn't able to copy back host-deploy logs, you can also find them 
under /tmp/ on the host. 
Can you please try to look for them and attach here? 

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


Re: [ovirt-users] [BUG] Cannot remove quota

2016-01-18 Thread zhangjian2011

Hi, Ondra

It works, thanks.

Jian

On 01/18/2016 07:44 PM, Ondra Machacek wrote:

Hi Jian,

if you select your DataCenter in tree pane on the left,
then you will see 'Quota' tab between main tabs.

Ondra

On 01/18/2016 02:23 AM, zhangjian2011 wrote:

Hi, Ondra

  If I set DataCenter 's  Quota Mode to Disabled, then the quota
  tab will be hidden as below.

(the quota tab disappeared) So I can't remove quota. Is there any other
way to delete it??






Regards,
Jian


On 01/15/2016 11:29 PM, Ondra Machacek wrote:

One possible way is to change DataCenter quota mode to Disabled.
Then you can remove quota which is assigned to vm.

On 01/15/2016 10:41 AM, zhangjian2011 wrote:


HI, all:

  I found that if the quota is applied to a VM,

then the quota can’t be remove. (Even if I change DataCenter to Audit
Mode)

  the screenshot as below:

  NOW I found the workaround is delete vm.

  How can I remove the quota  without delete the VM



___
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] Mechanism to make VM creation fail if the cluster has insufficient resources to run it

2016-01-18 Thread Yaniv Dary
You can always overcommit, so hard to tell when no resources are left.
You can use quote to limit to physical resources.

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 Mon, Jan 18, 2016 at 11:52 PM, David Jorm  wrote:

> Hi All
>
> My team is currently building an application based on the oVirt REST
> API, and we noticed that it is possible to create a VM with resources
> (i.e. RAM or CPU) that are not physically available in the cluster.
> Running the VM will fail with an appropriate error message, but for
> our use case it would be highly desirable that the VM creation fails.
> I haven't found any setting that enables this behavior, but I was
> wondering if one is hidden somewhere or there is a simple workaround
> to make VM creation fail if resources are not available to run it.
>
> Thanks
> David
> ___
> 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] Mechanism to make VM creation fail if the cluster has insufficient resources to run it

2016-01-18 Thread David Jorm
Hi All

My team is currently building an application based on the oVirt REST
API, and we noticed that it is possible to create a VM with resources
(i.e. RAM or CPU) that are not physically available in the cluster.
Running the VM will fail with an appropriate error message, but for
our use case it would be highly desirable that the VM creation fails.
I haven't found any setting that enables this behavior, but I was
wondering if one is hidden somewhere or there is a simple workaround
to make VM creation fail if resources are not available to run it.

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


Re: [ovirt-users] not able to select profile in console after update

2016-01-18 Thread Ondra Machacek

Hi,

You cannot see it only in UserPortal or also in Webadmin?
Can you please send engine.log?

Maybe you hit same issue as described here[1].

Ondra

[1] http://lists.ovirt.org/pipermail/users/2016-January/037313.html

On 01/18/2016 05:24 PM, Johan Vermeulen wrote:

Hello All,

I have installed an all-in-one server on a Centos7 machine, with one vm.
After updating to Centos7.2 ( Ovirt 3.6 ) I cannot login on
user portal of web portal because I cannot set the profile field.
So it complains the field cannot be left blanc.

This is a test setup so no biggie.

Thanks for any advise.

greetings, J.


___
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] AAA/ldap/3.6 Issues - WARNING [ovirt-engine-extension-aaa-ldap.authn::LDAP-authn] Cannot initialize LDAP framework, deferring initialization.

2016-01-18 Thread Ondra Machacek

Hi,

I can see that 'ovirt-engine-aaa-ldap-setup' successfully connect to 
'ldap://bbgpvmas100.prozess.bbg:389', but later it says connection 
refused on to 'bbgpvmas100.prozess.bbg/10.157.8.25:389'.


Don't you have more 'A' records set for 'bbgpvmas100.prozess.bbg'?
Can you please assure that you can run 'telnet 10.157.8.25 389' from 
ovirt machine?


If yes, can you please send us debug log of 
'ovirt-engine-extension-aaa-ldap-setup'.
It's stored in /tmp directory. It would be very helpful if you could 
send us also debug log of migration tool, so we can see where is the 
problem and fix.


Thanks in advance,
Ondra

On 01/18/2016 03:34 PM, r...@chef.net wrote:

Hello,

I'm also running in problemes moving to the new ldap authentification. 
Different to Davids issue, I'm running IPV4 and I'm using SAMBA 4 as AD server.

Here we go with the output:
ovirt-engine-extension-aaa-ldap-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
   Configuration files: 
['/etc/ovirt-engine-extension-aaa-ldap-setup.conf.d/10-packaging.conf']
   Log file: 
/tmp/ovirt-engine-extension-aaa-ldap-setup-20160118152213-nod1wm.log
   Version: otopi-1.4.0 (otopi-1.4.0-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
   Welcome to LDAP extension configuration program
   Please specify profile name that will be visible to users: prozess
   Available LDAP implementations:
1 - 389ds
2 - 389ds RFC-2307 Schema
3 - Active Directory
4 - IPA
5 - Novell eDirectory RFC-2307 Schema
6 - OpenLDAP RFC-2307 Schema
7 - OpenLDAP Standard Schema
8 - Oracle Unified Directory RFC-2307 Schema
9 - RFC-2307 Schema (Generic)
   10 - RHDS
   11 - RHDS RFC-2307 Schema
   12 - iPlanet
   Please select: 3
   Please enter Active Directory Forest name: prozess.bbg
[ INFO  ] Resolving Global Catalog SRV record for prozess.bbg
[ INFO  ] Resolving LDAP SRV record for prozess.bbg
   NOTE:
   It is highly recommended to use secure protocol to access the LDAP 
server.
   Protocol startTLS is the standard recommended method to do so.
   Only in cases in which the startTLS is not supported, fallback to 
non standard ldaps protocol.
   Use plain for test environments only.
   Please select protocol to use (startTLS, ldaps, plain) [startTLS]: 
plain
[ INFO  ] Resolving SRV record 'prozess.bbg'
[ INFO  ] Connecting to LDAP using 'ldap://bbgpvmas100.prozess.bbg:389'
[ INFO  ] Connection succeeded
   Enter search user DN (empty for anonymous): ovirtad...@prozess.bbg
   Enter search user password:
[ INFO  ] Attempting to bind using 'ovirtad...@prozess.bbg'
[ INFO  ] Stage: Setup validation
   NOTE:
   It is highly recommended to test drive the configuration before 
applying it into engine.
   Perform at least one Login sequence and one Search sequence.
   Select test sequence to execute (Done, Abort, Login, Search) 
[Abort]: Login
   Enter search user name: ovirtad...@prozess.bbg
   Enter search user password:
[ INFO  ] Executing login sequence...
   Login output:
   2016-01-18 15:23:22 INFORMATION 

   2016-01-18 15:23:22 INFORMATION  
Initialization 
   2016-01-18 15:23:22 INFORMATION 

   2016-01-18 15:23:22 INFORMATION Loading extension 'prozess-authn'
   2016-01-18 15:23:22 INFORMATION Extension 'prozess-authn' loaded
   2016-01-18 15:23:22 INFORMATION Loading extension 'prozess-authz'
   2016-01-18 15:23:22 INFORMATION Extension 'prozess-authz' loaded
   2016-01-18 15:23:22 INFORMATION Initializing extension 
'prozess-authn'
   2016-01-18 15:23:22 INFORMATION 
[ovirt-engine-extension-aaa-ldap.authn::prozess-authn] Creating LDAP pool 
'authz'
   2016-01-18 15:23:26 WARNUNG 
[ovirt-engine-extension-aaa-ldap.authn::prozess-authn] Cannot initialize LDAP 
framework, deferring initialization. Error: An error occurred while attempting 
to connect to server bbgpvmas100.prozess.bbg:389:  java.io.IOException: An 
error occurred while attempting to establish a connection to server 
bbgpvmas100.prozess.bbg/10.157.8.25:389:  java.net.ConnectException: 
Verbindungsaufbau abgelehnt
   2016-01-18 15:23:26 INFORMATION Extension 'prozess-authn' initialized
   2016-01-18 15:23:26 INFORMATION Initializing extension 
'prozess-authz'
   2016-01-18 15:23:26 INFORMATION 
[ovirt-engine-extension-aaa-ldap.authz::prozess-authz] Creating LDAP pool 
'authz'
   2016-01-18 15:23:26 W

Re: [ovirt-users] ovirt appliance for he on master?

2016-01-18 Thread Simone Tiraboschi
On Mon, Jan 18, 2016 at 6:06 PM, Gianluca Cecchi 
wrote:

>
> Il 18/gen/2016 17:55, "Simone Tiraboschi"  ha
> scritto:
> >
> >
> >
> > On Mon, Jan 18, 2016 at 5:41 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
> >>
> >> Hell,
> >> tried old link
> >>
> http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-noarch_merged/
> >
> >
> >
> http://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x86_64/
>
> >>
> Thanks, but i see 4.0 inside the name of the rpm file ...
>

Master is already targeting to 4.0
If you need 3.6 go here:
http://jenkins.ovirt.org/job/ovirt-appliance_ovirt-3.6_build-artifacts-el7-x86_64/

Is it usable as 3.6.x?
>

It should but I cannot ensure since master is a development branch and
something could be broken or new or simply different.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt appliance for he on master?

2016-01-18 Thread Gianluca Cecchi
Il 18/gen/2016 18:13, "Simone Tiraboschi"  ha scritto:
>
>
>
> On Mon, Jan 18, 2016 at 6:06 PM, Gianluca Cecchi <
gianluca.cec...@gmail.com> wrote:
>>
>>
>> Il 18/gen/2016 17:55, "Simone Tiraboschi"  ha
scritto:
>> >
>> >
>> >
>> > On Mon, Jan 18, 2016 at 5:41 PM, Gianluca Cecchi <
gianluca.cec...@gmail.com> wrote:
>> >>
>> >> Hell,
>> >> tried old link
>> >>
http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-noarch_merged/
>> >
>> >
>> >
http://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x86_64/

>> >>
>> Thanks, but i see 4.0 inside the name of the rpm file ...
>
>
> Master is already targeting to 4.0
> If you need 3.6 go here:
>
http://jenkins.ovirt.org/job/ovirt-appliance_ovirt-3.6_build-artifacts-el7-x86_64/
>
>> Is it usable as 3.6.x?
>
>
> It should but I cannot ensure since master is a development branch and
something could be broken or new or simply different.

OK, is there any chance that Italian is inserted in any 3.6.x or not?
So you are saying that today if I set repo as master I would go with future
4.0 and not 3.6.yrc?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt appliance for he on master?

2016-01-18 Thread Gianluca Cecchi
Il 18/gen/2016 17:55, "Simone Tiraboschi"  ha scritto:
>
>
>
> On Mon, Jan 18, 2016 at 5:41 PM, Gianluca Cecchi <
gianluca.cec...@gmail.com> wrote:
>>
>> Hell,
>> tried old link
>>
http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-noarch_merged/
>
>
>
http://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x86_64/

>>
Thanks, but i see 4.0 inside the name of the rpm file ...
Is it usable as 3.6.x?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt appliance for he on master?

2016-01-18 Thread Simone Tiraboschi
On Mon, Jan 18, 2016 at 5:41 PM, Gianluca Cecchi 
wrote:

> Hell,
> tried old link
>
> http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-noarch_merged/
>

http://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x86_64/


>
> got 404.
> Is it temporary due to some problem or did the link change where I can get
> the appliance for HE with master packages in it?
>
> I would like to see how Italian layout is, now that finally 100% was
> reached in translation in master and simplify testing without installing a
> new OS and oVirt packages in engine VM.
>
> Just to know, otherwise I will proceed the manual way anyway...
>
> Thanks,
> Gianluca
>
> ___
> 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 appliance for he on master?

2016-01-18 Thread Gianluca Cecchi
Hell,
tried old link
http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-noarch_merged/
got 404.
Is it temporary due to some problem or did the link change where I can get
the appliance for HE with master packages in it?

I would like to see how Italian layout is, now that finally 100% was
reached in translation in master and simplify testing without installing a
new OS and oVirt packages in engine VM.

Just to know, otherwise I will proceed the manual way anyway...

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


Re: [ovirt-users] no more admin@internal account available

2016-01-18 Thread Martin Perina
Hi,

please attach logs.

Btw if you are using oVirt 3.6.1 upgraded from 3.6.0, you
may suffer from [1]. If that's the case, you will find
in your engine log following error:

   Error in activating extension 'internal-authn': Database schema is older 
than required by currently installed 

If you do, please execute engine-setup, so your database
for 'internal' profile is upgraded properly.

Thanks

Martin Perina

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1293338

- Original Message -
> From: "Nathanaël Blanchet" 
> To: users@ovirt.org
> Sent: Monday, January 18, 2016 3:28:42 PM
> Subject: [ovirt-users] no more admin@internal account available
> 
> Hello,
> 
> My internal domain is not available anymore in the webadmin login and
> any query with admin@internal fail.
> What can I do to recover it?
> 
> --
> 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] not able to select profile in console after update

2016-01-18 Thread Johan Vermeulen
Hello All,

I have installed an all-in-one server on a Centos7 machine, with one vm.
After updating to Centos7.2 ( Ovirt 3.6 ) I cannot login on
user portal of web portal because I cannot set the profile field.
So it complains the field cannot be left blanc.

This is a test setup so no biggie.

Thanks for any advise.

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


[ovirt-users] Set custom property?

2016-01-18 Thread gflwqs gflwqs
Hi List,
I'm running ovirt 3.5.6.2.
Why do i have to restart a vm when i set a custom property?

Thanks!

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


Re: [ovirt-users] Ovirt python API clone VM to other data domain

2016-01-18 Thread Juan Hernández
On 01/18/2016 03:39 PM, Algirdas Žemaitis wrote:
> Hello,
> 
>  
> 
> It seems ovirt API lacks of possibility to define storage domain, in
> which cloned vm (from snapshot) will be created, is it done on purpose,
> or it is just missing/under development ?
> 
>  
> 
> Scenario using WEB GUI :
> 
> Create snapshot of any running VM, right-click on snapshot, select “clone”
> 
> In pop-up window you can enter new VM name etc, under “resource
> allocation” section **you can select where it will be created**
> 
>  
> 
>  
> 
> Scenario using python-sdk/ovirt-api
> 
>  
> 
> I was trying to create vm for example like this:
> 
> ##
> 
> vm_params = params.VM(name=vm_from_list + '__bak',
> cluster=api.clusters.get("Default"),
> storage_domain=api.storagedomains.get("temp"), memory=vm.get_memory(),
> snapshots=snapshots_param)
> 
> api.vms.add(vm_params)
> 
> ##
> 
> # temp is „other“ storage domain, NFS v3
> 
> VM will be still created on same storage as original VM, no matter what
> domain I will define in params...
> 
> Also tried other variations, using templates, disk profiles and so on,
> but nothing has changed where new VM is created.
> 
>  
> 
> I know cloning is not intended for backup purpose, but it is workaround
> probably half of Ovirt users use.
> 
> In my case, it is not very smart to do snapshot and create VM (allocate
> disk space, etc) on same storage domain where there is already running a
> lot of VMs, environment is already busy.
> 
>  
> 
> Thanks !
> 

See here:

http://lists.ovirt.org/pipermail/users/2016-January/037321.html

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


Re: [ovirt-users] Ovirt python-sdk cloning VM

2016-01-18 Thread Juan Hernández
On 01/18/2016 02:49 PM, Algirdas Žemaitis wrote:
> Hello,
> 
> 
> I was playing with Ovirt API/python-sdk for a week or so and stuck in
> one from first sight simple yet unsolvable spot…
> 
> Ovirt web GUI has option to clone VM from snapshot, to new(other)
> storage domain. Is it possible to do so with API ?
> 
> The point is, I’m using backup script (already modified a lot of it to
> suit our needs), once it is cloning from snapshot into new VM, it will
> use same storage, and causing a lot of load on already stressed domain,
> idea is to create VM (allocate disk before exporting it as backup) on
> other storage domain, in this way significantly reducing impact on live
> storage domain. What do you think ?
> 
> Original : https://github.com/wefixit-AT/oVirtBackup
> 
>  
> 
> Thank you for your time, and sorry for reaching directly, Ovirt lacks
> for an forum or something similar… or I just couldn’t find it…
> 

I'm adding the users@ovirt.org list, there is where you can send your
questions.

In order to clone a VM from an snapshot you have to use the "add"
operation of the "vms" service, passing as a parameter a "vm" object
that contains the identifier of the snapshot and the explicit mapping of
disk to storage domain. In XML it should look like this:

---8<---

  myclone
  
mycluster
  

  
  
   
  

  
  

  8d4bd566-6c86-4592-a4a7-912dbf93c298
  

  

  


--->8---

With the Python SDK it should look like this:

---8<---
# Find the VM:
vm = api.vms.get(name="myvm")

# Find the snapshot:
snapshot = None
for current in vm.snapshots.list():
  if current.get_description() == 'mysnap':
snapshot = current
break # Should probably end here, with an error.

# Find the image identifiers of the disks of the snapshot, as
# we need them in order to explicitly indicate that we want
# them created in a different storage domain:
disk_ids = []
for current in snapshot.disks.list():
  disk_ids.append(current.get_id())

# Find the storage domain where the disks should be created:
sd = api.storagedomains.get(name="yourdata")

# Prepare the list of disks for the operation to create the
# snapshot,explicitly indicating for each of them the storage
# domain where it should be created:
disk_list = []
for disk_id in disk_ids:
  disk = params.Disk(
image_id=disk_id,
storage_domains=params.StorageDomains(
  storage_domain=[
params.StorageDomain(
  id=sd.get_id(),
),
  ],
),
  )
  disk_list.append(disk)

# Create the VM from the snapshot:
api.vms.add(
  params.VM(
name="myclone",
cluster=params.Cluster(name="mycluster"),
snapshots=params.Snapshots(
  snapshot=[
params.Snapshot(
  id=snapshot.get_id(),
),
  ],
),
disks=params.Disks(
  disk=disk_list,
),
  )
)
--->8---

This should work for you.

However, I have to say that I find a bit strange that we use the
"image_id" attribute as the key of the disk in this case, instead of
just the "id". Allon, do you know if this is on purpose? I mean, when we
clone a VM from a template we use do like this:

  
...
  

But in this case we do like this:

  
the_key
...
  

Is there any reason for these two different ways to specify the
identifier of the disk?

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


Re: [ovirt-users] power management on ovirt3.6.1

2016-01-18 Thread Eli Mesika
Hi Alireza

Me and Martin Perina are in charge of Power Management issues in oVirt
Please let us know if your problem is solved or attach the relevant logs for 
investigation 

Thanks 

- Original Message -
> From: "combuster" 
> To: "alireza sadeh seighalan" , users@ovirt.org
> Sent: Monday, January 18, 2016 3:35:55 PM
> Subject: Re: [ovirt-users] power management on ovirt3.6.1
> 
> Hi,
> 
> you need at least two servers in the cluster for pm test to succeed. If you
> do, make sure that IP address of the iLO is pingable from all hosts in the
> cluster. oVirt engine log would also help in troubleshooting the issue.
> 
> 
> On 01/18/2016 02:10 PM, alireza sadeh seighalan wrote:
> 
> 
> 
> hi everyone
> 
> i wanted to configure power management on ovirt3.6.1 but it failed. i attach
> the configuration image . thanks in advance
> 
> 
> os: centos7.1
> ovirt: 3.6.1
> server: DL380 G7 (ilo3)
> 
> 
> ___
> 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 python API clone VM to other data domain

2016-01-18 Thread Algirdas Žemaitis
Hello,

It seems ovirt API lacks of possibility to define storage domain, in which 
cloned vm (from snapshot) will be created, is it done on purpose, or it is just 
missing/under development ?

Scenario using WEB GUI :
Create snapshot of any running VM, right-click on snapshot, select “clone”
In pop-up window you can enter new VM name etc, under “resource allocation” 
section *you can select where it will be created*


Scenario using python-sdk/ovirt-api

I was trying to create vm for example like this:
##
vm_params = params.VM(name=vm_from_list + '__bak', 
cluster=api.clusters.get("Default"), 
storage_domain=api.storagedomains.get("temp"), memory=vm.get_memory(), 
snapshots=snapshots_param)
api.vms.add(vm_params)
##
# temp is „other“ storage domain, NFS v3
VM will be still created on same storage as original VM, no matter what domain 
I will define in params...
Also tried other variations, using templates, disk profiles and so on, but 
nothing has changed where new VM is created.

I know cloning is not intended for backup purpose, but it is workaround 
probably half of Ovirt users use.
In my case, it is not very smart to do snapshot and create VM (allocate disk 
space, etc) on same storage domain where there is already running a lot of VMs, 
environment is already busy.

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


Re: [ovirt-users] Storage network clarification

2016-01-18 Thread combuster
oVirt is still managing the cluster via ovirtmgmt network. The same rule 
applies for tagging networks as VM networks, Live Migration networks 
etc. Gluster is no different, except that it involved a couple of manual 
steps for us to configure it.


On 01/18/2016 03:53 PM, Fil Di Noto wrote:

Thanks I will try this. I am running ovirt-engine 3.6.1.3-1.el7.centos

In the configuration described, is oVirt able to manage gluster? I am
confused because if oVirt knows the nodes by their ovirtmgmt network
IP/hostname aren't all the VDSM commands going to fail?



On Mon, Jan 18, 2016 at 6:39 AM, combuster  wrote:

Hi Fil,

this worked for me a couple of months back:

http://lists.ovirt.org/pipermail/users/2015-November/036235.html

I'll try to set this up again, and see if there are any issues. Which oVirt
release are you running ?

Ivan

On 01/18/2016 02:56 PM, Fil Di Noto wrote:

I'm having trouble setting up a dedicated storage network.

I have a separate VLAN designated for storage, and configured separate
IP addresses for each host that correspond to that subnet. I have
tested this subnet extensively and it is working as expected.

Prior to adding the hosts, I configured a storage network and
configured the cluster to use that network for storage and not the
ovirtmgmt network. I was hopping that this would be recognized when
the hosts were added but it was not. I had to actually reconfigure the
storage VLAN interface via oVirt "manage host networks" just to bring
the host networks into compliance. The IP is configured directly on
the bond0., not on a bridge interface which I assume is
correct since it is not a "VM" network.

In this setup I was not able to activate any of the hosts due to VDSM
gluster errors, I think it was because VDSM was trying to use the
hostname/IP of the ovirtmgmt network. I manually set up the peers
using "gluster peer probe" and I was able to activate the hosts but
they were not using the storage network (tcpdump). I also tried adding
DNS records for the storage network interfaces using different
hostnames but gluster seemed to still consider the ovirtmgmt interface
as the primary.

With the hosts active, I couldn't create/activate any volumes until I
changed the cluster network settings to use the ovirtmgmt network for
storage. I ended up abandoning the dedicated storage subnet for the
time being and I'm starting to wonder if running virtualization and
gluster on the same hosts is intended to work this way.

Assuming that it should work, what is the correct way to configure it?
I can't find any docs that go in detail about storage networks. Is
reverse DNS a factor? If I had a better understanding of what oVirt is
expecting to see that would be helpful.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




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


Re: [ovirt-users] Storage network clarification

2016-01-18 Thread Fil Di Noto
Thanks I will try this. I am running ovirt-engine 3.6.1.3-1.el7.centos

In the configuration described, is oVirt able to manage gluster? I am
confused because if oVirt knows the nodes by their ovirtmgmt network
IP/hostname aren't all the VDSM commands going to fail?



On Mon, Jan 18, 2016 at 6:39 AM, combuster  wrote:
> Hi Fil,
>
> this worked for me a couple of months back:
>
> http://lists.ovirt.org/pipermail/users/2015-November/036235.html
>
> I'll try to set this up again, and see if there are any issues. Which oVirt
> release are you running ?
>
> Ivan
>
> On 01/18/2016 02:56 PM, Fil Di Noto wrote:
>>
>> I'm having trouble setting up a dedicated storage network.
>>
>> I have a separate VLAN designated for storage, and configured separate
>> IP addresses for each host that correspond to that subnet. I have
>> tested this subnet extensively and it is working as expected.
>>
>> Prior to adding the hosts, I configured a storage network and
>> configured the cluster to use that network for storage and not the
>> ovirtmgmt network. I was hopping that this would be recognized when
>> the hosts were added but it was not. I had to actually reconfigure the
>> storage VLAN interface via oVirt "manage host networks" just to bring
>> the host networks into compliance. The IP is configured directly on
>> the bond0., not on a bridge interface which I assume is
>> correct since it is not a "VM" network.
>>
>> In this setup I was not able to activate any of the hosts due to VDSM
>> gluster errors, I think it was because VDSM was trying to use the
>> hostname/IP of the ovirtmgmt network. I manually set up the peers
>> using "gluster peer probe" and I was able to activate the hosts but
>> they were not using the storage network (tcpdump). I also tried adding
>> DNS records for the storage network interfaces using different
>> hostnames but gluster seemed to still consider the ovirtmgmt interface
>> as the primary.
>>
>> With the hosts active, I couldn't create/activate any volumes until I
>> changed the cluster network settings to use the ovirtmgmt network for
>> storage. I ended up abandoning the dedicated storage subnet for the
>> time being and I'm starting to wonder if running virtualization and
>> gluster on the same hosts is intended to work this way.
>>
>> Assuming that it should work, what is the correct way to configure it?
>> I can't find any docs that go in detail about storage networks. Is
>> reverse DNS a factor? If I had a better understanding of what oVirt is
>> expecting to see that would be helpful.
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] no more admin@internal account available

2016-01-18 Thread Yedidyah Bar David
On Mon, Jan 18, 2016 at 4:28 PM, Nathanaël Blanchet  wrote:
> Hello,
>
> My internal domain is not available anymore in the webadmin login and any
> query with admin@internal fail.
> What can I do to recover it?

You can try running engine-setup.

Check also:

https://bugzilla.redhat.com/show_bug.cgi?id=1293338

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



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


[ovirt-users] AAA/ldap/3.6 Issues - WARNING [ovirt-engine-extension-aaa-ldap.authn::LDAP-authn] Cannot initialize LDAP framework, deferring initialization.

2016-01-18 Thread rni
Hello,

I'm also running in problemes moving to the new ldap authentification. 
Different to Davids issue, I'm running IPV4 and I'm using SAMBA 4 as AD server.

Here we go with the output:
ovirt-engine-extension-aaa-ldap-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files: 
['/etc/ovirt-engine-extension-aaa-ldap-setup.conf.d/10-packaging.conf']
  Log file: 
/tmp/ovirt-engine-extension-aaa-ldap-setup-20160118152213-nod1wm.log
  Version: otopi-1.4.0 (otopi-1.4.0-1.el6)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization
  Welcome to LDAP extension configuration program
  Please specify profile name that will be visible to users: prozess
  Available LDAP implementations:
   1 - 389ds
   2 - 389ds RFC-2307 Schema
   3 - Active Directory
   4 - IPA
   5 - Novell eDirectory RFC-2307 Schema
   6 - OpenLDAP RFC-2307 Schema
   7 - OpenLDAP Standard Schema
   8 - Oracle Unified Directory RFC-2307 Schema
   9 - RFC-2307 Schema (Generic)
  10 - RHDS
  11 - RHDS RFC-2307 Schema
  12 - iPlanet
  Please select: 3
  Please enter Active Directory Forest name: prozess.bbg
[ INFO  ] Resolving Global Catalog SRV record for prozess.bbg
[ INFO  ] Resolving LDAP SRV record for prozess.bbg
  NOTE:
  It is highly recommended to use secure protocol to access the LDAP 
server.
  Protocol startTLS is the standard recommended method to do so.
  Only in cases in which the startTLS is not supported, fallback to non 
standard ldaps protocol.
  Use plain for test environments only.
  Please select protocol to use (startTLS, ldaps, plain) [startTLS]: 
plain
[ INFO  ] Resolving SRV record 'prozess.bbg'
[ INFO  ] Connecting to LDAP using 'ldap://bbgpvmas100.prozess.bbg:389'
[ INFO  ] Connection succeeded
  Enter search user DN (empty for anonymous): ovirtad...@prozess.bbg
  Enter search user password:
[ INFO  ] Attempting to bind using 'ovirtad...@prozess.bbg'
[ INFO  ] Stage: Setup validation
  NOTE:
  It is highly recommended to test drive the configuration before 
applying it into engine.
  Perform at least one Login sequence and one Search sequence.
  Select test sequence to execute (Done, Abort, Login, Search) [Abort]: 
Login
  Enter search user name: ovirtad...@prozess.bbg
  Enter search user password:
[ INFO  ] Executing login sequence...
  Login output:
  2016-01-18 15:23:22 INFORMATION 

  2016-01-18 15:23:22 INFORMATION  
Initialization 
  2016-01-18 15:23:22 INFORMATION 

  2016-01-18 15:23:22 INFORMATION Loading extension 'prozess-authn'
  2016-01-18 15:23:22 INFORMATION Extension 'prozess-authn' loaded
  2016-01-18 15:23:22 INFORMATION Loading extension 'prozess-authz'
  2016-01-18 15:23:22 INFORMATION Extension 'prozess-authz' loaded
  2016-01-18 15:23:22 INFORMATION Initializing extension 'prozess-authn'
  2016-01-18 15:23:22 INFORMATION 
[ovirt-engine-extension-aaa-ldap.authn::prozess-authn] Creating LDAP pool 
'authz'
  2016-01-18 15:23:26 WARNUNG 
[ovirt-engine-extension-aaa-ldap.authn::prozess-authn] Cannot initialize LDAP 
framework, deferring initialization. Error: An error occurred while attempting 
to connect to server bbgpvmas100.prozess.bbg:389:  java.io.IOException: An 
error occurred while attempting to establish a connection to server 
bbgpvmas100.prozess.bbg/10.157.8.25:389:  java.net.ConnectException: 
Verbindungsaufbau abgelehnt
  2016-01-18 15:23:26 INFORMATION Extension 'prozess-authn' initialized
  2016-01-18 15:23:26 INFORMATION Initializing extension 'prozess-authz'
  2016-01-18 15:23:26 INFORMATION 
[ovirt-engine-extension-aaa-ldap.authz::prozess-authz] Creating LDAP pool 
'authz'
  2016-01-18 15:23:26 WARNUNG 
[ovirt-engine-extension-aaa-ldap.authz::prozess-authz] Cannot initialize LDAP 
framework, deferring initialization. Error: An error occurred while attempting 
to connect to server bbgpvmas100.prozess.bbg:389:  java.io.IOException: An 
error occurred while attempting to establish a connection to server 
bbgpvmas100.prozess.bbg/10.157.8.25:389:  java.net.ConnectException: 
Verbindungsaufbau abgelehnt
  2016-01-18 15:23:26 INFORMATION Extension 'prozess-authz' initialized
  2016-01-18 15:23:26 INFORMATION Start of enabled extensions list
  2016-01-18 15:23:26 INFORMATION Instance name: 'prozess-authn', 
Extension name: 'ovirt-engine-extension-aaa-ldap.authn', Version: '1.1.2', 
Notes: 'D

Re: [ovirt-users] Storage network clarification

2016-01-18 Thread combuster

Hi Fil,

this worked for me a couple of months back:

http://lists.ovirt.org/pipermail/users/2015-November/036235.html

I'll try to set this up again, and see if there are any issues. Which 
oVirt release are you running ?


Ivan

On 01/18/2016 02:56 PM, Fil Di Noto wrote:

I'm having trouble setting up a dedicated storage network.

I have a separate VLAN designated for storage, and configured separate
IP addresses for each host that correspond to that subnet. I have
tested this subnet extensively and it is working as expected.

Prior to adding the hosts, I configured a storage network and
configured the cluster to use that network for storage and not the
ovirtmgmt network. I was hopping that this would be recognized when
the hosts were added but it was not. I had to actually reconfigure the
storage VLAN interface via oVirt "manage host networks" just to bring
the host networks into compliance. The IP is configured directly on
the bond0., not on a bridge interface which I assume is
correct since it is not a "VM" network.

In this setup I was not able to activate any of the hosts due to VDSM
gluster errors, I think it was because VDSM was trying to use the
hostname/IP of the ovirtmgmt network. I manually set up the peers
using "gluster peer probe" and I was able to activate the hosts but
they were not using the storage network (tcpdump). I also tried adding
DNS records for the storage network interfaces using different
hostnames but gluster seemed to still consider the ovirtmgmt interface
as the primary.

With the hosts active, I couldn't create/activate any volumes until I
changed the cluster network settings to use the ovirtmgmt network for
storage. I ended up abandoning the dedicated storage subnet for the
time being and I'm starting to wonder if running virtualization and
gluster on the same hosts is intended to work this way.

Assuming that it should work, what is the correct way to configure it?
I can't find any docs that go in detail about storage networks. Is
reverse DNS a factor? If I had a better understanding of what oVirt is
expecting to see that would be helpful.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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


[ovirt-users] no more admin@internal account available

2016-01-18 Thread Nathanaël Blanchet

Hello,

My internal domain is not available anymore in the webadmin login and 
any query with admin@internal fail.

What can I do to recover it?

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


Re: [ovirt-users] ovirt-host-deploy PKI

2016-01-18 Thread Simone Tiraboschi
On Mon, Jan 18, 2016 at 8:20 AM, Jaicel  wrote:

> 2016-01-18 14:59:25,321 INFO
>  [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (org.ovirt.thread.pool-8-thread-31) SSH execute root@192.168.208.21
> '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}"/setup DIALOG/dialect=str:machine
> DIALOG/customization=bool:True'
> 2016-01-18 15:09:25,323 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
> (VdsDeploy) Error during deploy dialog: java.io.IOException: Unexpected
> connection termination
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:388)
> [otopi.jar:]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
> [otopi.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
> [bll.jar:]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]


Hello Jaicel,
the engine was correctly able to connect once to the host at
2016-01-18 14:59:25,321
but then the SSH connection got dropped at 2016-01-18 15:09:25,323 and the
engine wasn't able to reconnect so something strange is happened is
probably happened at network level.
If the engine wasn't able to copy back host-deploy logs, you can also find
them under /tmp/ on the host.
Can you please try to look for them and attach here?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Storage network clarification

2016-01-18 Thread Fil Di Noto
I'm having trouble setting up a dedicated storage network.

I have a separate VLAN designated for storage, and configured separate
IP addresses for each host that correspond to that subnet. I have
tested this subnet extensively and it is working as expected.

Prior to adding the hosts, I configured a storage network and
configured the cluster to use that network for storage and not the
ovirtmgmt network. I was hopping that this would be recognized when
the hosts were added but it was not. I had to actually reconfigure the
storage VLAN interface via oVirt "manage host networks" just to bring
the host networks into compliance. The IP is configured directly on
the bond0., not on a bridge interface which I assume is
correct since it is not a "VM" network.

In this setup I was not able to activate any of the hosts due to VDSM
gluster errors, I think it was because VDSM was trying to use the
hostname/IP of the ovirtmgmt network. I manually set up the peers
using "gluster peer probe" and I was able to activate the hosts but
they were not using the storage network (tcpdump). I also tried adding
DNS records for the storage network interfaces using different
hostnames but gluster seemed to still consider the ovirtmgmt interface
as the primary.

With the hosts active, I couldn't create/activate any volumes until I
changed the cluster network settings to use the ovirtmgmt network for
storage. I ended up abandoning the dedicated storage subnet for the
time being and I'm starting to wonder if running virtualization and
gluster on the same hosts is intended to work this way.

Assuming that it should work, what is the correct way to configure it?
I can't find any docs that go in detail about storage networks. Is
reverse DNS a factor? If I had a better understanding of what oVirt is
expecting to see that would be helpful.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt engine 3.6 in Internet connectionless network

2016-01-18 Thread İren SALTALI

Hi Everyone,

I wanna use oVirt engine 3.6 in my Internet _connectionless_ network. I
installed oVirt with yum over internet. After that I tried to work offline.
When I go offline it still works fine. But Web I connect it to my local
netowork Interface starts not to respond. I check POST/GET request that it
made and I see it stuck on request from GenericApiGWTService. For example
normally time between request and respond takes 1 to 600ms but when I
connect it to local network it take up to 200.000ms second and eventually
it fails. I use CentOS 7 x86_64.

Thanx.

İren
salta...@itu.edu.tr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] power management on ovirt3.6.1

2016-01-18 Thread combuster

Hi,

you need at least two servers in the cluster for pm test to succeed. If 
you do, make sure that IP address of the iLO is pingable from all hosts 
in the cluster. oVirt engine log would also help in troubleshooting the 
issue.



On 01/18/2016 02:10 PM, alireza sadeh seighalan wrote:

hi everyone

i wanted to configure  power management on ovirt3.6.1 but it failed. i 
attach the configuration image . thanks in advance



os: centos7.1
ovirt: 3.6.1
server: DL380 G7  (ilo3)


___
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] [ANN] Team in Whiteboard is not more, long live oVirt Team custom field.

2016-01-18 Thread Yaniv Dary
Hi All,
For a long time now we have been using the whiteboard free-text field to
set the team that owns each ticket in Bugzilla. This causes several issues:
- The usage was not documented.
- We had issue reporting on that field.
- People can make mistakes setting it (mis-spelling the team for example).

Today Bugzilla team has completed setting oVirt Team field for all open
bugs (NEW-> VERIFIED). From today we will be moving to using it. The
documentation for this field is updated in Bugzilla, so if you are not sure
on what team to set the ticket, click on the field itself and you will have
a detailed help page.

Please update all queries to use it! It should be easy to do so by changing
the field you search on from 'Whiteboard' to 'oVirt Team'.

Next Tuesday (26/01/16) I will request removal of all whiteboard team
values. Please make sure to fix you queries beforehand.

Thanks!

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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [BUG] Cannot remove quota

2016-01-18 Thread Ondra Machacek

Hi Jian,

if you select your DataCenter in tree pane on the left,
then you will see 'Quota' tab between main tabs.

Ondra

On 01/18/2016 02:23 AM, zhangjian2011 wrote:

Hi, Ondra

  If I set DataCenter 's  Quota Mode to Disabled, then the quota
  tab will be hidden as below.

(the quota tab disappeared) So I can't remove quota. Is there any other
way to delete it??






Regards,
Jian


On 01/15/2016 11:29 PM, Ondra Machacek wrote:

One possible way is to change DataCenter quota mode to Disabled.
Then you can remove quota which is assigned to vm.

On 01/15/2016 10:41 AM, zhangjian2011 wrote:


HI, all:

  I found that if the quota is applied to a VM,

then the quota can’t be remove. (Even if I change DataCenter to Audit
Mode)

  the screenshot as below:

  NOW I found the workaround is delete vm.

  How can I remove the quota  without delete the VM



___
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] Unable to upgrade ovirt-engine 3.5.5 to 3.6.1 on EL6

2016-01-18 Thread Frank Wall
On Tue, Jan 05, 2016 at 02:27:26PM -0500, Martin Perina wrote:
> please make sure that on your machine you installed correct oVirt
> repositories [1]. slf4j package is available for EL6 in oVirt 3.6
> repo [2].

Thanks for the pointer. And... well, sorry for wasting your time. It was not
working for me due to my yum-priorities configuration. Actually this was the
very first time yum-priorities bit me.

I guess it was the first time that a centos-base package was replaced by
oVirt, too. Normally I wouldn't allow (or expect) any repo to replace a
"base" package, thus my yum-priorities configuration. :)

I've fixed the priorities for the oVirt repositories to be higher than the
CentOS repositories, and now everything is working as expected.

Maybe this should be added to the oVirt 3.6 errata (for EL6).


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


Re: [ovirt-users] [ovirt-devel] oVirt goes to FOSDEM 2016 - the full scoop!

2016-01-18 Thread Doron Fediuck
On Wed, Jan 13, 2016 at 7:28 PM, Joop  wrote:

> On 13-1-2016 18:02, Doron Fediuck wrote:
> > In the past we had Joop coming with his cool setup.
> > We used it in the booth to demo live migration.
> >
> Is that an invitation to come and bring my stuff :-)
>
> > Does anyone wish to do the same this year?
> I won't mind if someone else brings some stuff to demo but in case not
> I'll if someone else can arrange for a monitor that would be cool.
>
> Regards,
>
> Joop
>
> Hi Joop ;)
We're working on arranging screens. I believe we should be able to secure
one for you.

Doron

> ___
> 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] adding an ip on a host that run a vm connected to that bridge

2016-01-18 Thread Nathanaël Blanchet



Le 17/01/2016 16:38, Dan Kenigsberg a écrit :

On Fri, Jan 15, 2016 at 05:02:13PM +0100, Nathanaël Blanchet wrote:

Why is it forbiden to add an address (static or dhcp) to bridge on a host
that runs a vm which is connected to that bridge?
As a workaround, I can put manually an address for that bridge on that host
and refresh capabilities.

Historically, Vdsm has modified its network definition by first tearing
it down, and then setting it up again. The first step cannot succeed if
the bridge is being used by VMs.

In ovirt-3.6 we have introduced the ability to change the network's
layer 2 connectivity while VMs are using it. Users can now replace a
single NIC with a bond, or change the network's vlan ID, without
migrating the VMs away.

However, we have not implemented a similar change of layer 3
connectivity. It's doable, but not done (yet?).


Is it a desired feature?

You should tell us!

I think it's nice, and would like to see it one day. It would not harm
if you open an RFE, stating your motivation for this. After all,
adding/changing an IP address is quite rare, and usually can be
postponed to a time where the host is not used.
Not totally agree : in my case, I wanted to change the migration network 
from one to an other, but it engine prevents me to do it unless I assign 
an IP address to the dedicated bridge on each host... I fortunately can 
do it with ifconfig/iproute2.

Dan.


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


Re: [ovirt-users] have to run gluster peer detach to remove a host form a gluster cluster.

2016-01-18 Thread Sahina Bose
It does look like one. Could you attach engine log and vdsm logs from 
the server where engine issued the peer detach?


On 01/15/2016 09:28 PM, Nathanaël Blanchet wrote:



Hi all,

When I want to remove an host from a gluster cluster, engines tells me
that it fails to remove the host.
Once I run a manual gluster peer detach , then the host is
successfully removed.
It seems to be bug, doesn't it?



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