Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Donny Davis
I think it is in the answer file
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf
OVESETUP_CONFIG/isoDomainExists=bool:True

You are correct about the iso domain not being available until the data center 
is up, and this requires a data domain. He had said in an earlier thread he 
does not see it in the UI at all.

I'm no expert, just speaking from my experiences with ovirt. 

Donny D

-Original Message-
From: Yedidyah Bar David [mailto:d...@redhat.com] 
Sent: Wednesday, January 14, 2015 1:44 PM
To: Donny Davis
Cc: Will K; users@ovirt.org
Subject: Re: [ovirt-users] Hosted-engine ISO domain

- Original Message -
 From: Donny Davis do...@cloudspin.me
 To: Will K yetanotherw...@yahoo.com
 Cc: users@ovirt.org
 Sent: Wednesday, January 14, 2015 8:33:41 PM
 Subject: Re: [ovirt-users] Hosted-engine ISO domain
 
 
 
 engine-setup --otopi-environment=OVESETUP_CONFIG/
 isoDomainExists=bool:False

Did you find this documented anywhere?

It's not supported. I can't tell you what exactly happens if you try it.

If you check the code, you see in constants.py:

@osetupattrs(
postinstallfile=True,
)
def ISO_DOMAIN_EXISTS(self):
return 'OVESETUP_CONFIG/isoDomainExists'

Note there is no 'answerfile=True' there. This means that while this key _can_ 
be supplied as you suggested, it's not written to the answer file and should 
basically be treated as internal data.

Re the original question - are you sure you do not see it anywhere in the web 
admin gui? On a first clean setup, it will not be available immediately. You 
will see it under the storage tab but will only be able to attach it after 
you create and attach a data domain. Did you follow [1] at least once?

[1] http://www.ovirt.org/Quick_Start_Guide

Best,
--
Didi


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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Donny Davis
Makes sense to me, thanks for helping to clarify. 
Will, I hope we have been of some help

Donny D 

-Original Message-
From: Yedidyah Bar David [mailto:d...@redhat.com] 
Sent: Wednesday, January 14, 2015 2:21 PM
To: Donny Davis
Cc: Will K; users@ovirt.org
Subject: Re: [ovirt-users] Hosted-engine ISO domain

- Original Message -
 From: Donny Davis do...@cloudspin.me
 To: Yedidyah Bar David d...@redhat.com
 Cc: Will K yetanotherw...@yahoo.com, users@ovirt.org
 Sent: Wednesday, January 14, 2015 10:52:20 PM
 Subject: RE: [ovirt-users] Hosted-engine ISO domain
 
 I think it is in the answer file
 /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf
 OVESETUP_CONFIG/isoDomainExists=bool:True

/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf is not the answer 
file. The answer file is the file written to /var/lib and mentioned in the end 
of engine-setup, e.g.:

