[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-19 Thread yongshengmaa
Hi Martin

Just a quick message.  Setup completed successfully!  I re-installed everything 
from a very "pure clean " environment based on CentOS Stream 8. Thanks!

Regards,
Yongsheng
___
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/ZOIBW5INUI4XDN6XJVDPQ36OP3B2NGTC/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-19 Thread yongshengmaa
Sure but i didn't find the button for attachment to upload a file ...
___
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/NOS2Y52PTTATVIFVBD3ZDQIPO4PWRZ5G/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-19 Thread Martin Perina
Hi,

could you please share the whole log file
/home/yongsheng/f419/var/log/ovirt-engine/setup/ovirt-engine-setup-20230418170928-1v6iod.log
?
The lines you were showing are just a consequence of stopping the setup due
to previous error. The real error is earlier in the log (you can search for
lines with "ERROR" levels)

Regards,
Martin


On Tue, Apr 18, 2023 at 12:05 PM  wrote:

> From the setup log:
>
> 2023-04-18 17:51:34,736+0800 DEBUG otopi.context
> context._executeMethod:127 Stage pre-terminate METHOD
> otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate
> 2023-04-18 17:51:34,736+0800 DEBUG otopi.context
> context._executeMethod:136
> otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate condition False
> 2023-04-18 17:51:34,742+0800 INFO otopi.context context.runSequence:616
> Stage: Termination
> 2023-04-18 17:51:34,742+0800 DEBUG otopi.context context.runSequence:620
> STAGE terminate
> 2023-04-18 17:51:34,746+0800 DEBUG otopi.context
> context._executeMethod:127 Stage terminate METHOD
> otopi.plugins.ovirt_**FILTERED**_common.base.core.misc.Plugin._terminate
> 2023-04-18 17:51:34,747+0800 ERROR
> otopi.plugins.ovirt_**FILTERED**_common.base.core.misc misc._terminate:153
> Execution of setup failed
> 2023-04-18 17:51:34,754+0800 DEBUG otopi.context
> context._executeMethod:127 Stage terminate METHOD
> otopi.plugins.otopi.dialog.human.Plugin._terminate
> 2023-04-18 17:51:34,769+0800 DEBUG otopi.context
> context._executeMethod:127 Stage terminate METHOD
> otopi.plugins.otopi.dialog.machine.Plugin._terminate
> 2023-04-18 17:51:34,770+0800 DEBUG otopi.context
> context._executeMethod:136
> otopi.plugins.otopi.dialog.machine.Plugin._terminate condition False
> 2023-04-18 17:51:34,780+0800 DEBUG otopi.context
> context._executeMethod:127 Stage terminate METHOD
> otopi.plugins.otopi.core.log.Plugin._terminate
> ___
> 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/J2ZPLO6T22WCZC7ST3DYWMH7NIT3FDXR/
>


-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
___
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/NTYKRN43QI5LBS2OURMI6RQOHIGA4WWW/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-18 Thread yongshengmaa
From the setup log:

2023-04-18 17:51:34,736+0800 DEBUG otopi.context context._executeMethod:127 
Stage pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate
2023-04-18 17:51:34,736+0800 DEBUG otopi.context context._executeMethod:136 
otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate condition False
2023-04-18 17:51:34,742+0800 INFO otopi.context context.runSequence:616 Stage: 
Termination
2023-04-18 17:51:34,742+0800 DEBUG otopi.context context.runSequence:620 STAGE 
terminate
2023-04-18 17:51:34,746+0800 DEBUG otopi.context context._executeMethod:127 
Stage terminate METHOD 
otopi.plugins.ovirt_**FILTERED**_common.base.core.misc.Plugin._terminate
2023-04-18 17:51:34,747+0800 ERROR 
otopi.plugins.ovirt_**FILTERED**_common.base.core.misc misc._terminate:153 
Execution of setup failed
2023-04-18 17:51:34,754+0800 DEBUG otopi.context context._executeMethod:127 
Stage terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
2023-04-18 17:51:34,769+0800 DEBUG otopi.context context._executeMethod:127 
Stage terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
2023-04-18 17:51:34,770+0800 DEBUG otopi.context context._executeMethod:136 
otopi.plugins.otopi.dialog.machine.Plugin._terminate condition False
2023-04-18 17:51:34,780+0800 DEBUG otopi.context context._executeMethod:127 
Stage terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate
___
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/J2ZPLO6T22WCZC7ST3DYWMH7NIT3FDXR/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-18 Thread yongshengmaa
Hi Martin,

OK. I chose `java-11-openjdk.x86_64` for java and javac. 

`make` progress went pretty well until completed. 

Now I come to setup `$ "${PREFIX}/bin/engine-setup"`, but I failed after `--== 
CONFIGURATION PREVIEW ==--`:

 Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration (early)
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Upgrading CA
[ INFO  ] Creating CA: /home/yongsheng/f419/etc/pki/ovirt-engine/ca.pem
[ INFO  ] Creating CA: /home/yongsheng/f419/etc/pki/ovirt-engine/qemu-ca.pem
[ INFO  ] Setting up ovirt-vmconsole proxy helper PKI artifacts
[ INFO  ] Setting up ovirt-vmconsole SSH PKI artifacts
[ INFO  ] Configuring WebSocket Proxy
[ INFO  ] Creating/refreshing Engine database schema
[ INFO  ] Updating OVN SSL configuration
[ INFO  ] Updating OVN timeout configuration
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such file 
or directory: '/home/yongsheng/f419/var/lib/ovirt-engine/external_truststore'
[ INFO  ] Rolling back database schema
[ INFO  ] Clearing Engine database engine
[ INFO  ] Stage: Clean up
  Log file is located at 
/home/yongsheng/f419/var/log/ovirt-engine/setup/ovirt-engine-setup-20230418170928-1v6iod.log
[ INFO  ] Generating answer file 
'/home/yongsheng/f419/var/lib/ovirt-engine/setup/answers/20230418175134-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

Any idea about external_truststore?

Sincerely,
Yongsheng
___
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/OB2GG2NR4NJAKF27YPSP3YFTYCS4HYNK/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-17 Thread Martin Perina
Hi,

On Mon, Apr 17, 2023 at 11:54 AM  wrote:

> Hi Martin,
>
> Sorry I have to grab you for more help.
>
> I'm checking the developer mode documentation and just installed the
> packages listed under prerequisites. Now I come this line:
>
> Note on Java versions
> The project is built and run using java 11. 4.3 branches and earlier are
> excluded.
>
>
> The java version in my CS8 is as :
> java-1.8.0-openjdk-headless-1.8.0.352.b08-2.el8.x86_64
>

That's OK OpenJDK 1.8 is the default version for CS8, it cannot be removed

> java-11-openjdk-11.0.17.0.8-2.el8.x86_64
> java-11-openjdk-headless-11.0.17.0.8-2.el8.x86_64
> java-11-openjdk-devel-11.0.17.0.8-2.el8.x86_64
>

That's OK, OpenJDK 11 is required for oVirt. The easiest way to force using
OpenJDK 11 is to set JAVA_HOME in $HOME/.bash_profile:

JAVA_HOME=/usr/lib/jvm/java-11
PATH=$JAVA_HOME/bin:$PATH

export JAVA_HOME PATH

That way you will ensure that you are using OpenJDK 11

Regards,
Martin


> Should I change/upgrade java? Any easy way to do it like `dnf module
> switch-to`?
>
> Sincerely,
> Yongsheng
> ___
> 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/23T46V242K6KABDMI6KKWPTC45NLHDSS/
>


-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
___
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/DKJAOU6WZFSWU2BGE7SX6NBBGCU5ESKA/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-17 Thread yongshengmaa
Hi Martin,

Sorry I have to grab you for more help. 

I'm checking the developer mode documentation and just installed the packages 
listed under prerequisites. Now I come this line:

Note on Java versions
The project is built and run using java 11. 4.3 branches and earlier are 
excluded.


The java version in my CS8 is as :
java-1.8.0-openjdk-headless-1.8.0.352.b08-2.el8.x86_64
java-11-openjdk-11.0.17.0.8-2.el8.x86_64
java-11-openjdk-headless-11.0.17.0.8-2.el8.x86_64
java-11-openjdk-devel-11.0.17.0.8-2.el8.x86_64

Should I change/upgrade java? Any easy way to do it like `dnf module switch-to`?

Sincerely,
Yongsheng
___
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/23T46V242K6KABDMI6KKWPTC45NLHDSS/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-17 Thread yongshengmaa
Hi Martin,

Thanks for instruction! Great help.

Sincerely
Yongsheng
___
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/P7ZYNMCO4FFR5TVLQUC3RVH6RBDCQSPB/


[ovirt-users] Re: ovirt-engine - developer mode installation

2023-04-17 Thread Martin Perina
Hi,

have you check the developer mode documentation?

https://github.com/ovirt/ovirt-engine/#developer-mode-installation

As mentioned there you need postgresql 12 or higher, so in CentOS Stream 8
you need to enable the correct dnf module, which provides the right
postgresql version:

dnf module -y enable postgresql:12

There are also other dnf modules which you will need to enable on CS8, more
or less you will need the same modules as in production installation:

https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/index.html#Enabling_the_Red_Hat_Virtualization_Manager_Repositories_install_RHVM

Regards,
Martin




On Mon, Apr 17, 2023 at 9:29 AM  wrote:

> Hello ,
>
> I'm doing a developer mode installation for ovirt-engine.  I'd like to
> install it based on CentOS 8 Stream, but no matched version of postgresql
> packages are provided.  Which CentOS version should I start this work?
>
> Sincerely,
> Yongsheng
> ___
> 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/KN4TZA4QXTCA353GW4K22XPIHI6D7TLQ/
>


-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
___
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/WCLKX7KXVLBOYKZSO6QFMVZ62LYWBXEZ/