[ovirt-users] Re: gdeployConfig.conf errors (Hyperconverged setup using GUI)

2019-03-11 Thread Gobinda Das
Hi Adrian,
 Looks like issue is with lvm (
https://bugzilla.redhat.com/show_bug.cgi?id=502671  and
https://bugzilla.redhat.com/show_bug.cgi?id=1664461 )
And it's fixed in lvm2-2.02.46-3.el5
Can you please check your lvm2 version?

On Mon, Mar 11, 2019 at 1:57 PM Sahina Bose  wrote:

> +Gobinda Das +Dhanjal Parth
>
> On Mon, Mar 11, 2019 at 1:42 AM  wrote:
> >
> > Hello I am trying to run a Hyperconverged setup "COnfigure gluster
> storage and ovirt hosted engine", however  I get the following error
> >
> >
> __
> >  PLAY [gluster_servers]
> *
> >
> > TASK [Create LVs with specified size for the VGs]
> **
> > failed: [ovirt01.grupokino.com] (item={u'lv': u'gluster_thinpool_sdb',
> u'size': u'45GB', u'extent': u'100%FREE', u'vg': u'gluster_vg_sdb'}) =>
> {"changed": false, "item": {"extent": "100%FREE", "lv":
> "gluster_thinpool_sdb", "size": "45GB", "vg": "gluster_vg_sdb"}, "msg":
> "lvcreate: metadata/pv_map.c:198: consume_pv_area: Assertion `to_go <=
> pva->count' failed.\n", "rc": -6}
> > to retry, use: --limit @/tmp/tmpwo4SNB/lvcreate.retry
> >
> > PLAY RECAP
> *
> > ovirt01.grupokino.com  : ok=0changed=0unreachable=0
> failed=1
> >
> __
> >
> > I know that oVirt Hosted Engine Setup GUI for "gluster wizard (gluster
> deployment) does not populate the geodeployConfig.conf file properly
> (Generated Gdeploy configuration :
> /var/lib/ovirt-hosted-engine-setup/gdeploy/gdeployConfig.conf) so I have
> tried to modify it to fit our needs but keep getting the above error
> everytime.
> >
> > Any ideas or comments are welcome...Thanks!
> >
> >
> >
> >
> > My servers are setup with 4x50GB disks, 1 for the OS and the rest for
> Gluster Hyperconverged setup.
> >
> __
> > my gdeployConfig.conf file:
> >
> __
> > #gdeploy configuration generated by cockpit-gluster plugin
> > [hosts]
> > ovirt01.mydomain.com
> > ovirt02.mydomain.com
> > ovirt03.mydomain.com
> >
> > [script1:ovirt01.mydomain.com]
> > action=execute
> > ignore_script_errors=no
> > file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb,sdc,sdd
> -h ovirt01.mydomain.com, ovirt02.mydomain.com, ovirt03.mydomain.com
> >
> > [script1:ovirt02.mydomain.com]
> > action=execute
> > ignore_script_errors=no
> > file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb,sdc,sdd
> -h ovirt01.mydomain.com, ovirt02.mydomain.com, ovirt03.mydomain.com
> >
> > [script1:ovirt03.mydomain.com]
> > action=execute
> > ignore_script_errors=no
> > file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb,sdc,sdd
> -h ovirt01.mydomain.com, ovirt02.mydomain.com, ovirt03.mydomain.com
> >
> > [disktype]
> > jbod
> >
> > [diskcount]
> > 3
> >
> > [stripesize]
> > 256
> >
> > [service1]
> > action=enable
> > service=chronyd
> >
> > [service2]
> > action=restart
> > service=chronyd
> >
> > [shell2]
> > action=execute
> > command=vdsm-tool configure --force
> >
> > [script3]
> > action=execute
> > file=/usr/share/gdeploy/scripts/blacklist_all_disks.sh
> > ignore_script_errors=no
> >
> > [pv1:ovirt01.mydomain.com]
> > action=create
> > devices=sdb
> > ignore_pv_errors=no
> >
> > [pv1:ovirt02.mydomain.com]
> > action=create
> > devices=sdb
> > ignore_pv_errors=no
> >
> > [pv1:ovirt03.mydomain.com]
> > action=create
> > devices=sdb
> > ignore_pv_errors=no
> >
> > [pv2:ovirt01.mydomain.com]
> > action=create
> > devices=sdc
> > ignore_pv_errors=no
> >
> > [pv2:ovirt02.mydomain.com]
> > action=create
> > devices=sdc
> > ignore_pv_errors=no
> >
> > [pv2:ovirt03.mydomain.com]
> > action=create
> > devices=sdc
> > ignore_pv_errors=no
> >
> > [pv3:ovirt01.mydomain.com]
> > action=create
> > devices=sdd
> > ignore_pv_errors=no
> >
> > [pv3:ovirt02.mydomain.com]
> > action=create
> > devices=sdd
> > ignore_pv_errors=no
> >
> > [pv3:ovirt03.mydomain.com]
> > action=create
> > devices=sdd
> > ignore_pv_errors=no
> >
> > [vg1:ovirt01.mydomain.com]
> > action=create
> > vgname=gluster_vg_sdb
> > pvname=sdb
> > ignore_vg_errors=no
> >
> > [vg1:ovirt02.mydomain.com]
> > action=create
> > vgname=gluster_vg_sdb
> > pvname=sdb
> > ignore_vg_errors=no
> >
> > [vg1:ovirt03.mydomain.com]
> > action=create
> > vgname=gluster_vg_sdb
> > pvname=sdb
> > ignore_vg_errors=no
> >
> > [vg2:ovirt01.mydomain.com]
> > action=create
> > vgname=gluster_vg_sdc
> > pvname=sdc
> > ignore_vg_errors=no
> >
> > [vg2:ovirt02.mydomain.com]
> > action=create
> > vgname=gluster_vg_sdc
> > pvname=sdc
> > ignore_vg_errors=no
> >
> > [vg2:ovirt03.mydomain.com]
> > 

[ovirt-users] Re: gdeployConfig.conf errors (Hyperconverged setup using GUI)

2019-03-11 Thread Sahina Bose
+Gobinda Das +Dhanjal Parth

On Mon, Mar 11, 2019 at 1:42 AM  wrote:
>
> Hello I am trying to run a Hyperconverged setup "COnfigure gluster storage 
> and ovirt hosted engine", however  I get the following error
>
> __
>  PLAY [gluster_servers] 
> *
>
> TASK [Create LVs with specified size for the VGs] 
> **
> failed: [ovirt01.grupokino.com] (item={u'lv': u'gluster_thinpool_sdb', 
> u'size': u'45GB', u'extent': u'100%FREE', u'vg': u'gluster_vg_sdb'}) => 
> {"changed": false, "item": {"extent": "100%FREE", "lv": 
> "gluster_thinpool_sdb", "size": "45GB", "vg": "gluster_vg_sdb"}, "msg": 
> "lvcreate: metadata/pv_map.c:198: consume_pv_area: Assertion `to_go <= 
> pva->count' failed.\n", "rc": -6}
> to retry, use: --limit @/tmp/tmpwo4SNB/lvcreate.retry
>
> PLAY RECAP 
> *
> ovirt01.grupokino.com  : ok=0changed=0unreachable=0failed=1
> __
>
> I know that oVirt Hosted Engine Setup GUI for "gluster wizard (gluster 
> deployment) does not populate the geodeployConfig.conf file properly 
> (Generated Gdeploy configuration : 
> /var/lib/ovirt-hosted-engine-setup/gdeploy/gdeployConfig.conf) so I have 
> tried to modify it to fit our needs but keep getting the above error 
> everytime.
>
> Any ideas or comments are welcome...Thanks!
>
>
>
>
> My servers are setup with 4x50GB disks, 1 for the OS and the rest for Gluster 
> Hyperconverged setup.
> __
> my gdeployConfig.conf file:
> __
> #gdeploy configuration generated by cockpit-gluster plugin
> [hosts]
> ovirt01.mydomain.com
> ovirt02.mydomain.com
> ovirt03.mydomain.com
>
> [script1:ovirt01.mydomain.com]
> action=execute
> ignore_script_errors=no
> file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb,sdc,sdd -h 
> ovirt01.mydomain.com, ovirt02.mydomain.com, ovirt03.mydomain.com
>
> [script1:ovirt02.mydomain.com]
> action=execute
> ignore_script_errors=no
> file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb,sdc,sdd -h 
> ovirt01.mydomain.com, ovirt02.mydomain.com, ovirt03.mydomain.com
>
> [script1:ovirt03.mydomain.com]
> action=execute
> ignore_script_errors=no
> file=/usr/share/gdeploy/scripts/grafton-sanity-check.sh -d sdb,sdc,sdd -h 
> ovirt01.mydomain.com, ovirt02.mydomain.com, ovirt03.mydomain.com
>
> [disktype]
> jbod
>
> [diskcount]
> 3
>
> [stripesize]
> 256
>
> [service1]
> action=enable
> service=chronyd
>
> [service2]
> action=restart
> service=chronyd
>
> [shell2]
> action=execute
> command=vdsm-tool configure --force
>
> [script3]
> action=execute
> file=/usr/share/gdeploy/scripts/blacklist_all_disks.sh
> ignore_script_errors=no
>
> [pv1:ovirt01.mydomain.com]
> action=create
> devices=sdb
> ignore_pv_errors=no
>
> [pv1:ovirt02.mydomain.com]
> action=create
> devices=sdb
> ignore_pv_errors=no
>
> [pv1:ovirt03.mydomain.com]
> action=create
> devices=sdb
> ignore_pv_errors=no
>
> [pv2:ovirt01.mydomain.com]
> action=create
> devices=sdc
> ignore_pv_errors=no
>
> [pv2:ovirt02.mydomain.com]
> action=create
> devices=sdc
> ignore_pv_errors=no
>
> [pv2:ovirt03.mydomain.com]
> action=create
> devices=sdc
> ignore_pv_errors=no
>
> [pv3:ovirt01.mydomain.com]
> action=create
> devices=sdd
> ignore_pv_errors=no
>
> [pv3:ovirt02.mydomain.com]
> action=create
> devices=sdd
> ignore_pv_errors=no
>
> [pv3:ovirt03.mydomain.com]
> action=create
> devices=sdd
> ignore_pv_errors=no
>
> [vg1:ovirt01.mydomain.com]
> action=create
> vgname=gluster_vg_sdb
> pvname=sdb
> ignore_vg_errors=no
>
> [vg1:ovirt02.mydomain.com]
> action=create
> vgname=gluster_vg_sdb
> pvname=sdb
> ignore_vg_errors=no
>
> [vg1:ovirt03.mydomain.com]
> action=create
> vgname=gluster_vg_sdb
> pvname=sdb
> ignore_vg_errors=no
>
> [vg2:ovirt01.mydomain.com]
> action=create
> vgname=gluster_vg_sdc
> pvname=sdc
> ignore_vg_errors=no
>
> [vg2:ovirt02.mydomain.com]
> action=create
> vgname=gluster_vg_sdc
> pvname=sdc
> ignore_vg_errors=no
>
> [vg2:ovirt03.mydomain.com]
> action=create
> vgname=gluster_vg_sdc
> pvname=sdc
> ignore_vg_errors=no
>
> [vg3:ovirt01.mydomain.com]
> action=create
> vgname=gluster_vg_sdd
> pvname=sdd
> ignore_vg_errors=no
>
> [vg3:ovirt02.mydomain.com]
> action=create
> vgname=gluster_vg_sdd
> pvname=sdd
> ignore_vg_errors=no
>
> [vg3:ovirt03.mydomain.com]
> action=create
> vgname=gluster_vg_sdd
> pvname=sdd
> ignore_vg_errors=no
>
> [lv1:ovirt01.mydomain.com]
> action=create
> poolname=gluster_thinpool_sdb
> ignore_lv_errors=no
> vgname=gluster_vg_sdb
> lvtype=thinpool
> size=45GB
> poolmetadatasize=3GB
>
>