[ovirt-users] Re: Error during deployment of ovirt-engine

2022-10-13 Thread Ritesh Chikatwar
try to downgrade ansible-core to 2.12, or the last
version requiring python 3.8.

On Fri, Oct 14, 2022 at 9:29 AM Roberto Ramirez 
wrote:

> Can you tell me which version of ansible-core you install
> I am having the same issue
>
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the host to be
> up]
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GVJMM6U7B5WCK43DY66TXBXF4SREPBFG/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2MTMJN3ERNDCRSG77ULSUWMO4G4TMUPF/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-10-13 Thread Roberto Ramirez
Can you tell me which version of ansible-core you install
I am having the same issue

[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the host to be up]
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GVJMM6U7B5WCK43DY66TXBXF4SREPBFG/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-20 Thread Jonas
Thanks for the detailed explanation! I got it to work by downgrading the 
package as you wrote.


On 9/19/22 08:43, Yedidyah Bar David wrote:

On Sat, Sep 17, 2022 at 4:15 PM  wrote:

I meant what exactly is broken and if there is a workaround or a planned fix.

The breakage happened due to:

- ansible-core recently moved to python 3.9

- oVirt needs several python libraries in its use of ansible, some of
which are packaged by oVirt. Those are not yet built for python 3.9.


I performed a deployment using hosted-engine. This goes on step further, but 
fails while waiting for the host:
[...]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the host to be up]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a 
failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Host is not 
up, please check logs, perhaps also o
n the engine machine"}
[...]

On the hosted-engine, I see in 
/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220917140938-server-005.admin.int.rabe.ch-937b3c69-a4d5-45c7-af0f-b8705490ff2a.log:
[...]
2022-09-17 14:12:30 CEST - {
   "uuid" : "97891064-a215-4709-b944-ceba2d13b19f",
   "counter" : 391,
   "stdout" : "fatal: [server-005.admin.int.rabe.ch]: FAILED! => {\"msg\": \"The conditional check 
'cluster_switch == \\\"ovs\\\" or (ovn_central is defined and ovn_central | ipaddr)' failed. The error was: The ipaddr 
filter requires python's netaddr be installed on the ansible controller\\n\\nThe error appears to be in 
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml': line 3, column 
5, but may\\nbe elsewhere in the file depending on the exact syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n 
 - name: Install ovs\\n^ here\\n\"}",
[...]

But netaddr is installed:

python38-netaddr might be installed, but python39-netaddr is probably not.


[root@ovirt-engine-test host-deploy]# pip3 install netaddr
WARNING: Running pip install with root privileges is generally not a good idea. 
Try `pip3 install --user` instead.
Requirement already satisfied: netaddr in /usr/lib/python3.6/site-packages

Any ideas what I can do?

For the time being, try to downgrade ansible-core to 2.12, or the last
version requiring python 3.8.

We merged this patch to the engine master branch (to eventually become 4.5.3):

https://github.com/oVirt/ovirt-engine/pull/654

Going forward:

1. We hope to finish porting the engine to CS9 soon, and if this
proves stable, consider dropping support for CS8.

2. We might try, in the time being, to build the missing dependencies
for python 3.9. It's not clear if it's worth the effort.

Best regards,

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


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-19 Thread Yedidyah Bar David
Hi,

please see my reply to "[ovirt-users] Error during deployment of ovirt-engine".

Best regards,

On Sun, Sep 18, 2022 at 9:56 PM Peter H  wrote:
>
> Hi Jonas,
>
> I get the same error when I try to install. Last weekend I managed to do it 
> (but with a lot of other problems) so something has changed during the week.
>
> After the VM is up I logged in through ssh and saw that the oVirt appliance 
> comes with Python-3.6 and Python-3.8 which both have netaddr installed.
>
> Part of the log:
> ...
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Update setup packages]
> [ INFO  ] skipping: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Copy yum configuration file]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Set 'best' to false]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Update all packages]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Remove temporary yum configuration 
> file]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Set offline parameter if variable 
> is set]
> ...
> I noticed that after the task "Update all packages" Python-3.9 gets installed 
> and that version does not have netaddr installed. My theory is that the 
> playbook somehow uses the newest version of Python which is installed.
>
> pip3.9 list
> Package  Version
>  ---
> ansible-core 2.13.3
> cffi 1.14.3
> cryptography 3.3.1
> idna 2.10
> pip  20.2.4
> ply  3.11
> pycparser2.20
> PyYAML   5.4.1
> setuptools   50.3.2
> six  1.15.0
>
> I have tried another run where I installed the netaddr module as soon as 
> Python-3.9 got installed and that installation went further but then it had 
> another error.
>
> When I log into my hosted engine VM from last week there is no Python-3.9.
>
> My dnf(1) skills are not good enough to figure out which dependency is 
> causing Python-3.9 to be installed.
>
> There are probably a lot of other modules missing that can explain the other 
> error(s) I see.
>
> I will see if I can find out how to file a proper bug report.
>
> BR
> Peter
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TDB7QQF3BQ3KGPG34RX2AAKEVHLCJW5G/



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


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-19 Thread Yedidyah Bar David
On Sat, Sep 17, 2022 at 4:15 PM  wrote:
>
> I meant what exactly is broken and if there is a workaround or a planned fix.

