Data directory is not a mount point error while upgrading CloudForms 4.1 to 4.2

Solution Verified - Updated -

Issue

After following the upgrade doc - sections 1.3.1 and 14.1, to upgrade my all-in-one cloudforms appliance. The following steps worked fine:

systemctl stop evmserverd
yum update
vmdb
bin/rake db:migrate
bin/rake evm:automate:reset

However, the next step threw an error:

[root@cloudforms41 ~]# /usr/bin/miq_postgres_upgrade.sh
ERROR:  relation "pglogical.subscription" does not exist
LINE 1: SELECT sub_slot_name FROM pglogical.subscription
                                  ^
/var/opt/rh/rh-postgresql94/lib/pgsql/data is not a mount point, exiting.

Environment

  • CloudForms 4.0
  • CloudForms 4.1
  • CloudForms 4.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content