
Hello! Get problems with upgrade oVirt Hosted-Engine from 4.2.8 to 4.3.3. After installing http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm on Engine VM i run yum update, then engine-setup and got this error: --== DATABASE CONFIGURATION ==-- [WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602110956-iqr6bc.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602111120-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed But i don't find any solution how resolve this issue. Maybe i doing something wrong?

Hi Can you please share the whole log file? On Sun, Jun 2, 2019 at 8:43 PM <mail@set-pro.net> wrote:
Hello! Get problems with upgrade oVirt Hosted-Engine from 4.2.8 to 4.3.3. After installing http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm on Engine VM i run yum update, then engine-setup and got this error:
--== DATABASE CONFIGURATION ==--
[WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602110956-iqr6bc.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602111120-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed But i don't find any solution how resolve this issue. Maybe i doing something wrong? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/QYAI3CP2IJMP45...
-- Simone Tiraboschi He / Him / His Principal Software Engineer Red Hat <https://www.redhat.com/> stirabos@redhat.com @redhatjobs <https://twitter.com/redhatjobs> redhatjobs <https://www.facebook.com/redhatjobs> @redhatjobs <https://instagram.com/redhatjobs> <https://red.ht/sig> <https://redhat.com/summit>

Of course! [root@engine ~]# engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602113957-6mu5f0.log Version: otopi-1.8.1 (otopi-1.8.1-1.el7) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup (late) [ INFO ] Stage: Environment customization --== PRODUCT OPTIONS ==-- Set up Cinderlib integration (Currently in tech preview) (Yes, No) [No]: [ INFO ] ovirt-provider-ovn already installed, skipping. --== PACKAGES ==-- [ INFO ] Checking for product updates... Setup needs to install or update the following packages: [install] bouncycastle-1.58-1.el7.noarch will be installed [install] bouncycastle-pkix-1.58-1.el7.noarch will be installed [install] collectd-write_syslog-5.8.1-4.el7.x86_64 will be installed [install] jcip-annotations-1-19.20060626.el7.noarch will be installed [install] json-smart-2.2-5.el7.noarch will be installed [install] liblognorm-2.0.2-3.el7.x86_64 will be installed [install] nimbus-jose-jwt-5.12-3.el7.noarch will be installed [install] objectweb-asm4-4.0-3.el7.noarch will be installed [updated] ovirt-engine-4.2.8.2-1.el7.noarch will be updated [update] ovirt-engine-4.3.3.7-1.el7.noarch is an update [updated] ovirt-engine-backend-4.2.8.2-1.el7.noarch will be updated [update] ovirt-engine-backend-4.3.3.7-1.el7.noarch is an update [obsoleted] ovirt-engine-dashboard-1.2.4-1.el7.noarch will be removed [updated] ovirt-engine-dbscripts-4.2.8.2-1.el7.noarch will be updated [update] ovirt-engine-dbscripts-4.3.3.7-1.el7.noarch is an update [updated] ovirt-engine-dwh-4.2.4.3-1.el7.noarch will be updated [update] ovirt-engine-dwh-4.3.0-1.el7.noarch is an update [update] ovirt-engine-extension-aaa-jdbc-1.1.10-1.el7.noarch is an update [updated] ovirt-engine-extension-aaa-jdbc-1.1.7-1.el7.centos.noarch will be updated [updated] ovirt-engine-restapi-4.2.8.2-1.el7.noarch will be updated [update] ovirt-engine-restapi-4.3.3.7-1.el7.noarch is an update [updated] ovirt-engine-tools-4.2.8.2-1.el7.noarch will be updated [update] ovirt-engine-tools-4.3.3.7-1.el7.noarch is an update [updated] ovirt-engine-tools-backup-4.2.8.2-1.el7.noarch will be updated [update] ovirt-engine-tools-backup-4.3.3.7-1.el7.noarch is an update [obsoleting] ovirt-engine-ui-extensions-1.0.4-1.el7.noarch will be installed [updated] ovirt-engine-webadmin-portal-4.2.8.2-1.el7.noarch will be updated [update] ovirt-engine-webadmin-portal-4.3.3.7-1.el7.noarch is an update [updated] ovirt-engine-wildfly-14.0.1-3.el7.x86_64 will be updated [update] ovirt-engine-wildfly-15.0.1-1.el7.x86_64 is an update [updated] ovirt-engine-wildfly-overlay-14.0.1-3.el7.noarch will be updated [update] ovirt-engine-wildfly-overlay-15.0.1-1.el7.noarch is an update [install] rsyslog-elasticsearch-8.24.0-34.el7.x86_64 will be installed [install] rsyslog-mmjsonparse-8.24.0-34.el7.x86_64 will be installed [install] rsyslog-mmnormalize-8.24.0-34.el7.x86_64 will be installed Replying "No" will abort Setup. You can pass the option "--offline" to prevent installing or updating packages. Do you wish to update them now? (Yes, No) [Yes]: [ INFO ] Checking for an update for Setup... --== NETWORK CONFIGURATION ==-- Setup can automatically configure the firewall on this system. Note: automatic configuration of the firewall may overwrite current settings. NOTICE: iptables is deprecated and will be removed in future releases Do you want Setup to configure the firewall? (Yes, No) [Yes]: No --== DATABASE CONFIGURATION ==-- [WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602113957-6mu5f0.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602114043-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed [root@engine ~]
3 июня 2019 г., в 10:13, Simone Tiraboschi <stirabos@redhat.com> написал(а):
Hi Can you please share the whole log file?
On Sun, Jun 2, 2019 at 8:43 PM <mail@set-pro.net <mailto:mail@set-pro.net>> wrote: Hello! Get problems with upgrade oVirt Hosted-Engine from 4.2.8 to 4.3.3. After installing http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm <http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm> on Engine VM i run yum update, then engine-setup and got this error:
--== DATABASE CONFIGURATION ==--
[WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602110956-iqr6bc.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602111120-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed But i don't find any solution how resolve this issue. Maybe i doing something wrong? _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://www.ovirt.org/site/privacy-policy/> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYAI3CP2IJMP45... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYAI3CP2IJMP45P4HCCX5ES7JFG3SG7U/>
-- Simone Tiraboschi He / Him / His Principal Software Engineer Red Hat <https://www.redhat.com/> stirabos@redhat.com <mailto:stirabos@redhat.com> @redhatjobs <https://twitter.com/redhatjobs> redhatjobs <https://www.facebook.com/redhatjobs> @redhatjobs <https://instagram.com/redhatjobs> <https://red.ht/sig> <https://redhat.com/summit>

There is full log attached
3 июня 2019 г., в 10:13, Simone Tiraboschi <stirabos@redhat.com> написал(а):
Hi Can you please share the whole log file?
On Sun, Jun 2, 2019 at 8:43 PM <mail@set-pro.net <mailto:mail@set-pro.net>> wrote: Hello! Get problems with upgrade oVirt Hosted-Engine from 4.2.8 to 4.3.3. After installing http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm <http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm> on Engine VM i run yum update, then engine-setup and got this error:
--== DATABASE CONFIGURATION ==--
[WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602110956-iqr6bc.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602111120-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed But i don't find any solution how resolve this issue. Maybe i doing something wrong? _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://www.ovirt.org/site/privacy-policy/> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYAI3CP2IJMP45... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYAI3CP2IJMP45P4HCCX5ES7JFG3SG7U/>
-- Simone Tiraboschi He / Him / His Principal Software Engineer Red Hat <https://www.redhat.com/> stirabos@redhat.com <mailto:stirabos@redhat.com> @redhatjobs <https://twitter.com/redhatjobs> redhatjobs <https://www.facebook.com/redhatjobs> @redhatjobs <https://instagram.com/redhatjobs> <https://red.ht/sig> <https://redhat.com/summit>

On Wed, Jun 5, 2019 at 11:44 AM Mail SET Inc. Group <mail@set-pro.net> wrote:
There is full log attached
Thanks, we are trying to execute SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database but your postgres instance fails on that query. Can you please try executing on the engine VM: sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database" and if it fail share the output of: ls -lZ /var/opt/rh/rh-postgresql95/lib/pgsql/data/base/13699369/1259_fsm (or the file where it fails on).
3 июня 2019 г., в 10:13, Simone Tiraboschi <stirabos@redhat.com> написал(а):
Hi Can you please share the whole log file?
On Sun, Jun 2, 2019 at 8:43 PM <mail@set-pro.net> wrote:
Hello! Get problems with upgrade oVirt Hosted-Engine from 4.2.8 to 4.3.3. After installing http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm on Engine VM i run yum update, then engine-setup and got this error:
--== DATABASE CONFIGURATION ==--
[WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602110956-iqr6bc.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602111120-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed But i don't find any solution how resolve this issue. Maybe i doing something wrong? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/QYAI3CP2IJMP45...
-- Simone Tiraboschi
He / Him / His
Principal Software Engineer
Red Hat
stirabos@redhat.com @redhatjobs redhatjobs @redhatjobs
-- Simone Tiraboschi He / Him / His Principal Software Engineer Red Hat stirabos@redhat.com @redhatjobs redhatjobs @redhatjobs

Thank’s 4 u answer Simone! I solve this issue a few minutes ago by upgrade PG manually using this manual https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/htm... Now "engine-setup" completes properly and environment upgraded successfully to 4.3.3. If any logs or something else needed to verify this bug (or not bug) or i can help just ask me ) Tnx!
5 июня 2019 г., в 13:36, Simone Tiraboschi <stirabos@redhat.com> написал(а):
On Wed, Jun 5, 2019 at 11:44 AM Mail SET Inc. Group <mail@set-pro.net <mailto:mail@set-pro.net>> wrote:
There is full log attached
Thanks, we are trying to execute SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database
but your postgres instance fails on that query.
Can you please try executing on the engine VM: sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database"
and if it fail share the output of: ls -lZ /var/opt/rh/rh-postgresql95/lib/pgsql/data/base/13699369/1259_fsm (or the file where it fails on).
3 июня 2019 г., в 10:13, Simone Tiraboschi <stirabos@redhat.com> написал(а):
Hi Can you please share the whole log file?
On Sun, Jun 2, 2019 at 8:43 PM <mail@set-pro.net> wrote:
Hello! Get problems with upgrade oVirt Hosted-Engine from 4.2.8 to 4.3.3. After installing http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm on Engine VM i run yum update, then engine-setup and got this error:
--== DATABASE CONFIGURATION ==--
[WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602110956-iqr6bc.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602111120-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed But i don't find any solution how resolve this issue. Maybe i doing something wrong? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/QYAI3CP2IJMP45...
-- Simone Tiraboschi
He / Him / His
Principal Software Engineer
Red Hat
stirabos@redhat.com @redhatjobs redhatjobs @redhatjobs
--
Simone Tiraboschi
He / Him / His
Principal Software Engineer
Red Hat
stirabos@redhat.com <mailto:stirabos@redhat.com>
@redhatjobs redhatjobs @redhatjobs

Select results after upgrade. [root@engine ~]# sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database" could not change directory to "/root": Access denied dbms_size ----------- 389454161 (1 row) [root@engine ~]# sudo -u postgres scl enable rh-postgresql10 -- psql -d engine -c "SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database" could not change directory to "/root»: Access denied dbms_size ----------- 389454161 (1 row) [root@engine ~]#
5 июня 2019 г., в 13:36, Simone Tiraboschi <stirabos@redhat.com> написал(а):
On Wed, Jun 5, 2019 at 11:44 AM Mail SET Inc. Group <mail@set-pro.net <mailto:mail@set-pro.net>> wrote:
There is full log attached
Thanks, we are trying to execute SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database
but your postgres instance fails on that query.
Can you please try executing on the engine VM: sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "SELECT SUM(pg_database_size(datname)) As dbms_size FROM pg_database"
and if it fail share the output of: ls -lZ /var/opt/rh/rh-postgresql95/lib/pgsql/data/base/13699369/1259_fsm (or the file where it fails on).
3 июня 2019 г., в 10:13, Simone Tiraboschi <stirabos@redhat.com> написал(а):
Hi Can you please share the whole log file?
On Sun, Jun 2, 2019 at 8:43 PM <mail@set-pro.net> wrote:
Hello! Get problems with upgrade oVirt Hosted-Engine from 4.2.8 to 4.3.3. After installing http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm on Engine VM i run yum update, then engine-setup and got this error:
--== DATABASE CONFIGURATION ==--
[WARNING] This release requires PostgreSQL server 10.6 but the engine database is currently hosted on PostgreSQL server 9.5.14. [ INFO ] Verifying PostgreSQL SELinux file context rules [ ERROR ] Failed to execute stage 'Environment customization': could not stat file "base/13699369/1259_fsm": Permission denied
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190602110956-iqr6bc.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190602111120-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed But i don't find any solution how resolve this issue. Maybe i doing something wrong? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@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/QYAI3CP2IJMP45...
-- Simone Tiraboschi
He / Him / His
Principal Software Engineer
Red Hat
stirabos@redhat.com @redhatjobs redhatjobs @redhatjobs
--
Simone Tiraboschi
He / Him / His
Principal Software Engineer
Red Hat
stirabos@redhat.com <mailto:stirabos@redhat.com>
@redhatjobs redhatjobs @redhatjobs
participants (3)
-
Mail SET Inc. Group
-
mail@set-pro.net
-
Simone Tiraboschi