Manageiq appliance_console “configure database”->“cretae key”failed!

gaprindashvili

#1

Hi there:
I want to configure a miq database cluster,I did this by following


but I got error!!

operation:

error:
Choose the encryption key: |1| 1
/root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/manageiq-gems-pending-3457c5b58220/lib/gems/pending/util/miq-password.rb:177:in write': No such file or directory @ rb_sysopen - /tmp/d20180703-16509-ccoye2/certs/v2_key.tmp (Errno::ENOENT) from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/manageiq-gems-pending-3457c5b58220/lib/gems/pending/util/miq-password.rb:177:instore_key_file’
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/manageiq-gems-pending-3457c5b58220/lib/gems/pending/util/miq-password.rb:171:in block in generate_symmetric' from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/manageiq-gems-pending-3457c5b58220/lib/gems/pending/util/miq-password.rb:171:intap’
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/manageiq-gems-pending-3457c5b58220/lib/gems/pending/util/miq-password.rb:171:in generate_symmetric' from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/lib/manageiq/appliance_console/key_configuration.rb:92:increate_key’
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/lib/manageiq/appliance_console/key_configuration.rb:114:in get_new_key' from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/lib/manageiq/appliance_console/key_configuration.rb:51:inactivate’
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/lib/manageiq/appliance_console/key_configuration.rb:44:in block in ask_question_loop' from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/lib/manageiq/appliance_console/key_configuration.rb:42:inloop’
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/lib/manageiq/appliance_console/key_configuration.rb:42:in ask_question_loop' from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/bin/appliance_console:51:inensure_key_configured’
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/bin/appliance_console:478:in block in <module:ApplianceConsole>' from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/bin/appliance_console:102:inloop’
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/bin/appliance_console:102:in <module:ApplianceConsole>' from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/bin/appliance_console:93:inmodule:ManageIQ
from /root/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/manageiq-appliance_console-2.0.3/bin/appliance_console:92:in <top (required)>' from /root/.rbenv/versions/2.3.1/bin/appliance_console:23:inload’
from /root/.rbenv/versions/2.3.1/bin/appliance_console:23:in `’


#2

Is there any official docs about howto setup multi-region environment and miq database cluster?
For now,I find it hard to find docs about this,I spent lots of time to find these docs and I always got errors!
Can anyone help me?


#3

Resolved


#4

Glad to hear.

It is a good practice on a technical forum to share the solution you found, in case someone else run into the same problem.


#5

I use the official release image and fllow the links in my question,then it works!