The breakage happened due to:

- ansible-core recently moved to python 3.9

- oVirt needs several python libraries in its use of ansible, some of
which are packaged by oVirt. Those are not yet built for python 3.9.

>
> I performed a deployment using hosted-engine. This goes on step further, but 
> fails while waiting for the host:
> [...]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using 
> username/password credentials]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the host to be up]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a 
> failure]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Host is 
> not up, please check logs, perhaps also o
> n the engine machine"}
> [...]
>
> On the hosted-engine, I see in 
> /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220917140938-server-005.admin.int.rabe.ch-937b3c69-a4d5-45c7-af0f-b8705490ff2a.log:
> [...]
> 2022-09-17 14:12:30 CEST - {
>   "uuid" : "97891064-a215-4709-b944-ceba2d13b19f",
>   "counter" : 391,
>   "stdout" : "fatal: [server-005.admin.int.rabe.ch]: FAILED! => {\"msg\": 
> \"The conditional check 'cluster_switch == \\\"ovs\\\" or (ovn_central is 
> defined and ovn_central | ipaddr)' failed. The error was: The ipaddr filter 
> requires python's netaddr be installed on the ansible controller\\n\\nThe 
> error appears to be in 
> '/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
>  line 3, column 5, but may\\nbe elsewhere in the file depending on the exact 
> syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n  - 
> name: Install ovs\\n^ here\\n\"}",
> [...]
>
> But netaddr is installed:

python38-netaddr might be installed, but python39-netaddr is probably not.

> [root@ovirt-engine-test host-deploy]# pip3 install netaddr
> WARNING: Running pip install with root privileges is generally not a good 
> idea. Try `pip3 install --user` instead.
> Requirement already satisfied: netaddr in /usr/lib/python3.6/site-packages
>
> Any ideas what I can do?

For the time being, try to downgrade ansible-core to 2.12, or the last
version requiring python 3.8.

We merged this patch to the engine master branch (to eventually become 4.5.3):

https://github.com/oVirt/ovirt-engine/pull/654

Going forward:

1. We hope to finish porting the engine to CS9 soon, and if this
proves stable, consider dropping support for CS8.

2. We might try, in the time being, to build the missing dependencies
for python 3.9. It's not clear if it's worth the effort.

Best regards,
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ERXMH7NVN7Q6DPDJO7U5CD5XOB4YEUAQ/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-18 Thread Peter H
Hi Jonas,

I get the same error when I try to install. Last weekend I managed to do it
(but with a lot of other problems) so something has changed during the week.

After the VM is up I logged in through ssh and saw that the oVirt appliance
comes with Python-3.6 and Python-3.8 which both have netaddr installed.

Part of the log:
...
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Update setup packages]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Copy yum configuration file]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Set 'best' to false]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Update all packages]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Remove temporary yum
configuration file]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Set offline parameter if
variable is set]
...
I noticed that after the task "Update all packages" Python-3.9 gets
installed and that version does not have netaddr installed. My theory is
that the playbook somehow uses the newest version of Python which is
installed.

pip3.9 list
Package  Version
 ---
ansible-core 2.13.3
cffi 1.14.3
cryptography 3.3.1
idna 2.10
pip  20.2.4
ply  3.11
pycparser2.20
PyYAML   5.4.1
setuptools   50.3.2
six  1.15.0

I have tried another run where I installed the netaddr module as soon as
Python-3.9 got installed and that installation went further but then it had
another error.

