[ovirt-users] Re: Hosted engine installation oVirt 4.5 initialize lockspace volume

2024-04-03 Thread Strahil Nikolov via Users
Have you checked if the initiator name is proper IQN and unique ?

Best Regards,
Strahil Nikolov 
 
Hello,

hope, you are doing well. I try to install a new hosted engine on my 
environment to switch the storage this engine. I use following command to 
deploy the instance:

  hosted-engine --deploy --4 --ansible-extra-vars=he_offline_deployment=true

Everything works fine, except the initialization of lockspace volume. Here I 
get:

```
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Remove temporary entry in 
/etc/hosts for the local VM]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Set the name for add_host]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch the value of 
HOST_KEY_CHECKING]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Get the username running the 
deploy]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Register the engine FQDN as a 
host]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Start ovirt-ha-broker service 
on the host]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Initialize lockspace volume]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Workaround for 
ovirt-ha-broker start failures]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Initialize lockspace volume]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 5, "changed": true, 
"cmd": ["hosted-engine", "--reinitialize-lock
space", "--force"], "delta": "0:00:00.269920", "end": "2024-03-20 
14:43:00.366557", "msg": "non-zero return code", "rc"
: 1, "start": "2024-03-20 14:43:00.096637", "stderr": "Traceback (most recent 
call last):\n  File \"/usr/lib64/python3.
6/runpy.py\", line 193, in _run_module_as_main\n    \"__main__\", mod_spec)\n  
File \"/usr/lib64/python3.6/runpy.py\",
line 85, in _run_code\n    exec(code, run_globals)\n  File 
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup
/reinitialize_lockspace.py\", line 30, in \n    
ha_cli.reset_lockspace(force)\n  File \"/usr/lib/python3.6/site
-packages/ovirt_hosted_engine_ha/client/client.py\", line 286, in 
reset_lockspace\n    stats = broker.get_stats_from_st
orage()\n  File 
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py\", 
line 148, in get_stats_f
rom_storage\n    result = self._proxy.get_stats()\n  File 
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1112, in __ca
ll__\n    return self.__send(self.__name, args)\n  File 
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1452, in __requ
est\n    verbose=self.__verbose\n  File 
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1154, in request\n    return se
lf.single_request(host, handler, request_body, verbose)\n  File 
\"/usr/lib64/python3.6/xmlrpc/client.py\", line 1166, i
n single_request\n    http_conn = self.send_request(host, handler, 
request_body, verbose)\n  File \"/usr/lib64/python3.
6/xmlrpc/client.py\", line 1279, in send_request\n    
self.send_content(connection, request_body)\n  File \"/usr/lib64/
python3.6/xmlrpc/client.py\", line 1309, in send_content\n    
connection.endheaders(request_body)\n  File \"/usr/lib64/
python3.6/http/client.py\", line 1268, in endheaders\n    
self._send_output(message_body, encode_chunked=encode_chunked
)\n  File \"/usr/lib64/python3.6/http/client.py\", line 1044, in _send_output\n 
   self.send(msg)\n  File \"/usr/lib64/
python3.6/http/client.py\", line 982, in send\n    self.connect()\n  File 
\"/usr/lib/python3.6/site-packages/ovirt_host
ed_engine_ha/lib/unixrpc.py\", line 76, in connect\n    
self.sock.connect(base64.b16decode(self.host))\nFileNotFoundErr
or: [Errno 2] No such file or directory", "stderr_lines": ["Traceback (most 
recent call last):", "  File \"/usr/lib64/p
ython3.6/runpy.py\", line 193, in _run_module_as_main", "    \"__main__\", 
mod_spec)", "  File \"/usr/lib64/python3.6/r
unpy.py\", line 85, in _run_code", "    exec(code, run_globals)", "  File 
\"/usr/lib/python3.6/site-packages/ovirt_host
ed_engine_setup/reinitialize_lockspace.py\", line 30, in ", "    
ha_cli.reset_lockspace(force)", "  File \"/usr
/lib/python3.6/site-packages/ovirt_hosted_engine_ha/client/client.py\", line 
286, in reset_lockspace", "    stats = bro
ker.get_stats_from_storage()", "  File 
\"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py\", l
ine 148, in get_stats_from_storage", "    result = self._proxy.get_stats()", "  
File \"/usr/lib64/python3.6/xmlrpc/clie
nt.py\", line 1112, in __call__", "    return self.__send(self.__name, args)", 
"  File \"/usr/lib64/python3.6/xmlrpc/cl
ient.py\", line 1452, in __request", "    verbose=self.__verbose", "  File 
\"/usr/lib64/python3.6/xmlrpc/client.py\", l
ine 1154, in request", "    return self.single_request(host, handler, 
request_body, verbose)", "  File \"/usr/lib64/pyt
hon3.6/xmlrpc/client.py\", line 1166, in single_request", "   

[ovirt-users] Re: hosted engine installation / multipath / iscsi

2019-08-07 Thread Simone Tiraboschi
On Wed, Jul 31, 2019 at 4:41 PM Michael Frank  wrote:

> Hi,
>
>  since several days i try to install the hosted engine initially to an
> iscsi multipath device without success.
> Some information on the environment:
> - Version 4.3.3
> - using two 10gbe interfaces as single bond for the ovirtmgmt interface
> - using two 10gbe storage interfaces on each hypervisor for iscsi storage
> -- each storage interface is configured without any bonding, etc
> -- each storage interface lives in a separate vlan were also the iscsi
> Portals/target are available, the iscsi portals have 4x10ge interfaces
> each, (2 in vlan xx and 2 interfaces in vlan yy )
> -- so; each storage interface is connected to two iscsi Portals via 4
> interfaces
>
> The documentation here is for me unclear:
>
> https://ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine.html
> >Note: To specify more than one iSCSI target, you must enable multipathing
> before deploying the self-hosted engine. There is also a Multipath >Helper
> tool that generates a script to install and configure multipath with
> different options.
>
> This indicates for me that it should be possbile to install the HE
> directly on the /dev/mapper/mpath device which is availibale when I have
> prepared the host accordingly before installing the HE (log in to multiple
> iscsi targets, create proper multipath,conf, etc) - right ?
>
> I login to the two iscsi portals and get in sum 8 pathes, 4 from each
> interface and iscsi target.
> Basically I have then the mpath device on the hypervisor available and i
> can  mount the mpath device and put data on it.
> In the cockpit interface the mount can also be activated and is recognized
> correctly.
> multipathd -ll and lsblk looks good. Everything seems to be fine.
>
> But when I run the "hosted-engine" --deploy, the last option while running
> the assistant is to enter the iscsi data.
> So, basically i just want to define my mpath device - when entering the
> data (ip, port)for the iscsi Portal I can see the 4 pathes of the single
> hosted Engine target,
> and when i choose the path where the "lun" is finally available it fails.
> I think in general this option is not that what i want to have
> here for using the multipath device.
>
> I' m lost - what is the usual way to install the HE on a multipath device ?
>

Sorry for the delay, I missed this thread.

>From ovirt-hosted-engine-setup you can configure the iSCSI storage domain,
exposed by a single iSCSI target, to be accessed over multiple portals in a
single portal group.
Once you have a running engine you can eventually complete the
configuration creating an iSCSI bond from there.
Follow this guide for that:
https://ovirt.org/documentation/admin-guide/chap-Storage.html#configuring-iscsi-multipathing

Let's now focus on the first part.
On your SAN you should create more than one iSCSI portal.
Then you should group them in a single iSCSI target portal group.
You iSCSI target should be configured to be exposed over the whole iSCSI
target portal group.
Then you have to create a LUN for the hosted-engine storage domain and
associate it with that iSCSI target.

Now, on hosted-engine-setup (via CLI or via cokpit) you should enter the IP
address or one of the iSCSI portals (and eventually one username/password
couple for the iSCSI discovery).
The iSCSI discovery process will report back your iSCSI targets and the
address of other iSCSI portals in the same iSCSI target portal group; each
of them will be a path so if you have more than one iSCSI portal in a
single iSCSI target portal group you will have multipath.

Next step is choosing one of the listed iSCSI targets, then
hosted-engine-setup will list the LUNs there and you will be able to choose
one of them to be used for the hosted-engine storage domain.



>
> Do i have to change the configuration of the storage interfaces or the
> iscsi network design?
> Did I missed something obvious ?
> Can I put in my multipath data into the answerfile to get rid of the last
> step of the assistant ?
> Can I use the related ansible role for specify the Mpath device which is
> available when activating the multipath service ?
>
> Is it not possible in general ?? :
> https://bugzilla.redhat.com/show_bug.cgi?id=1193961
>
> Sorry in advance for the long mail  1!^^
>
> br,
> michael
>
> Sent from a mobile device
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/QRL2FYUD66C5J2RKC4UJZP4OQJWXWSB5/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code 

[ovirt-users] Re: hosted engine installation / multipath / iscsi

2019-08-06 Thread Sandro Bonazzola
Il giorno mer 31 lug 2019 alle ore 16:41 Michael Frank 
ha scritto:

> Hi,
>
>  since several days i try to install the hosted engine initially to an
> iscsi multipath device without success.
> Some information on the environment:
> - Version 4.3.3
> - using two 10gbe interfaces as single bond for the ovirtmgmt interface
> - using two 10gbe storage interfaces on each hypervisor for iscsi storage
> -- each storage interface is configured without any bonding, etc
> -- each storage interface lives in a separate vlan were also the iscsi
> Portals/target are available, the iscsi portals have 4x10ge interfaces
> each, (2 in vlan xx and 2 interfaces in vlan yy )
> -- so; each storage interface is connected to two iscsi Portals via 4
> interfaces
>
> The documentation here is for me unclear:
>
> https://ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine.html
> >Note: To specify more than one iSCSI target, you must enable multipathing
> before deploying the self-hosted engine. There is also a Multipath >Helper
> tool that generates a script to install and configure multipath with
> different options.
>
> This indicates for me that it should be possbile to install the HE
> directly on the /dev/mapper/mpath device which is availibale when I have
> prepared the host accordingly before installing the HE (log in to multiple
> iscsi targets, create proper multipath,conf, etc) - right ?
>
> I login to the two iscsi portals and get in sum 8 pathes, 4 from each
> interface and iscsi target.
> Basically I have then the mpath device on the hypervisor available and i
> can  mount the mpath device and put data on it.
> In the cockpit interface the mount can also be activated and is recognized
> correctly.
> multipathd -ll and lsblk looks good. Everything seems to be fine.
>
> But when I run the "hosted-engine" --deploy, the last option while running
> the assistant is to enter the iscsi data.
> So, basically i just want to define my mpath device - when entering the
> data (ip, port)for the iscsi Portal I can see the 4 pathes of the single
> hosted Engine target,
> and when i choose the path where the "lun" is finally available it fails.
> I think in general this option is not that what i want to have
> here for using the multipath device.
>
> I' m lost - what is the usual way to install the HE on a multipath device ?
>
> Do i have to change the configuration of the storage interfaces or the
> iscsi network design?
> Did I missed something obvious ?
> Can I put in my multipath data into the answerfile to get rid of the last
> step of the assistant ?
> Can I use the related ansible role for specify the Mpath device which is
> available when activating the multipath service ?
>
> Is it not possible in general ?? :
> https://bugzilla.redhat.com/show_bug.cgi?id=1193961
>
> Sorry in advance for the long mail  1!^^
>


+Simone Tiraboschi  can you help here?


>
> br,
> michael
>
> Sent from a mobile device
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/QRL2FYUD66C5J2RKC4UJZP4OQJWXWSB5/
>


-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com
*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.
*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TYDD4IM7B7AVQFKE4AGXDK4WJPHZIS35/


[ovirt-users] Re: Hosted engine installation

2019-02-11 Thread Simone Tiraboschi
On Mon, Feb 11, 2019 at 4:31 PM Fabrice SOLER <
fabrice.so...@ac-guadeloupe.fr> wrote:

> Hello,
>
> I have installed an hosted engine, and I have seen that this installation
> needs to access to a repository from internet.
>
> Do you know that is possible to download an ISO to install an hosted
> engine and install it from this ISO ?
>

The engine appliance is distributed within ovirt-engine-appliance rpm; you
can simply install that on the first host.


> Sincerely,
> --
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/AJOQABTQS5JPCN6UN5TCK3MDVTJ3TKJV/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EZ77WWO2JZ64L63UBVZ4GDCQYR722VAO/