Appliance will not starting after upgrading to CloudForms 3.1

Solution Unverified - Updated -

Issue

After upgrading to CloudForms 3.1 and migrating the database over, I can't get CloudForms to start. The appliance shows that the database is up and running. I sshed into the appliance and I started the evmserverd service, but when I run a service evmserverd status, it says "stopped" under the status column. Is there something else I have to do to start CloudForms up besides starting the evmserverd service?

[root@cloudforms vmdb]# bundle exec ruby ./tools/fix_auth.rb --hostname localhost --password smartvm
fixing authentications.password, auth_key
/var/www/miq/lib/util/miq-password.rb:53:in `rescue in recrypt': not decryptable string (RuntimeError)
        from /var/www/miq/lib/util/miq-password.rb:46:in `recrypt'
        from /var/www/miq/vmdb/tools/fix_auth/auth_model.rb:34:in `recrypt'
        from /var/www/miq/vmdb/tools/fix_auth/auth_model.rb:50:in `block in fix_passwords'
        from /var/www/miq/vmdb/tools/fix_auth/auth_model.rb:44:in `each'
        from /var/www/miq/vmdb/tools/fix_auth/auth_model.rb:44:in `fix_passwords'
        from /var/www/miq/vmdb/tools/fix_auth/auth_model.rb:76:in `block in run'
        from /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.17/lib/active_record/relation/delegation.rb:6:in `each'
        from /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.17/lib/active_record/relation/delegation.rb:6:in `each'
        from /var/www/miq/vmdb/tools/fix_auth/auth_model.rb:75:in `run'
        from /var/www/miq/vmdb/tools/fix_auth/fix_auth.rb:57:in `block (2 levels) in fix_database_passwords'
        from /var/www/miq/vmdb/tools/fix_auth/fix_auth.rb:55:in `each'
        from /var/www/miq/vmdb/tools/fix_auth/fix_auth.rb:55:in `block in fix_database_passwords'
        from /var/www/miq/vmdb/tools/fix_auth/fix_auth.rb:52:in `each'
        from /var/www/miq/vmdb/tools/fix_auth/fix_auth.rb:52:in `fix_database_passwords'
        from /var/www/miq/vmdb/tools/fix_auth/fix_auth.rb:68:in `run'
        from /var/www/miq/vmdb/tools/fix_auth/cli.rb:31:in `run'
        from /var/www/miq/vmdb/tools/fix_auth/cli.rb:35:in `run'
        from ./tools/fix_auth.rb:23:in `<main>'

Environment

  • CloudForms 3.1

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