When I log into my hosted engine VM from last week there is no Python-3.9.

My dnf(1) skills are not good enough to figure out which dependency is
causing Python-3.9 to be installed.

There are probably a lot of other modules missing that can explain the
other error(s) I see.

I will see if I can find out how to file a proper bug report.

BR
Peter
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TDB7QQF3BQ3KGPG34RX2AAKEVHLCJW5G/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-17 Thread jonas
I meant what exactly is broken and if there is a workaround or a planned fix.

I performed a deployment using hosted-engine. This goes on step further, but 
fails while waiting for the host:
[...]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ INFO  ] ok: [localhost]   
 
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the host to be up]   

[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a 
failure]  
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Host is not 
up, please check logs, perhaps also o
n the engine machine"}
[...]

On the hosted-engine, I see in 
/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220917140938-server-005.admin.int.rabe.ch-937b3c69-a4d5-45c7-af0f-b8705490ff2a.log:
[...]
2022-09-17 14:12:30 CEST - {
  "uuid" : "97891064-a215-4709-b944-ceba2d13b19f",
  "counter" : 391,
  "stdout" : "fatal: [server-005.admin.int.rabe.ch]: FAILED! => {\"msg\": \"The 
conditional check 'cluster_switch == \\\"ovs\\\" or (ovn_central is defined and 
ovn_central | ipaddr)' failed. The error was: The ipaddr filter requires 
python's netaddr be installed on the ansible controller\\n\\nThe error appears 
to be in 
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
 line 3, column 5, but may\\nbe elsewhere in the file depending on the exact 
syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n  - 
name: Install ovs\\n^ here\\n\"}",
[...]

But netaddr is installed:
[root@ovirt-engine-test host-deploy]# pip3 install netaddr
WARNING: Running pip install with root privileges is generally not a good idea. 
Try `pip3 install --user` instead.
Requirement already satisfied: netaddr in /usr/lib/python3.6/site-packages

Any ideas what I can do?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3U2GUSWDEMD77ASPJ3QO7HNFDX3FB5MQ/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-15 Thread Yedidyah Bar David
On Thu, Sep 15, 2022 at 10:46 PM Jonas  wrote:
>
> Ok, thanks for the info. Do you have any further information?

Not sure what you mean. How to deploy HE using the CLI? Here:

https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_using_the_command_line/index.html

Best regards,

