Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[RDO][liberty] Invalid parameter public_address on Class[Sahara::Keystone::Auth]

Hello,

I am installing liberty by RDO packstack on 3 nodes(controller, compute, network). but packstack was failed with following error message.

Especially this part,

    Error: Invalid parameter public_address on Class[Sahara::Keystone::Auth]

Any ideas would be helpful for me.

# packstack --answer-file=packstack-answer-20151105-1520.txt
-- omit --
10.32.23.126_keystone.pp:                         [ ERROR ]
Applying Puppet manifests                         [ ERROR ]
ERROR : Error appeared during Puppet run: 10.32.23.126_keystone.pp
Error: Invalid parameter public_address on Class[Sahara::Keystone::Auth] at /var/tmp/packstack/6e38b1d842b7469994dee8f456e1ae50/manifests/10.32.23.126_keystone.pp:213 on node ckp201.mng.kvh.ne.jp
You will find full trace in log /var/tmp/packstack/20151105-165522-m7abhL/manifests/10.32.23.126_keystone.pp.log
Please check log file /var/tmp/packstack/20151105-165522-m7abhL/openstack-setup.log for more information

-

# tail /var/tmp/packstack/20151105-165522-m7abhL/manifests/10.32.23.126_keystone.pp.log
Warning: Scope(Class[Neutron::Keystone::Auth]): The internal_address parameter is deprecated, use internal_url instead.
Warning: Scope(Class[Neutron::Keystone::Auth]): The admin_address parameter is deprecated, use admin_url instead.
Warning: Scope(Class[Swift::Keystone::Auth]): The public_address parameter is deprecated, use public_url and public_url_s3 instead.
Warning: Scope(Class[Ceilometer::Keystone::Auth]): The public_address parameter is deprecated, use public_url instead.
Warning: Scope(Class[Ceilometer::Keystone::Auth]): The internal_address parameter is deprecated, use internal_url instead.
Warning: Scope(Class[Ceilometer::Keystone::Auth]): The admin_address parameter is deprecated, use admin_url instead.
Error: Invalid parameter public_address on Class[Sahara::Keystone::Auth] at /var/tmp/packstack/6e38b1d842b7469994dee8f456e1ae50/manifests/10.32.23.126_keystone.pp:213 on node ckp201.mng.kvh.ne.jp
Wrapped exception:
Invalid parameter public_address
Error: Invalid parameter public_address on Class[Sahara::Keystone::Auth] at /var/tmp/packstack/6e38b1d842b7469994dee8f456e1ae50/manifests/10.32.23.126_keystone.pp:213 on node ckp201.mng.kvh.ne.jp

-

# less /var/tmp/packstack/20151105-165522-m7abhL/openstack-setup.log
-- omit --
2015-11-05 16:57:19::ERROR::run_setup::1017::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1012, in main
    _main(options, confFile, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 209, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 123, in wait_for_puppet
    validate_logfile(log)
  File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile
    raise PuppetError(message)
PuppetError: Error appeared during Puppet run: 10.32.23.126_keystone.pp
Error: Invalid parameter public_address on Class[Sahara::Keystone::Auth] at /var/tmp/packstack/6e38b1d842b7469994dee8f456e1ae50/manifests/10.32.23.126_keystone.pp:213 on node ckp201.mng.kvh.ne.jp
You will find full trace in log /var/tmp/packstack/20151105-165522-m7abhL/manifests/10.32.23.126_keystone.pp.log
2015-11-05 16:57:19::INFO::shell::94::root:: [10.32.23.126] Executing script:
rm -rf /var/tmp/packstack/6e38b1d842b7469994dee8f456e1ae50
2015-11-05 16:57:19::INFO::shell::94::root:: [10.32.23.127] Executing script:
rm -rf /var/tmp/packstack/d6aaa9a113414ca7a82cc0b5c1cc3f3b
2015-11-05 16:57:20::INFO::shell::94::root:: [10.32.23.128] Executing script:
rm -rf /var/tmp/packstack/c422e128ca2949beb4b26215238110ac

-

# cat /usr/lib/python2.7/site-packages/packstack/puppet/templates/keystone_sahara.pp
class { '::sahara::keystone::auth':
  password         => hiera('CONFIG_SAHARA_KS_PW'),
  public_address   => hiera('CONFIG_SAHARA_HOST'),
  admin_address    => hiera('CONFIG_SAHARA_HOST'),
  internal_address => hiera('CONFIG_SAHARA_HOST'),
}

There is not this file. /var/tmp/packstack/6e38b1d842b7469994dee8f456e1ae50/manifests/10.32.23.126_keystone.pp

Instead of that. /var/tmp/packstack/20151105-165522-m7abhL/manifests/10.32.23.126_keystone.pp

208 class { '::sahara::keystone::auth':
209   password         => hiera('CONFIG_SAHARA_KS_PW'),
210   public_address   => hiera('CONFIG_SAHARA_HOST'),
211   admin_address    => hiera('CONFIG_SAHARA_HOST'),
212   internal_address => hiera('CONFIG_SAHARA_HOST'),
213 }

Version:

# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
# rpm -qa | grep packstack
openstack-packstack-puppet-2015.2-0.1.dev1654.gcbbf46e.el7.noarch
openstack-packstack-2015.2-0.1.dev1654.gcbbf46e.el7.noarch

Thank you.