[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20141124180159-setup.conf'

As I wrote, this file (called in the sources postinstall) should be treated 
as internal data. It's used to keep some state of engine-setup between runs.

Just the same way you are not expected normally to manually edit tables inside 
the db, you should not change this file, or copy parts of it to the answer 
file. Of course, sometimes it can be useful, and sometimes people here will 
suggest that, but generally speaking, if you had to do that, that's a bug.

BTW, editing generated answer files is also not recommended and not 
officially supported.

The expected way to use an answer file is:
1. Have a system A in some state S0
2. Run engine-setup interactively, answer its questions as needed, let it 
create an answer file Ans1.
3. System A is now in state S1.
4. Have some other system B in state S0, that you want to bring to state S1.
5. Run there engine-setup with --config-append=Ans1

Of course, editing answer files usually works, and in some cases you can 
achieve useful things this way that can't be done by mere interactive run. But 
whenever you do that, it's your own responsibility.
Test first on a test system, make sure it does exactly what you wanted/ 
expected, then use in production.

Just as an example for a simple and useful violation, if during testing you 
often run engine-setup on systems with little RAM, and want to get rid of the 
question if you want to continue with not enough RAM, you can create a file 
e.g. /etc/ovirt-engine-setup.conf.d/99-my-stuff.conf
with content:
[environment:default]
OVESETUP_SYSTEM/memCheckEnabled=bool:False

As I said, this is not recommended - use at your own risk, test and know what 
you are doing!

(the above should probably be in the wiki somewhere. Hopefully the mailing list 
archives are almost as good)

 
 You are correct about the iso domain not being available until the 
 data center is up, and this requires a data domain. He had said in an 
 earlier thread he does not see it in the UI at all.
 
 I'm no expert, just speaking from my experiences with ovirt.

Hey, didn't intend to be offensive - thanks for trying to help!
That's much appreciated. Hope now things are clearer.

Best,
--
Didi

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Yedidyah Bar David
- Original Message -
 From: Donny Davis do...@cloudspin.me
 To: Will K yetanotherw...@yahoo.com
 Cc: users@ovirt.org
 Sent: Wednesday, January 14, 2015 8:33:41 PM
 Subject: Re: [ovirt-users] Hosted-engine ISO domain
 
 
 
 engine-setup --otopi-environment=OVESETUP_CONFIG/
 isoDomainExists=bool:False

Did you find this documented anywhere?

It's not supported. I can't tell you what exactly happens if you try it.

If you check the code, you see in constants.py:

@osetupattrs(
postinstallfile=True,
)
def ISO_DOMAIN_EXISTS(self):
return 'OVESETUP_CONFIG/isoDomainExists'

Note there is no 'answerfile=True' there. This means that while this
key _can_ be supplied as you suggested, it's not written to the answer
file and should basically be treated as internal data.

Re the original question - are you sure you do not see it anywhere in
the web admin gui? On a first clean setup, it will not be available
immediately. You will see it under the storage tab but will only be
able to attach it after you create and attach a data domain. Did you
follow [1] at least once?

[1] http://www.ovirt.org/Quick_Start_Guide

Best,
-- 
Didi

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Yedidyah Bar David
- Original Message -
 From: Donny Davis do...@cloudspin.me
 To: Yedidyah Bar David d...@redhat.com
 Cc: Will K yetanotherw...@yahoo.com, users@ovirt.org
 Sent: Wednesday, January 14, 2015 10:52:20 PM
 Subject: RE: [ovirt-users] Hosted-engine ISO domain
 
 I think it is in the answer file
 /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf
 OVESETUP_CONFIG/isoDomainExists=bool:True

/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf is not
the answer file. The answer file is the file written to
/var/lib and mentioned in the end of engine-setup, e.g.:

[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20141124180159-setup.conf'

As I wrote, this file (called in the sources postinstall)
should be treated as internal data. It's used to keep some
state of engine-setup between runs.

Just the same way you are not expected normally to manually
edit tables inside the db, you should not change this file,
or copy parts of it to the answer file. Of course, sometimes
it can be useful, and sometimes people here will suggest that,
but generally speaking, if you had to do that, that's a bug.

BTW, editing generated answer files is also not recommended and not
officially supported.

The expected way to use an answer file is:
1. Have a system A in some state S0
2. Run engine-setup interactively, answer its questions as needed,
let it create an answer file Ans1.
3. System A is now in state S1.
4. Have some other system B in state S0, that you want to bring to state S1.
5. Run there engine-setup with --config-append=Ans1

Of course, editing answer files usually works, and in some cases
you can achieve useful things this way that can't be done by mere
interactive run. But whenever you do that, it's your own responsibility.
Test first on a test system, make sure it does exactly what you wanted/
expected, then use in production.

Just as an example for a simple and useful violation, if during testing
you often run engine-setup on systems with little RAM, and want to get
rid of the question if you want to continue with not enough RAM, you
can create a file e.g. /etc/ovirt-engine-setup.conf.d/99-my-stuff.conf
with content:
[environment:default]
OVESETUP_SYSTEM/memCheckEnabled=bool:False

As I said, this is not recommended - use at your own risk, test and
know what you are doing!

(the above should probably be in the wiki somewhere. Hopefully the
mailing list archives are almost as good)

 
 You are correct about the iso domain not being available until the data
 center is up, and this requires a data domain. He had said in an earlier
 thread he does not see it in the UI at all.
 
 I'm no expert, just speaking from my experiences with ovirt.

Hey, didn't intend to be offensive - thanks for trying to help!
That's much appreciated. Hope now things are clearer.

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


[ovirt-users] Exporting VM's painfully slow

2015-01-14 Thread Donny Davis
I am trying to export some vm's to bring them up in another system, and its
painfully slow. 

I could be doing something wrong, or maybe there is a setting I can change
to make this process a little faster. 

 

dd copies the image in 1MB blocks from what I can see in the logs, is there
any way to make it copy in say 64M blocks. 

 

I know it won't be 64 times faster, I have been waiting a full 24 hours on
just one image. Large as it may be {100G}, I know dd can work faster than 24
hours for 100G

 

Donny D

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Will K
all advices and tips are welcome. There's always a learning curve. :)
Once the engine was setup on VM ovirt1, I let hosted-engine to wait out till 
it told me to shutdown the VM.  After a while, VM was restarted.
I see the first node, the VM ovirt1 in the GUI. There was no storage domain.  I 
added another GlusterFS domain I have on the node.  At this point, I still 
don't see or can't find the ISO_Domain over NFS.
So, I'm still at the same spot.  `ovirt-iso-updater` still says there's no ISO 
storage domains.
Will

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Will K
I think I have the issue resolved.  Another guy screwed up the iptable.It looks 
good now.  I have it attached to the data center and activated it.Thanks Donny 
and Yedidyah.W
 

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Donny Davis
Didn’t see that coming…LOL

 

I’m really glad to hear you got it worked out though Will.

 

Enjoy oVirt, it’s a really great system, and if you have any more problems 
please email the users and someone should be able to help. 

 

Donny D

cloudspin.me

From: Will K [mailto:yetanotherw...@yahoo.com] 
Sent: Wednesday, January 14, 2015 4:26 PM
To: Donny Davis; 'Yedidyah Bar David'
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Hosted-engine ISO domain

 

I think I have the issue resolved.  Another guy screwed up the iptable.

It looks good now.  I have it attached to the data center and activated it.

Thanks Donny and Yedidyah.

W



 

 

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


[ovirt-users] [ACTION REQUIRED] oVirt 3.5.1 branch created

2015-01-14 Thread Sandro Bonazzola
Hi,
All blockers for 3.5.1 have been closed.
the tag ovirt-engine-3.5.1_rc1 has been created on hash 4f0c48e and will be 
used for creating the new ovirt-engine-3.5.1 branch.
All patches targeted to 3.5.1 will need to be cherry-picked on the 3.5.1 branch 
too.

Thanks.
-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network missing

2015-01-14 Thread Michael Burman
Hi Lars,

Can you please attach your vdsm and supervdsm logs.
Is vdsm service is running? can you reach vdsm client?

Michael

 

- Original Message -
From: Lars Nielsen l...@steinwurf.com
To: Michael Burman mbur...@redhat.com
Sent: Wednesday, January 14, 2015 2:25:53 PM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork 
missing

Hey Michael.

I keep getting this:

Host base does not comply with the cluster Default networks, the 
following networks are missing on host: 'ovirtmgmt'

But based on the installation log, nothing goes wrong doing 
installation/setup of the host.
And I get the same result as the screen shot I send before.

Thanks and Best Regards
- Lars

On 14/01/15 12:42, Michael Burman wrote:
 No Problem,

 But don't re-install ovirt, remove host and install him again. not ovirt. it 
 should work.

 - Original Message -
 From: Lars Nielsen l...@steinwurf.com
 To: Michael Burman mbur...@redhat.com
 Sent: Wednesday, January 14, 2015 1:41:07 PM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt  network 
 missing

 I will try to re-install ovirt.
 Thanks a lot for your help Michael

 Best Regards
 - Lars
 On 14/01/15 12:38, Michael Burman wrote:
 Hmm I see,

 It looks like your host is not installed properly, you should have seen the 
 host NIC's on your left in the SetupNetworks window.
 I recommend to remove host from ovirt and install it again from start.  If 
 your 'em1' NIC configured with dhcp, 'ovirtmgmt' should get ip from the NIC 
 after installation. If after installation your 'ovirtmgmt' will be missing 
 on host, try to drag it manually like i said.
 Before that try to restart network service: 'service network restart' and 
 'service vdsmd restart' and 'service NetworkManager stop' and then install 
 the host in your ovirt.

 Hope this help..

 Michael B


 - Original Message -
 From: Lars Nielsen l...@steinwurf.com
 To: Michael Burman mbur...@redhat.com
 Sent: Wednesday, January 14, 2015 11:13:27 AM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network 
 missing


 On 14/01/15 09:55, Michael Burman wrote:
 Hey Lars,

 Which OS do you running?

 You can go to your Ovirt  go to Hosts tab  Networks Interfaces subtab  
 'SetupNetworks' .
 If you changed the lines in the ifcfg files like i said, just attach the 
 'ovirtmgmt' to 'em1' NIC via SetupNetworks. This should work for you. when 
 pressing 'ok' in the SetupNetworks window, it should take the interface 
 configuration and create the bridge ifcfg with the same configuration.

 Try that..

 Michael B

 - Original Message -
 From: Lars Nielsen l...@steinwurf.com
 To: Michael Burman mbur...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, January 14, 2015 9:55:55 AM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork 
 missing


 On 13/01/15 16:03, Michael Burman wrote:
 Also change NAME=em1
 to:
 DEVICE=em1
  and remove the # from the BOOTPROTO=none


 - Original Message -
 From: Michael Burman mbur...@redhat.com
 To: Lars Nielsen l...@steinwurf.com
 Cc: users@ovirt.org
 Sent: Tuesday, January 13, 2015 4:48:55 PM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt   network 
 missing

 Hi Lars

 First of all you have to decide from where your ovirtmgmt getting the ip, 
 if it is from a dhcp server, you have to delete this lines from your 
 ifcfg-ovirtmgmt file:
 IPADDR=192.168.1.10
 NETMASK=255.255.255.0
 GATEWAY=192.168.0.1

 and add the next line:
 NM_CONTROLLED=no

 - in the ifcfg-em1 file change:
 BOOTPROTO=none

 and add the line:
 NM_CONTROLLED=no

 restart your engine /etc/init.d/ovirt-engine restart and make sure your 
 ovirtmgmt got ip and you have a default gateway, you can run: route -n

 Put your host in maintenance mode , try to activate or re-install.

 Best regards,

 Michael B


 - Original Message -
 From: Lars Nielsen l...@steinwurf.com
 To: Yedidyah Bar David d...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, January 13, 2015 12:05:05 PM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network   
 missing


 On 13/01/15 10:33, Yedidyah Bar David wrote:
 - Original Message -
 From: Lars Nielsenl...@steinwurf.com
 To: Yedidyah Bar Davidd...@redhat.com
 Cc:users@ovirt.org
 Sent: Tuesday, January 13, 2015 11:26:55 AM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network 
 missing


 On 13/01/15 09:31, Yedidyah Bar David wrote:
 - Original Message -
 From: Lars Nielsenl...@steinwurf.com
 To:users@ovirt.org
 Sent: Tuesday, January 13, 2015 10:20:20 AM
 Subject: [ovirt-users] Host in NonOperational mode ovirtmgmt network
 missing

 Hey I am new to oVirt, so please be patient

 I have a problem, when setting up new hosts.
 Doing the setup it self no problem, but afterwards the status is set to
 NonOperational.
 Do to the network ovirtmgmt is missing on the machine.

 However I have added the following ifcfg 

Re: [ovirt-users] Failed to create volume in OVirt with gluster

2015-01-14 Thread Punit Dambiwal
Hi,

Can any one help me here ??

On Wed, Jan 14, 2015 at 3:25 PM, Punit Dambiwal hypu...@gmail.com wrote:

 Hi Donny,

 I am not using gluster for the NFS mount...no volume has been created
 because of those errors

 On Wed, Jan 14, 2015 at 9:47 AM, Donny Davis do...@cloudspin.me wrote:

 And



 rpcbind is running



 can you do a regular nfs mount of the gluster volume?

 gluster volume info {your volume name here}





 Just gathering intel to hopefully provide a solution. I just deployed
 gluster with hosted engine today, and I did get some of the same errors as
 you when I was bringing everything up

 Did you follow a guide, or are you craving your own?

 Are you using swift for anything… that is usually for openstack to my
 knowledge? I guess you could use it for ovirt, but I didn’t



 Donny D



 *From:* Punit Dambiwal [mailto:hypu...@gmail.com]
 *Sent:* Tuesday, January 13, 2015 6:41 PM
 *To:* Donny Davis
 *Cc:* users@ovirt.org

 *Subject:* Re: [ovirt-users] Failed to create volume in OVirt with
 gluster



 Hi Donny,



 No I am not using CTDBit's totally new deployment...



 On Wed, Jan 14, 2015 at 1:50 AM, Donny Davis do...@cloudspin.me wrote:

 Are you using ctdb??? and did you specify Lock=False in /etc/nfsmount.conf



 Can you give a full run down of topology, and has this ever been working
 or is it a new deployment?



 Donny D



 *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
 Behalf Of *Punit Dambiwal
 *Sent:* Monday, January 12, 2015 7:18 PM
 *To:* Kanagaraj Mayilsamy
 *Cc:* gluster-us...@gluster.org; Kaushal M; users@ovirt.org
 *Subject:* Re: [ovirt-users] Failed to create volume in OVirt with
 gluster



 Hi,



 Please find the more details on this can anybody from gluster will
 help me here :-





 Gluster CLI Logs :- /var/log/glusterfs/cli.log



 [2015-01-13 02:06:23.071969] T [cli.c:264:cli_rpc_notify] 0-glusterfs:
 got RPC_CLNT_CONNECT

 [2015-01-13 02:06:23.072012] T [cli-quotad-client.c:94:cli_quotad_notify]
 0-glusterfs: got RPC_CLNT_CONNECT

 [2015-01-13 02:06:23.072024] I [socket.c:2344:socket_event_handler]
 0-transport: disconnecting now

 [2015-01-13 02:06:23.072055] T
 [cli-quotad-client.c:100:cli_quotad_notify] 0-glusterfs: got
 RPC_CLNT_DISCONNECT

 [2015-01-13 02:06:23.072131] T [rpc-clnt.c:1381:rpc_clnt_record]
 0-glusterfs: Auth Info: pid: 0, uid: 0, gid: 0, owner:

 [2015-01-13 02:06:23.072176] T
 [rpc-clnt.c:1238:rpc_clnt_record_build_header] 0-rpc-clnt: Request fraglen
 128, payload: 64, rpc hdr: 64

 [2015-01-13 02:06:23.072572] T [socket.c:2863:socket_connect] (--
 /usr/lib64/libglusterfs.so.0(_gf_log_callingfn+0x1e0)[0x7fed02f15420] (--
 /usr/lib64/glusterfs/3.6.1/rpc-transport/socket.so(+0x7293)[0x7fed001a4293]
 (-- /usr/lib64/libgfrpc.so.0(rpc_clnt_submit+0x468)[0x7fed0266df98] (--
 /usr/sbin/gluster(cli_submit_request+0xdb)[0x40a9bb] (--
 /usr/sbin/gluster(cli_cmd_submit+0x8e)[0x40b7be] ) 0-glusterfs: connect
 () called on transport already connected

 [2015-01-13 02:06:23.072616] T [rpc-clnt.c:1573:rpc_clnt_submit]
 0-rpc-clnt: submitted request (XID: 0x1 Program: Gluster CLI, ProgVers: 2,
 Proc: 27) to rpc-transport (glusterfs)

 [2015-01-13 02:06:23.072633] D [rpc-clnt-ping.c:231:rpc_clnt_start_ping]
 0-glusterfs: ping timeout is 0, returning

 [2015-01-13 02:06:23.075930] T [rpc-clnt.c:660:rpc_clnt_reply_init]
 0-glusterfs: received rpc message (RPC XID: 0x1 Program: Gluster CLI,
 ProgVers: 2, Proc: 27) from rpc-transport (glusterfs)

 [2015-01-13 02:06:23.075976] D [cli-rpc-ops.c:6548:gf_cli_status_cbk]
 0-cli: Received response to status cmd

 [2015-01-13 02:06:23.076025] D [cli-cmd.c:384:cli_cmd_submit] 0-cli:
 Returning 0

 [2015-01-13 02:06:23.076049] D [cli-rpc-ops.c:6811:gf_cli_status_volume]
 0-cli: Returning: 0

 [2015-01-13 02:06:23.076192] D [cli-xml-output.c:84:cli_begin_xml_output]
 0-cli: Returning 0

 [2015-01-13 02:06:23.076244] D
 [cli-xml-output.c:131:cli_xml_output_common] 0-cli: Returning 0

 [2015-01-13 02:06:23.076256] D
 [cli-xml-output.c:1375:cli_xml_output_vol_status_begin] 0-cli: Returning 0

 [2015-01-13 02:06:23.076437] D [cli-xml-output.c:108:cli_end_xml_output]
 0-cli: Returning 0

 [2015-01-13 02:06:23.076459] D
 [cli-xml-output.c:1398:cli_xml_output_vol_status_end] 0-cli: Returning 0

 [2015-01-13 02:06:23.076490] I [input.c:36:cli_batch] 0-: Exiting with: 0



 Command log :- /var/log/glusterfs/.cmd_log_history



 Staging failed on ----. Please check log
 file for details.

 Staging failed on ----. Please check log
 file for details.

 [2015-01-13 01:10:35.836676]  : volume status all tasks : FAILED :
 Staging failed on ----. Please check log
 file for details.

 Staging failed on ----. Please check log
 file for details.

 Staging failed on ----. Please check log
 file for details.

 [2015-01-13 01:16:25.956514]  : 

Re: [ovirt-users] [Feature review] Select network to be used for glusterfs

2015-01-14 Thread Sahina Bose


On 01/13/2015 09:45 PM, Dan Kenigsberg wrote:

On Tue, Jan 13, 2015 at 02:51:34PM +0200, Lior Vernia wrote:


On 13/01/15 10:21, Sahina Bose wrote:

On 01/12/2015 08:52 PM, Dan Kenigsberg wrote:

On Mon, Jan 12, 2015 at 02:59:50PM +0200, Lior Vernia wrote:

On 12/01/15 14:44, Oved Ourfali wrote:

Hi Sahina,

Some comments:

1. As far as I understand, you might not have an IP available
immediately after setupNetworks runs (getCapabilities should run,
but it isn't run automatically, afair).
2. Perhaps you should pass not the IP but the name of the network?
IPs might change.

Actually, IP address can indeed change - which would be very bad for
gluster functioning! I think moving networks or changing their IP
addresses via Setup Networks should be blocked if they're used by
gluster bricks.

In the suggested feature, there is no real storage role. The storage
role title means only default value for glusterfs IP.

For example, once a brick was created, nothing protects the admin from
accidently removing the storage network, or changing its IP address.

Another proof that this is not a real role, is that it affects only
GUI: I am guessing that REST API would not make use of it at all. (maybe
I'm wrong; for sure, REST must be defined in the feature page)

REST API that lists the available networks (with IP addresses) would be
used to select the network and pass to the create gluster volume API

My question regarded the argument of the add brick API (in Engine
level). Is it an IPv4 address (like it seems) or could it be a network
name?


I've updated the feature page with the REST API and other comments. On 
further thought, there will be no change to Add brick API, as the engine 
will select the network to be used based on the networks setup for the 
host. If Storage network role is associated with any of the networks, 
this will be used. Otherwise, the host's address will be used to add the 
brick.


There is a NEW API to allow for updation of brick's address.




I'll update the feature page with the REST API changes as well.


If REST allows to choose the network used for gluster traffic, then I
think so should the GUI - I would not drop the list box from the design
in that case.


See above - have kept REST API consistent.




Maybe that's the behavior we want. But alternatively, Engine can enforce
a stronger linkage between the brick to the network that it uses. When
adding a brick, the dialog would list available networks instead of the
specific IP. As long as the brick is being used, the admin would be
blocked/warned against deleting the network.

Is there a way to block against changing IP address used by a network?


Yes, this should be implemented at least in the canDoAction() method of
SetupNetworksCommand (most of it is done in the SetupNetworksHelper
class). And perhaps this should be blocked in the GUI as well.

Note that by the time 3.6 is released, the REST (and probably GUI) are
supposed to work with a different backend command that is currently
being implemented - so maybe you'll need to modify that instead, or on
top of the changes in SetupNetworksHelper.



Ok. Thanks!





I'm missing a discussion regarding the upgrade path. If we would opt to
requiring a single storage role network in a cluster, in an upgraded
cluster the management network should take this role.

There would not be any change to existing volumes on upgrade, as bricks
have already been added. Users can use the Edit brick option to update
the network to be used, if required as mentioned in Change network used
by brick 


I suspect Dan referred to the upgrade path of the engine itself - if you
add a new Gluster Network boolean column to the DB, it will initially
be null for all current networks. You'd likely need to write an upgrade
script to assign the role by default to the existing management networks
in each cluster.

yep.


Aah..ok! The Gluster network is not a mandatory role. That is, we 
could have a case where the user does not want to select any network as 
Gluster network and instead choose to continue using host's address 
for adding bricks.


So existing deployments would continue to work as before - without this 
role assigned to any of the networks.






3. Adding to 2, perhaps using DNS names is a more valid approach?
4. You're using the terminology role, but it might be confusing,
as we have roles with regards to permissions. Consider changing
storage usage and not storage role in the feature page.

Well, we've already been using this terminology for a while now
concerning display/migration roles for networks... That's probably the
terminology to use.

If I am not mistaken, it could make sense to have a setup with one brick
using network A and another - using network B. Does your design support
this? I think that this would be particularly important on upgraded
clusters, where the management network is already used, but newly
created bricks should start using another network.

Would you add a feature page 

[ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-14 Thread Bruno Rodriguez
Good afternoon,

We cannot access to Ovirt using LDAP authentication against our openldap
server. We created the following files in /etc/ovirt-engine/extensions.d
(the organization name is not example.org and the passwords are not
, obviously) :

--- /etc/ovirt-engine/extensions.d/ldap.example.org ---

include = openldap_example.properties

vars.server = ldap1.example.org
vars.user = cn=authenticate,ou=System,dc=example,dc=org
vars.password = 

pool.default.serverset.single.server = ${global:vars.server}
pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}

pool.default.ssl.startTLS = true
pool.default.ssl.truststore.file =
/etc/ovirt-engine/extensions.d/ldap.example.org_keystore.jks
pool.default.ssl.truststore.password = 

---
/etc/ovirt-engine/extensions.d/authn-ldap.example.org.properties ---

ovirt.engine.extension.name = authn-ldap.example.org
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module =
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class =
org.ovirt.engineextensions.aaa.ldap.AuthnExtension
ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn

ovirt.engine.aaa.authn.profile.name = ldap.example.org
ovirt.engine.aaa.authn.authz.plugin = authz-ldap.example.org

config.profile.file.1 = /etc/ovirt-engine/extensions.d/ldap.example.org

---
/etc/ovirt-engine/extensions.d/authz-ldap.example.org.properties ---

ovirt.engine.extension.name = authz-ldap.example.org
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module =
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class =
org.ovirt.engineextensions.aaa.ldap.AuthzExtension

ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authz
config.profile.file.1 = /etc/ovirt-engine/extensions.d/ldap.example.org



After all of this we restarted the service and tried to access via the
administration portal. The JKS has the right permissions and contains the
TLS CA, the password is correct and the user esthera exists. But when we
try to log in, we obtain the following error in the engine.log (we already
set the verbosity to ALL):



2015-01-14 16:35:25,750 ERROR
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
(ajp--127.0.0.1-8702-6) Error during CanDoActionFailure.: Class: class
org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException
Input:
{Extkey[name=AAA_AUTHN_CREDENTIALS;type=class java.lang.String;uuid=AAA_
AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***,
Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class org.ovirt.engine.api.
extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-
e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_
MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
Extkey[name=EXTENSION_LICENSE;type=class java.lang.String;uuid=
EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4c18];]=ASL 2.0,
Extkey[name=EXTENSION_NOTES;type=class java.lang.String;uuid=
EXTENSION_NOTES[2da5ad7e-185a-4584-aaff-97f66978e4ea];]=Display name:
ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
Extkey[name=EXTENSION_HOME_URL;type=class
java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-
f969-42d4-b399-72d192e18304];]=http://www.ovirt.org,
Extkey[name=EXTENSION_LOCALE;type=class java.lang.String;uuid=
EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778bb29];]=en_US,
Extkey[name=EXTENSION_NAME;type=class java.lang.String;uuid=
EXTENSION_NAME[651381d3-f54f-4547-bf28-b0b01a103184];]=
ovirt-engine-extension-aaa-ldap.authn, Extkey[name=EXTENSION_
INTERFACE_VERSION_MIN;type=class java.lang.Integer;uuid=
EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
Extkey[name=EXTENSION_CONFIGURATION;type=class java.util.Properties;uuid=
EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,
Extkey[name=EXTENSION_AUTHOR;type=class java.lang.String;uuid=
EXTENSION_AUTHOR[ef242f7a-2dad-4bc5-9aad-e07018b7fbcc];]=The oVirt Project,
Extkey[name=EXTENSION_INSTANCE_NAME;type=class java.lang.String;uuid=
EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=authn-ldap.
http://authn-ldap.pic.es/example.org,
Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class
java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_VERSION[cb479e5a-4b23-46f8-aed3-56a4747a8ab7];]=0,
Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface
java.util.Collection;uuid=EXTENSION_CONFIGURATION_
SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[],
Extkey[name=AAA_AUTHN_CAPABILITIES;type=class java.lang.Long;uuid=AAA_AUTHN_
CAPABILITIES[9d16bee3-10fd-46f2-83f9-3d3c54cf258d];]=12,

[ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Will K
Hi all,
Got a 'successful' setup of 3.5 with hosted-engine on Centos 6.6.  During 
engine-setup, info was provide to create ISO_DOMAIN from /export/ISO.  After 
the VM was restarted, I see it is exported, but I don't see the ISO domain in 
the GUI or ovirt-iso-uploader list.  Would you please give me pointer on how to 
import/activate the ISO domain?
[root@ovirt1 ~]# exportfs
/export/ISO world
[root@ovirt1 ~]# ovirt-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort):
ERROR: There are no ISO storage domains.

thanksWill


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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Donny Davis
Have you tried to add the ISO domain in the GUI?

 

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Will K
Sent: Wednesday, January 14, 2015 10:50 AM
To: users@ovirt.org
Subject: [ovirt-users] Hosted-engine ISO domain

 

Hi all,

 

Got a 'successful' setup of 3.5 with hosted-engine on Centos 6.6.  During 
engine-setup, info was provide to create ISO_DOMAIN from /export/ISO.  After 
the VM was restarted, I see it is exported, but I don't see the ISO domain in 
the GUI or ovirt-iso-uploader list.  Would you please give me pointer on how to 
import/activate the ISO domain?

 

[root@ovirt1 ~]# exportfs
/export/ISO world
[root@ovirt1 ~]# ovirt-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort):
ERROR: There are no ISO storage domains.

thanks

Will

 

 

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Will K

The domain is not listed not in the GUI. I'm not sure I should add or 
import.  
When I try to add a New Domain with a random name, use host node1 and 
export path ovirt1.domainname:/export/ISO, It says 
    Create operation failed. Storage connection is already used by the 
following storage domain: ISO_DOMAIN
If I try to Import, I would get Import operationfailed. Domain 
ISO_DOMAIN already exists in the system.
Will
 

 On Wednesday, January 14, 2015 12:51 PM, Donny Davis do...@cloudspin.me 
wrote:
   

 #yiv4218441671 #yiv4218441671 -- _filtered #yiv4218441671 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv4218441671 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv4218441671 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv4218441671 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv4218441671 
#yiv4218441671 p.yiv4218441671MsoNormal, #yiv4218441671 
li.yiv4218441671MsoNormal, #yiv4218441671 div.yiv4218441671MsoNormal 
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv4218441671 a:link, 
#yiv4218441671 span.yiv4218441671MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv4218441671 a:visited, #yiv4218441671 
span.yiv4218441671MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv4218441671 
span.yiv4218441671EmailStyle17 {color:#1F497D;}#yiv4218441671 
.yiv4218441671MsoChpDefault {font-size:10.0pt;} _filtered #yiv4218441671 
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv4218441671 div.yiv4218441671WordSection1 
{}#yiv4218441671 Have you tried to add the ISO domain in the GUI?  From: 
users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Will K
Sent: Wednesday, January 14, 2015 10:50 AM
To: users@ovirt.org
Subject: [ovirt-users] Hosted-engine ISO domain  Hi all,  Got a 'successful' 
setup of 3.5 with hosted-engine on Centos 6.6.  During engine-setup, info was 
provide to create ISO_DOMAIN from /export/ISO.  After the VM was restarted, I 
see it is exported, but I don't see the ISO domain in the GUI or 
ovirt-iso-uploader list.  Would you please give me pointer on how to 
import/activate the ISO domain?  [root@ovirt1 ~]# exportfs
/export/ISO world
[root@ovirt1 ~]# ovirt-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort):
ERROR: There are no ISO storage domains.thanksWill    

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


Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-14 Thread Ondra Machacek

Hi,

On 01/14/2015 04:53 PM, Bruno Rodriguez wrote:

Good afternoon,

We cannot access to Ovirt using LDAP authentication against our openldap
server. We created the following files in /etc/ovirt-engine/extensions.d
(the organization name is not example.org http://example.org and the
passwords are not , obviously) :

--- /etc/ovirt-engine/extensions.d/ldap.example.org
http://ldap.example.org ---

include = openldap_example.properties

vars.server = ldap1.example.org http://ldap1.example.org
vars.user = cn=authenticate,ou=System,dc=example,dc=org
vars.password = 

pool.default.serverset.single.server = ${global:vars.server}
pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}

pool.default.ssl.startTLS = true
pool.default.ssl.truststore.file =
/etc/ovirt-engine/extensions.d/ldap.example.org_keystore.jks
pool.default.ssl.truststore.password = 

---
/etc/ovirt-engine/extensions.d/authn-ldap.example.org.properties ---

ovirt.engine.extension.name http://ovirt.engine.extension.name =
authn-ldap.example.org http://authn-ldap.example.org
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module =
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class =
org.ovirt.engineextensions.aaa.ldap.AuthnExtension
ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn

ovirt.engine.aaa.authn.profile.name
http://ovirt.engine.aaa.authn.profile.name = ldap.example.org
http://ldap.example.org
ovirt.engine.aaa.authn.authz.plugin = authz-ldap.example.org
http://authz-ldap.example.org

config.profile.file.1 = /etc/ovirt-engine/extensions.d/ldap.example.org
http://ldap.example.org

---
/etc/ovirt-engine/extensions.d/authz-ldap.example.org.properties ---

ovirt.engine.extension.name http://ovirt.engine.extension.name =
authz-ldap.example.org http://authz-ldap.example.org
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module =
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class =
org.ovirt.engineextensions.aaa.ldap.AuthzExtension

ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authz
config.profile.file.1 = /etc/ovirt-engine/extensions.d/ldap.example.org
http://ldap.example.org



After all of this we restarted the service and tried to access via the
administration portal. The JKS has the right permissions and contains
the TLS CA, the password is correct and the user esthera exists. But
when we try to log in, we obtain the following error in the engine.log
(we already set the verbosity to ALL):



2015-01-14 16:35:25,750 ERROR
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
(ajp--127.0.0.1-8702-6) Error during CanDoActionFailure.: Class: class
org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException
Input:
{Extkey[name=AAA_AUTHN_CREDENTIALS;type=class
java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***,
Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class
org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
Extkey[name=EXTENSION_LICENSE;type=class
java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4c18];]=ASL
2.0, Extkey[name=EXTENSION_NOTES;type=class
java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-4584-aaff-97f66978e4ea];]=Display
name: ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
Extkey[name=EXTENSION_HOME_URL;type=class
java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=http://www.ovirt.org
http://www.ovirt.org/, Extkey[name=EXTENSION_LOCALE;type=class
java.lang.String;uuid=EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778bb29];]=en_US,
Extkey[name=EXTENSION_NAME;type=class
java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-4547-bf28-b0b01a103184];]=ovirt-engine-extension-aaa-ldap.authn,
Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
Extkey[name=EXTENSION_CONFIGURATION;type=class
java.util.Properties;uuid=EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,
Extkey[name=EXTENSION_AUTHOR;type=class
java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-2dad-4bc5-9aad-e07018b7fbcc];]=The
oVirt Project, Extkey[name=EXTENSION_INSTANCE_NAME;type=class
java.lang.String;uuid=EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=authn-ldap.
http://authn-ldap.pic.es/example.org http://example.org,
Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class

Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Donny Davis
What does your setup say

cat /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf

 

From: Will K [mailto:yetanotherw...@yahoo.com] 
Sent: Wednesday, January 14, 2015 11:11 AM
To: Donny Davis; users@ovirt.org
Subject: Re: [ovirt-users] Hosted-engine ISO domain

 

 

The domain is not listed not in the GUI. I'm not sure I should add or 
import.  





When I try to add a New Domain with a random name, use host node1 and 
export path ovirt1.domainname:/export/ISO, It says 



Create operation failed. Storage connection is already used by the 
following storage domain: ISO_DOMAIN





If I try to Import, I would get 

Import operationfailed. Domain ISO_DOMAIN already exists in the system.

 

Will



 

On Wednesday, January 14, 2015 12:51 PM, Donny Davis do...@cloudspin.me wrote:

 

Have you tried to add the ISO domain in the GUI?

 

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Will K
Sent: Wednesday, January 14, 2015 10:50 AM
To: users@ovirt.org
Subject: [ovirt-users] Hosted-engine ISO domain

 

Hi all,

 

Got a 'successful' setup of 3.5 with hosted-engine on Centos 6.6.  During 
engine-setup, info was provide to create ISO_DOMAIN from /export/ISO.  After 
the VM was restarted, I see it is exported, but I don't see the ISO domain in 
the GUI or ovirt-iso-uploader list.  Would you please give me pointer on how to 
import/activate the ISO domain?

 

[root@ovirt1 ~]# exportfs
/export/ISO world
[root@ovirt1 ~]# ovirt-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort):
ERROR: There are no ISO storage domains.

thanks

Will

 

 

 

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Will K
Hi Donny,

[environment:default]
OVESETUP_CORE/generatedByVersion=str:3.5.0.1
OVESETUP_CONFIG/firewallManager=none:None
OVESETUP_CONFIG/fqdn=str:ld4ovirt1.masked domainname
OVESETUP_ENGINE_CORE/enable=bool:True
OVESETUP_SYSTEM/nfsConfigEnabled_legacyInPostInstall=bool:False
OVESETUP_CONFIG/isoDomainMountPoint=str:/export/ISO
OVESETUP_CONFIG/isoDomainSdUuid=str:99e87801-e2d6-4c73-8980-aca4d3ff4a56
OVESETUP_CONFIG/isoDomainName=str:ISO_DOMAIN
OVESETUP_CONFIG/isoDomainStorageDir=str:/export/ISO/99e87801-e2d6-4c73-8980-aca4d3ff4a56/images/----
OVESETUP_CONFIG/isoDomainExists=bool:True
OVESETUP_APACHE/configured=bool:True
OVESETUP_CONFIG/websocketProxyConfig=bool:True


  I do have the isoDomainStorageDir.
[root@ld4ovirt1 images]# ls -l 
/export/ISO/99e87801-e2d6-4c73-8980-aca4d3ff4a56/images/
total 4
drwxr-xr-x 2 vdsm kvm 4096 Jan 14 17:16 ----
[root@ld4ovirt1 images]# cd ----
[root@ld4ovirt1 ----]# ls -l
total 0

   

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


Re: [ovirt-users] Hosted-engine ISO domain

2015-01-14 Thread Donny Davis
engine-setup --otopi-environment=OVESETUP_CONFIG/ isoDomainExists=bool:False

service ovirt-engine restart

 

This should stop the engine from telling you it already exists, and you should 
be able to add it from the UI

 

I have launched the engine setup 10+ times in the last 6 months and I have not 
encountered this issue. If someone more knowledgeable than me wants to set in, 
feel free

 

Donny D

 

From: Will K [mailto:yetanotherw...@yahoo.com] 
Sent: Wednesday, January 14, 2015 11:28 AM
To: Donny Davis; users@ovirt.org
Subject: Re: [ovirt-users] Hosted-engine ISO domain

 

Hi Donny,

 

[environment:default]
OVESETUP_CORE/generatedByVersion=str:3.5.0.1
OVESETUP_CONFIG/firewallManager=none:None
OVESETUP_CONFIG/fqdn=str:ld4ovirt1.masked domainname
OVESETUP_ENGINE_CORE/enable=bool:True
OVESETUP_SYSTEM/nfsConfigEnabled_legacyInPostInstall=bool:False
OVESETUP_CONFIG/isoDomainMountPoint=str:/export/ISO
OVESETUP_CONFIG/isoDomainSdUuid=str:99e87801-e2d6-4c73-8980-aca4d3ff4a56
OVESETUP_CONFIG/isoDomainName=str:ISO_DOMAIN
OVESETUP_CONFIG/isoDomainStorageDir=str:/export/ISO/99e87801-e2d6-4c73-8980-aca4d3ff4a56/images/----
OVESETUP_CONFIG/isoDomainExists=bool:True
OVESETUP_APACHE/configured=bool:True
OVESETUP_CONFIG/websocketProxyConfig=bool:True

 

I do have the isoDomainStorageDir.

 

[root@ld4ovirt1 images]# ls -l 
/export/ISO/99e87801-e2d6-4c73-8980-aca4d3ff4a56/images/
total 4
drwxr-xr-x 2 vdsm kvm 4096 Jan 14 17:16 ----

[root@ld4ovirt1 images]# cd ----
[root@ld4ovirt1 ----]# ls -l
total 0

 

 

 

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


Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network missing

2015-01-14 Thread Yedidyah Bar David
- Original Message -
 From: Lars Nielsen l...@steinwurf.com
 To: Michael Burman mbur...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, January 14, 2015 9:55:55 AM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt  network 
 missing
 
 
 On 13/01/15 16:03, Michael Burman wrote:
  Also change NAME=em1
  to:
  DEVICE=em1
and remove the # from the BOOTPROTO=none
 
 
  - Original Message -
  From: Michael Burman mbur...@redhat.com
  To: Lars Nielsen l...@steinwurf.com
  Cc: users@ovirt.org
  Sent: Tuesday, January 13, 2015 4:48:55 PM
  Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork
  missing
 
  Hi Lars
 
  First of all you have to decide from where your ovirtmgmt getting the ip,
  if it is from a dhcp server, you have to delete this lines from your
  ifcfg-ovirtmgmt file:
  IPADDR=192.168.1.10
  NETMASK=255.255.255.0
  GATEWAY=192.168.0.1
 
  and add the next line:
  NM_CONTROLLED=no
 
  - in the ifcfg-em1 file change:
  BOOTPROTO=none
 
  and add the line:
  NM_CONTROLLED=no
 
  restart your engine /etc/init.d/ovirt-engine restart and make sure your
  ovirtmgmt got ip and you have a default gateway, you can run: route -n
 
  Put your host in maintenance mode , try to activate or re-install.
 
  Best regards,
 
  Michael B
 
 
  - Original Message -
  From: Lars Nielsen l...@steinwurf.com
  To: Yedidyah Bar David d...@redhat.com
  Cc: users@ovirt.org
  Sent: Tuesday, January 13, 2015 12:05:05 PM
  Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network
  missing
 
 
  On 13/01/15 10:33, Yedidyah Bar David wrote:
  - Original Message -
  From: Lars Nielsenl...@steinwurf.com
  To: Yedidyah Bar Davidd...@redhat.com
  Cc:users@ovirt.org
  Sent: Tuesday, January 13, 2015 11:26:55 AM
  Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network
  missing
 
 
  On 13/01/15 09:31, Yedidyah Bar David wrote:
  - Original Message -
  From: Lars Nielsenl...@steinwurf.com
  To:users@ovirt.org
  Sent: Tuesday, January 13, 2015 10:20:20 AM
  Subject: [ovirt-users] Host in NonOperational mode ovirtmgmt network
  missing
 
  Hey I am new to oVirt, so please be patient
 
  I have a problem, when setting up new hosts.
  Doing the setup it self no problem, but afterwards the status is set to
  NonOperational.
  Do to the network ovirtmgmt is missing on the machine.
 
  However I have added the following ifcfg file:
  ifcfg-ovirtmgmt::
  DEVICE=ovirtmgmt
  TYPE=Bridge
  ONBOOT=yes
  DELAY=0
  BOOTPROTO=dhcp
  IPADDR=192.168.1.10
  NETMASK=255.255.255.0
  GATEWAY=192.168.0.1
 
  And made the adjustments, so the ifcfg-en1, file looks like this:
  TYPE=Ethernet
  #BOOTPROTO=dhcp
  DEFROUTE=yes
  IPV4_FAILURE_FATAL=no
  IPV6INIT=yes
  IPV6_AUTOCONF=yes
  IPV6_DEFROUTE=yes
  IPV6_PEERDNS=yes
  IPV6_PEERROUTES=yes
  IPV6_FAILURE_FATAL=no
  NAME=em1
  UUID=bdc14160-3cb6-48d7-b8b9-a382dc384add
  ONBOOT=yes
  HWADDR=F8:B1:56:C1:F9:8E
  PEERDNS=yes
  PEERROUTES=yes
  BRIDGE=ovirtmgmt
 
 
  I do realize that, the guides on the web for oVirt set BOOTPROTO to
  static. But at the office, we do not have the possibility of static IP,
  at the moment.
 
  Can some one please tell me what could be wrong ?
  dhcp should work too. The problem is with NetworkManager.
  You'll need to have static IPs though for the engine to be able to
  contact the hosts (as well as the hosts themselves, for hosted-engine HA
  at least), or you'll have problems if they for some reason get a
  different
  IP address from your dhcp server.
 
  Please post relevant logs:
  hosts - /var/log/ovirt-hosted-engine*/*, /var/log/vdsm/*
  engine - /var/log/ovirt-engine/*
 
  Thanks and best regards,
  Okay something seems to be a food here, because on the server hosting
  our oVirt instance. We do not have a /var/log/ovirt-hosted-engine
  directory.
  I didn't say you should - I wrote a '*' in the end. You should find
  /var/log/ovirt-hosted-engine-ha
  /var/log/ovirt-hosted-engine-setup
 
  But now I realize you did not mention hosted-engine. Can you detail
  a bit your setup? Where is the engine? Where are the hosts? How
  did you install and setup?

Can you please? Including OSes of each machine? Which packages you
installed, from which repo?

 
  However the log files from the two other directories, can be found here:
  https://dl.dropboxusercontent.com/u/55488/ovirt_ovirtlogs.tar
  Please add from engine also /var/log/ovirt-engine/host-deploy/* .
 
  Thanks!
  We do not have any ovirt-hosted-engine-* on the server, how ever here is
  a link to the complete ovirt-engine folder:
  https://dl.dropboxusercontent.com/u/55488/ovirt-engine.tar
 
  Thanks and Best Regards
  - Lars
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 Hey.
 I have had a look at this. This /etc/init.d/ovirt-engine, we also do not
 have on our system.

You won't find it on fedora, 

Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network missing

2015-01-14 Thread Lars Nielsen


On 14/01/15 09:43, Yedidyah Bar David wrote:

- Original Message -

From: Lars Nielsen l...@steinwurf.com
To: Michael Burman mbur...@redhat.com
Cc: users@ovirt.org
Sent: Wednesday, January 14, 2015 9:55:55 AM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork 
missing


On 13/01/15 16:03, Michael Burman wrote:

Also change NAME=em1
to:
DEVICE=em1
   and remove the # from the BOOTPROTO=none


- Original Message -
From: Michael Burman mbur...@redhat.com
To: Lars Nielsen l...@steinwurf.com
Cc: users@ovirt.org
Sent: Tuesday, January 13, 2015 4:48:55 PM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork
missing

Hi Lars

First of all you have to decide from where your ovirtmgmt getting the ip,
if it is from a dhcp server, you have to delete this lines from your
ifcfg-ovirtmgmt file:
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.0.1

and add the next line:
NM_CONTROLLED=no

- in the ifcfg-em1 file change:
BOOTPROTO=none

and add the line:
NM_CONTROLLED=no

restart your engine /etc/init.d/ovirt-engine restart and make sure your
ovirtmgmt got ip and you have a default gateway, you can run: route -n

Put your host in maintenance mode , try to activate or re-install.

Best regards,

Michael B


- Original Message -
From: Lars Nielsen l...@steinwurf.com
To: Yedidyah Bar David d...@redhat.com
Cc: users@ovirt.org
Sent: Tuesday, January 13, 2015 12:05:05 PM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network
missing


On 13/01/15 10:33, Yedidyah Bar David wrote:

- Original Message -

From: Lars Nielsenl...@steinwurf.com
To: Yedidyah Bar Davidd...@redhat.com
Cc:users@ovirt.org
Sent: Tuesday, January 13, 2015 11:26:55 AM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network
missing


On 13/01/15 09:31, Yedidyah Bar David wrote:

- Original Message -

From: Lars Nielsenl...@steinwurf.com
To:users@ovirt.org
Sent: Tuesday, January 13, 2015 10:20:20 AM
Subject: [ovirt-users] Host in NonOperational mode ovirtmgmt network
missing

Hey I am new to oVirt, so please be patient

I have a problem, when setting up new hosts.
Doing the setup it self no problem, but afterwards the status is set to
NonOperational.
Do to the network ovirtmgmt is missing on the machine.

However I have added the following ifcfg file:
ifcfg-ovirtmgmt::
DEVICE=ovirtmgmt
TYPE=Bridge
ONBOOT=yes
DELAY=0
BOOTPROTO=dhcp
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.0.1

And made the adjustments, so the ifcfg-en1, file looks like this:
TYPE=Ethernet
#BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=em1
UUID=bdc14160-3cb6-48d7-b8b9-a382dc384add
ONBOOT=yes
HWADDR=F8:B1:56:C1:F9:8E
PEERDNS=yes
PEERROUTES=yes
BRIDGE=ovirtmgmt


I do realize that, the guides on the web for oVirt set BOOTPROTO to
static. But at the office, we do not have the possibility of static IP,
at the moment.

Can some one please tell me what could be wrong ?

dhcp should work too. The problem is with NetworkManager.
You'll need to have static IPs though for the engine to be able to
contact the hosts (as well as the hosts themselves, for hosted-engine HA
at least), or you'll have problems if they for some reason get a
different
IP address from your dhcp server.

Please post relevant logs:
hosts - /var/log/ovirt-hosted-engine*/*, /var/log/vdsm/*
engine - /var/log/ovirt-engine/*

Thanks and best regards,

Okay something seems to be a food here, because on the server hosting
our oVirt instance. We do not have a /var/log/ovirt-hosted-engine
directory.

I didn't say you should - I wrote a '*' in the end. You should find
/var/log/ovirt-hosted-engine-ha
/var/log/ovirt-hosted-engine-setup

But now I realize you did not mention hosted-engine. Can you detail
a bit your setup? Where is the engine? Where are the hosts? How
did you install and setup?

Can you please? Including OSes of each machine? Which packages you
installed, from which repo?


However the log files from the two other directories, can be found here:
https://dl.dropboxusercontent.com/u/55488/ovirt_ovirtlogs.tar

Please add from engine also /var/log/ovirt-engine/host-deploy/* .

Thanks!

We do not have any ovirt-hosted-engine-* on the server, how ever here is
a link to the complete ovirt-engine folder:
https://dl.dropboxusercontent.com/u/55488/ovirt-engine.tar

Thanks and Best Regards
- Lars
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Hey.
I have had a look at this. This /etc/init.d/ovirt-engine, we also do not
have on our system.

You won't find it on fedora, this is a sysvinit script. On fedora you should
have /usr/lib/systemd/system/ovirt-engine.service .


So how can I restart my oVirt instance?

For both systemd and sysv, this should work:
service ovirt-engine 

Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network missing

2015-01-14 Thread Lars Nielsen


On 14/01/15 09:43, Yedidyah Bar David wrote:

- Original Message -

From: Lars Nielsen l...@steinwurf.com
To: Michael Burman mbur...@redhat.com
Cc: users@ovirt.org
Sent: Wednesday, January 14, 2015 9:55:55 AM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork 
missing


On 13/01/15 16:03, Michael Burman wrote:

Also change NAME=em1
to:
DEVICE=em1
   and remove the # from the BOOTPROTO=none


- Original Message -
From: Michael Burman mbur...@redhat.com
To: Lars Nielsen l...@steinwurf.com
Cc: users@ovirt.org
Sent: Tuesday, January 13, 2015 4:48:55 PM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork
missing

Hi Lars

First of all you have to decide from where your ovirtmgmt getting the ip,
if it is from a dhcp server, you have to delete this lines from your
ifcfg-ovirtmgmt file:
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.0.1

and add the next line:
NM_CONTROLLED=no

- in the ifcfg-em1 file change:
BOOTPROTO=none

and add the line:
NM_CONTROLLED=no

restart your engine /etc/init.d/ovirt-engine restart and make sure your
ovirtmgmt got ip and you have a default gateway, you can run: route -n

Put your host in maintenance mode , try to activate or re-install.

Best regards,

Michael B


- Original Message -
From: Lars Nielsen l...@steinwurf.com
To: Yedidyah Bar David d...@redhat.com
Cc: users@ovirt.org
Sent: Tuesday, January 13, 2015 12:05:05 PM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network
missing


On 13/01/15 10:33, Yedidyah Bar David wrote:

- Original Message -

From: Lars Nielsenl...@steinwurf.com
To: Yedidyah Bar Davidd...@redhat.com
Cc:users@ovirt.org
Sent: Tuesday, January 13, 2015 11:26:55 AM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network
missing


On 13/01/15 09:31, Yedidyah Bar David wrote:

- Original Message -

From: Lars Nielsenl...@steinwurf.com
To:users@ovirt.org
Sent: Tuesday, January 13, 2015 10:20:20 AM
Subject: [ovirt-users] Host in NonOperational mode ovirtmgmt network
missing

Hey I am new to oVirt, so please be patient

I have a problem, when setting up new hosts.
Doing the setup it self no problem, but afterwards the status is set to
NonOperational.
Do to the network ovirtmgmt is missing on the machine.

However I have added the following ifcfg file:
ifcfg-ovirtmgmt::
DEVICE=ovirtmgmt
TYPE=Bridge
ONBOOT=yes
DELAY=0
BOOTPROTO=dhcp
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.0.1

And made the adjustments, so the ifcfg-en1, file looks like this:
TYPE=Ethernet
#BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=em1
UUID=bdc14160-3cb6-48d7-b8b9-a382dc384add
ONBOOT=yes
HWADDR=F8:B1:56:C1:F9:8E
PEERDNS=yes
PEERROUTES=yes
BRIDGE=ovirtmgmt


I do realize that, the guides on the web for oVirt set BOOTPROTO to
static. But at the office, we do not have the possibility of static IP,
at the moment.

Can some one please tell me what could be wrong ?

dhcp should work too. The problem is with NetworkManager.
You'll need to have static IPs though for the engine to be able to
contact the hosts (as well as the hosts themselves, for hosted-engine HA
at least), or you'll have problems if they for some reason get a
different
IP address from your dhcp server.

Please post relevant logs:
hosts - /var/log/ovirt-hosted-engine*/*, /var/log/vdsm/*
engine - /var/log/ovirt-engine/*

Thanks and best regards,

Okay something seems to be a food here, because on the server hosting
our oVirt instance. We do not have a /var/log/ovirt-hosted-engine
directory.

I didn't say you should - I wrote a '*' in the end. You should find
/var/log/ovirt-hosted-engine-ha
/var/log/ovirt-hosted-engine-setup

But now I realize you did not mention hosted-engine. Can you detail
a bit your setup? Where is the engine? Where are the hosts? How
did you install and setup?

Can you please? Including OSes of each machine? Which packages you
installed, from which repo?


However the log files from the two other directories, can be found here:
https://dl.dropboxusercontent.com/u/55488/ovirt_ovirtlogs.tar

Please add from engine also /var/log/ovirt-engine/host-deploy/* .

Thanks!

We do not have any ovirt-hosted-engine-* on the server, how ever here is
a link to the complete ovirt-engine folder:
https://dl.dropboxusercontent.com/u/55488/ovirt-engine.tar

Thanks and Best Regards
- Lars
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Hey.
I have had a look at this. This /etc/init.d/ovirt-engine, we also do not
have on our system.

You won't find it on fedora, this is a sysvinit script. On fedora you should
have /usr/lib/systemd/system/ovirt-engine.service .


So how can I restart my oVirt instance?

For both systemd and sysv, this should work:
service ovirt-engine 

Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network missing

2015-01-14 Thread Yedidyah Bar David
- Original Message -
 From: Lars Nielsen l...@steinwurf.com
 To: Yedidyah Bar David d...@redhat.com
 Cc: Michael Burman mbur...@redhat.com, users@ovirt.org
 Sent: Wednesday, January 14, 2015 10:51:19 AM
 Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt  network 
 missing
[snip]
 We are testing out, different solution for virtualization, to set up a
 more diverge build environment.

OK.

 So I am testing out oVirt for this purpose, and I am at the stage where
 I am to setup the first host.

Meaning, you have the engine up and running on some machine (VM), and now
try to install a host. Right? Which OSes?

 However, when the host it setup, I get the
 error NonOperational, because it can not find the ovirtmgmt network on
 the machine.

Please post the host-install log of this host. You should find it on
engine machine in /var/log/ovirt-engine/host-deploy .

As mentioned already, there are problems with NetworkManager. I suggest
to remove it completely from the host, make sure networking works well,
then try to reinstall the host from the web admin. If it fails, please
post host-install logs. Thanks.

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


Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network missing

2015-01-14 Thread Lars Nielsen


On 14/01/15 10:25, Yedidyah Bar David wrote:

- Original Message -

From: Lars Nielsen l...@steinwurf.com
To: Yedidyah Bar David d...@redhat.com
Cc: Michael Burman mbur...@redhat.com, users@ovirt.org
Sent: Wednesday, January 14, 2015 10:51:19 AM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmtnetwork 
missing

[snip]

We are testing out, different solution for virtualization, to set up a
more diverge build environment.

OK.


So I am testing out oVirt for this purpose, and I am at the stage where
I am to setup the first host.

Meaning, you have the engine up and running on some machine (VM), and now
try to install a host. Right? Which OSes?


However, when the host it setup, I get the
error NonOperational, because it can not find the ovirtmgmt network on
the machine.

Please post the host-install log of this host. You should find it on
engine machine in /var/log/ovirt-engine/host-deploy .

As mentioned already, there are problems with NetworkManager. I suggest
to remove it completely from the host, make sure networking works well,
then try to reinstall the host from the web admin. If it fails, please
post host-install logs. Thanks.

Best,
You can find the log file, in this tar ball: 
https://dl.dropboxusercontent.com/u/55488/ovirt-engine.tar


Thanks and Best Regards
- Lars
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Network performance drop when compared to other hypervisor with vhost_net on for UDP

2015-01-14 Thread mad Engineer
I am running RHEL6.5 as Host and Guest on HP server.
Server has 128G and 48 Core[with HT enabled.]

3 VMs are running 2 pinned to first 24 PCPU with proper NUMA pinning,

Guests:

VM1:
6 VCPU  pinned to 6 PCPU NUMA node 1,with 16G RAM

VM2:
6 VCPU pinned to 6 PCPU on NUMA node 0,with 16G RAM

VM3:
2 VCPU ,no pinning,4G RAM

HOST
host has 10 free CPU+24 HT threads which is not allocated and is available.
Host also runs a small application that is single threaded,that uses ~4G RAM.

Total resource to host is 10 CPU+24 HT=34 and 92G unallocated RAM[VMS
dont even use 70% of allocated RAM] also ksm is not running.

Networking:
Uses linux bridge connected to 1Gbps eth0,with ip assigned on eth0
[This IP is called for accessing application running on host]
All vms use virtio and VHOST is on .

Traffic on virtual machines are ~3MBps and combined traffic on host is ~14MBps

VHOST-pid-of-qemu-process sometimes uses ~35% CPU.


There is no packet loss,drop or latency,but the issue is with the same
setup on Vmware with same sizing of virtual machines,with the only
difference as application running on host has moved to fourth VM.So in
Vmware there are 4 VMs.
Application gives better number ie on KVM that number is 310 and on
vmware it is 570.Application uses UDP to communicate.

I tried removing VHOST,still value is same.(I hope VHOST-NET UDP issue
is solved)

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


Re: [ovirt-users] [Gluster-users] Failed to create volume in OVirt with gluster

2015-01-14 Thread Atin Mukherjee
Punit,

cli log wouldn't help much here. To debug this issue further can you
please let us know the following:

1. gluster peer status output
2. gluster volume status output
3. gluster --version output.
4. Which command got failed
5. glusterd log file of all the nodes

~Atin


On 01/13/2015 07:48 AM, Punit Dambiwal wrote:
 Hi,
 
 Please find the more details on this can anybody from gluster will help
 me here :-
 
 
 Gluster CLI Logs :- /var/log/glusterfs/cli.log
 
 [2015-01-13 02:06:23.071969] T [cli.c:264:cli_rpc_notify] 0-glusterfs: got
 RPC_CLNT_CONNECT
 [2015-01-13 02:06:23.072012] T [cli-quotad-client.c:94:cli_quotad_notify]
 0-glusterfs: got RPC_CLNT_CONNECT
 [2015-01-13 02:06:23.072024] I [socket.c:2344:socket_event_handler]
 0-transport: disconnecting now
 [2015-01-13 02:06:23.072055] T [cli-quotad-client.c:100:cli_quotad_notify]
 0-glusterfs: got RPC_CLNT_DISCONNECT
 [2015-01-13 02:06:23.072131] T [rpc-clnt.c:1381:rpc_clnt_record]
 0-glusterfs: Auth Info: pid: 0, uid: 0, gid: 0, owner:
 [2015-01-13 02:06:23.072176] T
 [rpc-clnt.c:1238:rpc_clnt_record_build_header] 0-rpc-clnt: Request fraglen
 128, payload: 64, rpc hdr: 64
 [2015-01-13 02:06:23.072572] T [socket.c:2863:socket_connect] (--
 /usr/lib64/libglusterfs.so.0(_gf_log_callingfn+0x1e0)[0x7fed02f15420] (--
 /usr/lib64/glusterfs/3.6.1/rpc-transport/socket.so(+0x7293)[0x7fed001a4293]
 (-- /usr/lib64/libgfrpc.so.0(rpc_clnt_submit+0x468)[0x7fed0266df98] (--
 /usr/sbin/gluster(cli_submit_request+0xdb)[0x40a9bb] (--
 /usr/sbin/gluster(cli_cmd_submit+0x8e)[0x40b7be] ) 0-glusterfs: connect
 () called on transport already connected
 [2015-01-13 02:06:23.072616] T [rpc-clnt.c:1573:rpc_clnt_submit]
 0-rpc-clnt: submitted request (XID: 0x1 Program: Gluster CLI, ProgVers: 2,
 Proc: 27) to rpc-transport (glusterfs)
 [2015-01-13 02:06:23.072633] D [rpc-clnt-ping.c:231:rpc_clnt_start_ping]
 0-glusterfs: ping timeout is 0, returning
 [2015-01-13 02:06:23.075930] T [rpc-clnt.c:660:rpc_clnt_reply_init]
 0-glusterfs: received rpc message (RPC XID: 0x1 Program: Gluster CLI,
 ProgVers: 2, Proc: 27) from rpc-transport (glusterfs)
 [2015-01-13 02:06:23.075976] D [cli-rpc-ops.c:6548:gf_cli_status_cbk]
 0-cli: Received response to status cmd
 [2015-01-13 02:06:23.076025] D [cli-cmd.c:384:cli_cmd_submit] 0-cli:
 Returning 0
 [2015-01-13 02:06:23.076049] D [cli-rpc-ops.c:6811:gf_cli_status_volume]
 0-cli: Returning: 0
 [2015-01-13 02:06:23.076192] D [cli-xml-output.c:84:cli_begin_xml_output]
 0-cli: Returning 0
 [2015-01-13 02:06:23.076244] D [cli-xml-output.c:131:cli_xml_output_common]
 0-cli: Returning 0
 [2015-01-13 02:06:23.076256] D
 [cli-xml-output.c:1375:cli_xml_output_vol_status_begin] 0-cli: Returning 0
 [2015-01-13 02:06:23.076437] D [cli-xml-output.c:108:cli_end_xml_output]
 0-cli: Returning 0
 [2015-01-13 02:06:23.076459] D
 [cli-xml-output.c:1398:cli_xml_output_vol_status_end] 0-cli: Returning 0
 [2015-01-13 02:06:23.076490] I [input.c:36:cli_batch] 0-: Exiting with: 0
 
 Command log :- /var/log/glusterfs/.cmd_log_history
 
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:10:35.836676]  : volume status all tasks : FAILED : Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:16:25.956514]  : volume status all tasks : FAILED : Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:17:36.977833]  : volume status all tasks : FAILED : Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:21:07.048053]  : volume status all tasks : FAILED : Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:26:57.168661]  : volume status all tasks : FAILED : Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:28:07.194428]  : volume 

Re: [ovirt-users] [Gluster-users] Failed to create volume in OVirt with gluster

2015-01-14 Thread Atin Mukherjee


On 01/13/2015 12:12 PM, Punit Dambiwal wrote:
 Hi Atin,
 
 Please find the output from here :- http://ur1.ca/jf4bs
 
Looks like http://review.gluster.org/#/c/9269/ should solve this issue.
Please note this patch has not been taken in 3.6 release. Would you be
able to apply this patch on the source and re-test?

~Atin
 On Tue, Jan 13, 2015 at 12:37 PM, Atin Mukherjee amukh...@redhat.com
 wrote:
 
 Punit,

 cli log wouldn't help much here. To debug this issue further can you
 please let us know the following:

 1. gluster peer status output
 2. gluster volume status output
 3. gluster --version output.
 4. Which command got failed
 5. glusterd log file of all the nodes

 ~Atin


 On 01/13/2015 07:48 AM, Punit Dambiwal wrote:
 Hi,

 Please find the more details on this can anybody from gluster will
 help
 me here :-


 Gluster CLI Logs :- /var/log/glusterfs/cli.log

 [2015-01-13 02:06:23.071969] T [cli.c:264:cli_rpc_notify] 0-glusterfs:
 got
 RPC_CLNT_CONNECT
 [2015-01-13 02:06:23.072012] T [cli-quotad-client.c:94:cli_quotad_notify]
 0-glusterfs: got RPC_CLNT_CONNECT
 [2015-01-13 02:06:23.072024] I [socket.c:2344:socket_event_handler]
 0-transport: disconnecting now
 [2015-01-13 02:06:23.072055] T
 [cli-quotad-client.c:100:cli_quotad_notify]
 0-glusterfs: got RPC_CLNT_DISCONNECT
 [2015-01-13 02:06:23.072131] T [rpc-clnt.c:1381:rpc_clnt_record]
 0-glusterfs: Auth Info: pid: 0, uid: 0, gid: 0, owner:
 [2015-01-13 02:06:23.072176] T
 [rpc-clnt.c:1238:rpc_clnt_record_build_header] 0-rpc-clnt: Request
 fraglen
 128, payload: 64, rpc hdr: 64
 [2015-01-13 02:06:23.072572] T [socket.c:2863:socket_connect] (--
 /usr/lib64/libglusterfs.so.0(_gf_log_callingfn+0x1e0)[0x7fed02f15420]
 (--

 /usr/lib64/glusterfs/3.6.1/rpc-transport/socket.so(+0x7293)[0x7fed001a4293]
 (-- /usr/lib64/libgfrpc.so.0(rpc_clnt_submit+0x468)[0x7fed0266df98] (--
 /usr/sbin/gluster(cli_submit_request+0xdb)[0x40a9bb] (--
 /usr/sbin/gluster(cli_cmd_submit+0x8e)[0x40b7be] ) 0-glusterfs:
 connect
 () called on transport already connected
 [2015-01-13 02:06:23.072616] T [rpc-clnt.c:1573:rpc_clnt_submit]
 0-rpc-clnt: submitted request (XID: 0x1 Program: Gluster CLI, ProgVers:
 2,
 Proc: 27) to rpc-transport (glusterfs)
 [2015-01-13 02:06:23.072633] D [rpc-clnt-ping.c:231:rpc_clnt_start_ping]
 0-glusterfs: ping timeout is 0, returning
 [2015-01-13 02:06:23.075930] T [rpc-clnt.c:660:rpc_clnt_reply_init]
 0-glusterfs: received rpc message (RPC XID: 0x1 Program: Gluster CLI,
 ProgVers: 2, Proc: 27) from rpc-transport (glusterfs)
 [2015-01-13 02:06:23.075976] D [cli-rpc-ops.c:6548:gf_cli_status_cbk]
 0-cli: Received response to status cmd
 [2015-01-13 02:06:23.076025] D [cli-cmd.c:384:cli_cmd_submit] 0-cli:
 Returning 0
 [2015-01-13 02:06:23.076049] D [cli-rpc-ops.c:6811:gf_cli_status_volume]
 0-cli: Returning: 0
 [2015-01-13 02:06:23.076192] D [cli-xml-output.c:84:cli_begin_xml_output]
 0-cli: Returning 0
 [2015-01-13 02:06:23.076244] D
 [cli-xml-output.c:131:cli_xml_output_common]
 0-cli: Returning 0
 [2015-01-13 02:06:23.076256] D
 [cli-xml-output.c:1375:cli_xml_output_vol_status_begin] 0-cli: Returning
 0
 [2015-01-13 02:06:23.076437] D [cli-xml-output.c:108:cli_end_xml_output]
 0-cli: Returning 0
 [2015-01-13 02:06:23.076459] D
 [cli-xml-output.c:1398:cli_xml_output_vol_status_end] 0-cli: Returning 0
 [2015-01-13 02:06:23.076490] I [input.c:36:cli_batch] 0-: Exiting with: 0

 Command log :- /var/log/glusterfs/.cmd_log_history

 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:10:35.836676]  : volume status all tasks : FAILED :
 Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:16:25.956514]  : volume status all tasks : FAILED :
 Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:17:36.977833]  : volume status all tasks : FAILED :
 Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. Please check log
 file for details.
 [2015-01-13 01:21:07.048053]  : volume status all tasks : FAILED :
 Staging
 failed on ----. Please check log file for
 details.
 Staging failed on ----. Please check log
 file for details.
 Staging failed on ----. 

Re: [ovirt-users] Network performance drop when compared to other hypervisor with vhost_net on for UDP

2015-01-14 Thread Martin Pavlík
Hi,

from the top of my head you could try to play with tuned both with guest and 
host

###Install###
 yum install tuned
 /etc/init.d/tuned start
 chkconfig tuned on

###usage###
list the profile:
 tuned-adm list

change your profile:
tuned-adm profile throughput-performance

maybe try to experiment with other profiles.

HTH

Martin Pavlik
RHEV QE

 On 14 Jan 2015, at 12:06, mad Engineer themadengin...@gmail.com wrote:
 
 I am running RHEL6.5 as Host and Guest on HP server.
 Server has 128G and 48 Core[with HT enabled.]
 
 3 VMs are running 2 pinned to first 24 PCPU with proper NUMA pinning,
 
 Guests:
 
 VM1:
 6 VCPU  pinned to 6 PCPU NUMA node 1,with 16G RAM
 
 VM2:
 6 VCPU pinned to 6 PCPU on NUMA node 0,with 16G RAM
 
 VM3:
 2 VCPU ,no pinning,4G RAM
 
 HOST
 host has 10 free CPU+24 HT threads which is not allocated and is available.
 Host also runs a small application that is single threaded,that uses ~4G RAM.
 
 Total resource to host is 10 CPU+24 HT=34 and 92G unallocated RAM[VMS
 dont even use 70% of allocated RAM] also ksm is not running.
 
 Networking:
 Uses linux bridge connected to 1Gbps eth0,with ip assigned on eth0
 [This IP is called for accessing application running on host]
 All vms use virtio and VHOST is on .
 
 Traffic on virtual machines are ~3MBps and combined traffic on host is ~14MBps
 
 VHOST-pid-of-qemu-process sometimes uses ~35% CPU.
 
 
 There is no packet loss,drop or latency,but the issue is with the same
 setup on Vmware with same sizing of virtual machines,with the only
 difference as application running on host has moved to fourth VM.So in
 Vmware there are 4 VMs.
 Application gives better number ie on KVM that number is 310 and on
 vmware it is 570.Application uses UDP to communicate.
 
 I tried removing VHOST,still value is same.(I hope VHOST-NET UDP issue
 is solved)
 
 Thanks for any help
 ___
 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] Network performance drop when compared to other hypervisor with vhost_net on for UDP

2015-01-14 Thread mad Engineer
Thanks Martin,
  How can we see the changes made by tuned?
for virtual guest i see it changes scheduler to deadline.Is there
any way to see what parameters each  profile is going to change

Thanks

On Wed, Jan 14, 2015 at 6:14 PM, Martin Pavlík mpav...@redhat.com wrote:
 Hi,

 from the top of my head you could try to play with tuned both with guest and 
 host

 ###Install###
  yum install tuned
  /etc/init.d/tuned start
  chkconfig tuned on

 ###usage###
 list the profile:
  tuned-adm list

 change your profile:
 tuned-adm profile throughput-performance

 maybe try to experiment with other profiles.

 HTH

 Martin Pavlik
 RHEV QE

 On 14 Jan 2015, at 12:06, mad Engineer themadengin...@gmail.com wrote:

 I am running RHEL6.5 as Host and Guest on HP server.
 Server has 128G and 48 Core[with HT enabled.]

 3 VMs are running 2 pinned to first 24 PCPU with proper NUMA pinning,

 Guests:

 VM1:
 6 VCPU  pinned to 6 PCPU NUMA node 1,with 16G RAM

 VM2:
 6 VCPU pinned to 6 PCPU on NUMA node 0,with 16G RAM

 VM3:
 2 VCPU ,no pinning,4G RAM

 HOST
 host has 10 free CPU+24 HT threads which is not allocated and is available.
 Host also runs a small application that is single threaded,that uses ~4G RAM.

 Total resource to host is 10 CPU+24 HT=34 and 92G unallocated RAM[VMS
 dont even use 70% of allocated RAM] also ksm is not running.

 Networking:
 Uses linux bridge connected to 1Gbps eth0,with ip assigned on eth0
 [This IP is called for accessing application running on host]
 All vms use virtio and VHOST is on .

 Traffic on virtual machines are ~3MBps and combined traffic on host is 
 ~14MBps

 VHOST-pid-of-qemu-process sometimes uses ~35% CPU.


 There is no packet loss,drop or latency,but the issue is with the same
 setup on Vmware with same sizing of virtual machines,with the only
 difference as application running on host has moved to fourth VM.So in
 Vmware there are 4 VMs.
 Application gives better number ie on KVM that number is 310 and on
 vmware it is 570.Application uses UDP to communicate.

 I tried removing VHOST,still value is same.(I hope VHOST-NET UDP issue
 is solved)

 Thanks for any help
 ___
 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] Network performance drop when compared to other hypervisor with vhost_net on for UDP

2015-01-14 Thread Martin Pavlík
Check files under /etc/tune-profiles/

HTH

Martin Pavlik

RHEV QE

 On 14 Jan 2015, at 13:55, mad Engineer themadengin...@gmail.com wrote:
 
 Thanks Martin,
  How can we see the changes made by tuned?
 for virtual guest i see it changes scheduler to deadline.Is there
 any way to see what parameters each  profile is going to change
 
 Thanks
 
 On Wed, Jan 14, 2015 at 6:14 PM, Martin Pavlík mpav...@redhat.com wrote:
 Hi,
 
 from the top of my head you could try to play with tuned both with guest and 
 host
 
 ###Install###
 yum install tuned
 /etc/init.d/tuned start
 chkconfig tuned on
 
 ###usage###
 list the profile:
 tuned-adm list
 
 change your profile:
 tuned-adm profile throughput-performance
 
 maybe try to experiment with other profiles.
 
 HTH
 
 Martin Pavlik
 RHEV QE
 
 On 14 Jan 2015, at 12:06, mad Engineer themadengin...@gmail.com wrote:
 
 I am running RHEL6.5 as Host and Guest on HP server.
 Server has 128G and 48 Core[with HT enabled.]
 
 3 VMs are running 2 pinned to first 24 PCPU with proper NUMA pinning,
 
 Guests:
 
 VM1:
 6 VCPU  pinned to 6 PCPU NUMA node 1,with 16G RAM
 
 VM2:
 6 VCPU pinned to 6 PCPU on NUMA node 0,with 16G RAM
 
 VM3:
 2 VCPU ,no pinning,4G RAM
 
 HOST
 host has 10 free CPU+24 HT threads which is not allocated and is available.
 Host also runs a small application that is single threaded,that uses ~4G 
 RAM.
 
 Total resource to host is 10 CPU+24 HT=34 and 92G unallocated RAM[VMS
 dont even use 70% of allocated RAM] also ksm is not running.
 
 Networking:
 Uses linux bridge connected to 1Gbps eth0,with ip assigned on eth0
 [This IP is called for accessing application running on host]
 All vms use virtio and VHOST is on .
 
 Traffic on virtual machines are ~3MBps and combined traffic on host is 
 ~14MBps
 
 VHOST-pid-of-qemu-process sometimes uses ~35% CPU.
 
 
 There is no packet loss,drop or latency,but the issue is with the same
 setup on Vmware with same sizing of virtual machines,with the only
 difference as application running on host has moved to fourth VM.So in
 Vmware there are 4 VMs.
 Application gives better number ie on KVM that number is 310 and on
 vmware it is 570.Application uses UDP to communicate.
 
 I tried removing VHOST,still value is same.(I hope VHOST-NET UDP issue
 is solved)
 
 Thanks for any help
 ___
 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