>
> On 9/15/22 09:11, Yedidyah Bar David wrote:
> > On Wed, Sep 14, 2022 at 11:31 PM Jonas  wrote:
> >> Ok even after resetting the password through SSH it is not accepted on the 
> >> web page.
> >>
> >> [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset admin 
> >> --password-valid-to="-09-14 20:07:39Z" --password="interactive:" 
> >> --force
> >> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> >> Password:
> >> Reenter password:
> >> updating user admin...
> >> user updated successfully
> >>
> >> On 9/14/22 21:40, Jonas wrote:
> >>
> >> Hello all
> >>
> >> I'm trying to deploy an oVirt Engine through the cockpit interface. 
> >> Unfortunately the deployment fails with the following error:
> > Sorry, but the cockpit hosted-engine deployment is broken. Please use
> > the CLI. Thanks.
> >
> > Best regards,
>


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


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-15 Thread Jonas

Ok, thanks for the info. Do you have any further information?

On 9/15/22 09:11, Yedidyah Bar David wrote:

On Wed, Sep 14, 2022 at 11:31 PM Jonas  wrote:

Ok even after resetting the password through SSH it is not accepted on the web 
page.

[root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset admin 
--password-valid-to="-09-14 20:07:39Z" --password="interactive:" --force
Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
Password:
Reenter password:
updating user admin...
user updated successfully

On 9/14/22 21:40, Jonas wrote:

Hello all

I'm trying to deploy an oVirt Engine through the cockpit interface. 
Unfortunately the deployment fails with the following error:

Sorry, but the cockpit hosted-engine deployment is broken. Please use
the CLI. Thanks.

Best regards,

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


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-15 Thread Jonas

Sure (it's running on the latest release of oVirt Node):
cockpit
273
cockpit-bridge
273
cockpit-ovirt-dashboard
0.16.2
cockpit-storaged
273
cockpit-system
273
cockpit-ws
273

main.yml:

---
# Default vars
# Do not change these variables
# Changes in this section are NOT supported

he_cmd_lang:
  LANGUAGE: en_US.UTF-8
  LANG: en_US.UTF-8
  LC_MESSAGES: en_US.UTF-8
  LC_ALL: en_US.UTF-8

he_vm_name: HostedEngine
he_data_center: Default
he_cluster: Default
he_local_vm_dir_path: /var/tmp
he_local_vm_dir_prefix: localvm
he_appliance_ova: ''
he_root_ssh_pubkey: ''
he_root_ssh_access: 'yes'
he_apply_openscap_profile: false
he_openscap_profile_name: stig
he_enable_fips: false
he_cdrom: ''
he_console_type: vnc
he_video_device: vga
he_graphic_device: vnc
he_emulated_machine: pc
he_minimal_mem_size_MB: 4096
he_minimal_disk_size_GB: 50
he_mgmt_network: ovirtmgmt
he_storage_domain_name: hosted_storage
he_ansible_host_name: localhost
he_ipv4_subnet_prefix: "192.168.222"
he_ipv6_subnet_prefix: fd00:1234:5678:900
he_webui_forward_port: 6900  # by default already open for VM console
he_reserved_memory_MB: 512
he_avail_memory_grace_MB: 200

engine_psql: /usr/share/ovirt-engine/dbscripts/engine-psql.sh

he_host_ip: null
he_host_name: null
he_host_address: null
he_cloud_init_host_name: null
he_cloud_init_domain_name: null

he_smtp_port: 25
he_smtp_server: localhost
he_dest_email: root@localhost
he_source_email: root@localhost

he_force_ip4: false
he_force_ip6: false

he_pause_before_engine_setup: false
he_pause_host: false
he_pause_after_failed_add_host: true
he_pause_after_failed_restore: true
he_debug_mode: false

## Mandatory variables:

he_bridge_if: null
he_fqdn: null
he_mem_size_MB: max
he_vcpus: max
he_disk_size_GB: 61

he_enable_libgfapi: false
he_enable_hc_gluster_service: false
he_vm_mac_addr: null
he_remove_appliance_rpm: true
he_pki_renew_on_restore: false
he_enable_keycloak: true

## Storage domain vars:
he_domain_type: null  # can be: nfs | iscsi | glusterfs | fc
he_storage_domain_addr: null

## NFS vars:
## Defaults are null, user should specify if NFS is chosen
he_mount_options: ''
he_storage_domain_path: null
he_nfs_version: auto  # can be: auto, v4 or v3
he_storage_if: null

## ISCSI vars:
## Defaults are null, user should specify if ISCSI is chosen
he_iscsi_username: null
he_iscsi_password: null
he_iscsi_discover_username: null
he_iscsi_discover_password: null
he_iscsi_target: null
he_lun_id: null
he_iscsi_portal_port: null
he_iscsi_portal_addr: null
he_iscsi_tpgt: null
he_discard: false

# Define if using STATIC ip configuration
he_vm_ip_addr: null
he_vm_ip_prefix: null
he_dns_addr: null  # up to 3 DNS servers IPs can be added
he_vm_etc_hosts: false  # user can add lines to /etc/hosts on the engine VM
he_gateway: null
he_network_test: 'dns'  # can be: 'dns', 'ping', 'tcp' or 'none'
he_tcp_t_address: null
he_tcp_t_port: null

# ovirt-hosted-engine-setup variables
he_just_collect_network_interfaces: false
he_libvirt_authfile: '/etc/ovirt-hosted-engine/virsh_auth.conf'
he_offline_deployment: false
he_additional_package_list: []

# *** Do Not Use On Production Environment ***
# ** Used for testing ONLY ***
he_requirements_check_enabled: true
he_memory_requirements_check_enabled: true



On 9/15/22 09:18, Ritesh Chikatwar wrote:

Hey Jonas,


What is the cockpit version you are using? And also can you share this 
file with me 
(/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/defaults/main.yml)?


On Thu, Sep 15, 2022 at 12:42 PM Yedidyah Bar David  
wrote:


On Wed, Sep 14, 2022 at 11:31 PM Jonas  wrote:
>
> Ok even after resetting the password through SSH it is not
accepted on the web page.
>
> [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user
password-reset admin --password-valid-to="-09-14 20:07:39Z"
--password="interactive:" --force
> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> Password:
> Reenter password:
> updating user admin...
> user updated successfully
>
> On 9/14/22 21:40, Jonas wrote:
>
> Hello all
>
> I'm trying to deploy an oVirt Engine through the cockpit
interface. Unfortunately the deployment fails with the following
error:

Sorry, but the cockpit hosted-engine deployment is broken. Please use
the CLI. Thanks.

Best regards,
-- 
Didi

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/MKXPPQJEFHKRJXFM56IULJ37K7JYSCWX/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: 

[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-15 Thread Ritesh Chikatwar
Hey Jonas,


What is the cockpit version you are using? And also can you share this file
with me (
/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/defaults/main.yml
)?

On Thu, Sep 15, 2022 at 12:42 PM Yedidyah Bar David  wrote:

> On Wed, Sep 14, 2022 at 11:31 PM Jonas  wrote:
> >
> > Ok even after resetting the password through SSH it is not accepted on
> the web page.
> >
> > [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset
> admin --password-valid-to="-09-14 20:07:39Z" --password="interactive:"
> --force
> > Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> > Password:
> > Reenter password:
> > updating user admin...
> > user updated successfully
> >
> > On 9/14/22 21:40, Jonas wrote:
> >
> > Hello all
> >
> > I'm trying to deploy an oVirt Engine through the cockpit interface.
> Unfortunately the deployment fails with the following error:
>
> Sorry, but the cockpit hosted-engine deployment is broken. Please use
> the CLI. Thanks.
>
> Best regards,
> --
> Didi
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MKXPPQJEFHKRJXFM56IULJ37K7JYSCWX/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4LGDSR4LC5HTBQJLZVXCP3RLWJDJIEJJ/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-15 Thread Yedidyah Bar David
On Wed, Sep 14, 2022 at 11:31 PM Jonas  wrote:
>
> Ok even after resetting the password through SSH it is not accepted on the 
> web page.
>
> [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset admin 
> --password-valid-to="-09-14 20:07:39Z" --password="interactive:" --force
> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> Password:
> Reenter password:
> updating user admin...
> user updated successfully
>
> On 9/14/22 21:40, Jonas wrote:
>
> Hello all
>
> I'm trying to deploy an oVirt Engine through the cockpit interface. 
> Unfortunately the deployment fails with the following error:

Sorry, but the cockpit hosted-engine deployment is broken. Please use
the CLI. Thanks.

Best regards,
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MKXPPQJEFHKRJXFM56IULJ37K7JYSCWX/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-14 Thread Jonas
Ok even after resetting the password through SSH it is not accepted on 
the web page.


[root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset admin 
--password-valid-to="-09-14 20:07:39Z" --password="interactive:" --force
Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
Password:
Reenter password:
updating user admin...
user updated successfully

On 9/14/22 21:40, Jonas wrote:


Hello all

I'm trying to deploy an oVirt Engine through the cockpit interface. 
Unfortunately the deployment fails with the following error:


[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set admin username]
[ INFO ] ok: [localhost -> 192.168.222.95]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for ovirt-engine service 
to start]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Open a port on firewalld]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Expose engine VM webui over a 
local port via ssh port forwarding]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Evaluate temporary bootstrap 
engine VM URL]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Display the temporary 
bootstrap engine VM URL]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Detect VLAN ID]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set Engine public key as 
authorized key without validating the TLS/SSL certificates]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using 
username/password credentials]
[ ERROR ] ovirtsdk4.AuthError: Error during SSO authentication access_denied : 
Cannot authenticate user Invalid user credentials.
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": false, "msg": 
"Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials."}
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine machine]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch logs from the engine VM]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set destination directory path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create destination directory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Find the local appliance image]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set local_vm_disk_path]
[ INFO ] ok: [localhost]

I can login just fine to the VM over SSH but when I try to login over 
the web interface as admin, the password is not accepted. I tried both 
complex and simple passwords for root/admin but none worked so far.


This previous discussion did not solve my problems: 
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/HMLCEG2LPSWFOVUBDPU5JLKD7DWUGVE3/


Thank you,
Jonas


___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@ovirt.org
Privacy Statement:https://www.ovirt.org/privacy-policy.html
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/PCYIQTY457LEX44NCTGH4LKM4DN6J4EJ/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E2FN7ULXGSX4EIDHM4N6HKUVNVTIAPPI/