Ask Your Question
0

Packstack installation failed during keystone install

asked 2015-09-04 06:37:16 -0500

baluchen gravatar image

updated 2015-09-04 12:09:48 -0500

dbaxps gravatar image

Friends,

This is my first post and new to OpenStack. I'm trying to install Packstack on my fedora and getting error while applying keystone puppet manifest.

192.168.122.63_amqp.pp:                              [ DONE ]        
192.168.122.63_mariadb.pp:                           [ DONE ]        
Applying 192.168.122.63_keystone.pp
Applying 192.168.122.63_glance.pp
Applying 192.168.122.63_cinder.pp
192.168.122.63_keystone.pp:                       [ ERROR ]           
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.122.63_keystone.pp
Notice: /Stage[main]/Keystone/Exec[keystone-manage pki_setup]/returns: ImportError: cannot import name cli
You will find full trace in log /var/tmp/packstack/20150904-165211-IXOUvp/manifests/192.168.122.63_keystone.pp.log
Please check log file /var/tmp/packstack/20150904-165211-IXOUvp/openstack-setup.log for more information
Additional information:
 * A new answerfile was created in: /root/packstack-answers-20150904-165212.txt
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.122.63. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.122.63/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.122.63/nagios username: nagiosadmin, password: 45eec3914dfe4c2b

-----------------------------------------------------------------------------------------------------------------------
output of /var/tmp/packstack/20150904-165211-IXOUvp/manifests/192.168.122.63_keystone.pp.log
-----------------------------------------------------------------------------------------------------------------------

[root@fedra tmp]# cat /var/tmp/packstack/20150904-165211-IXOUvp/manifests/192.168.122.63_keystone.pp.log
Error: NetworkManager is not running.
Called 'load' without the :safe option -- defaulting to safe mode.
You can avoid this warning in the future by setting the SafeYAML::OPTIONS[:default_mode] option (to :safe or :unsafe).
Warning: Scope(Class[Glance::Keystone::Auth]): The public_address parameter is deprecated, use public_url instead.
Warning: Scope(Class[Glance::Keystone::Auth]): The internal_address parameter is deprecated, use internal_url instead.
Warning: Scope(Class[Glance::Keystone::Auth]): The admin_address parameter is deprecated, use admin_url instead.
Warning: Scope(Class[Cinder::Keystone::Auth]): The public_address parameter is deprecated, use public_url instead.
Warning: Scope(Class[Cinder::Keystone::Auth]): The internal_address parameter is deprecated, use internal_url instead.
Warning: Scope(Class[Cinder::Keystone::Auth]): The admin_address parameter is deprecated, use admin_url instead.
Warning: Scope(Class[Nova::Keystone::Auth]): The public_address parameter is deprecated, use public_url instead.
Warning: Scope(Class[Nova::Keystone::Auth]): The public_address parameter is deprecated, use ec2_public_url instead.
Warning: Scope(Class[Nova::Keystone::Auth]): The internal_address parameter is deprecated, use internal_url instead.
Warning: Scope(Class[Nova::Keystone::Auth]): The internal_address parameter is deprecated, use ec2_internal_url instead.
Warning: Scope(Class[Nova::Keystone::Auth]): The admin_address parameter is deprecated, use admin_url instead.
Warning: Scope(Class[Nova::Keystone::Auth]): The admin_address parameter is deprecated, use ec2_admin_url instead.
Warning: Scope(Class[Neutron::Keystone::Auth]): The public_address parameter is deprecated, use public_url instead.
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 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-09-04 12:24:06 -0500

dbaxps gravatar image

When you follow https://www.rdoproject.org/Quickstart , don't disable NetworkManager before running packstack
Run

# packstack --gen-answer-file answer-file.txt
Set in  answer-file.txt :-
CONFIG_KEYSTONE_SERVICE_NAME=httpd
# packstack --answer-file=./answer-file.txt

Upon completion configure /etc/sysconfig/network-scripts/ifcfg-br-ex and /etc/sysconfig/network-scripts/ifcfg-enp3s0
I presume that your major Ethernet interface is enp3s0 ( it might be em1, then ifcfg-em1).
Your LAN 192.169.142.0./24, your original IP 192.169.142.54

# cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="192.169.142.54"
NETMASK="255.255.255.0"
DNS1="83.221.202.254"
BROADCAST="192.169.142.255"
GATEWAY="192.169.142.1"
NM_CONTROLLED="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT="yes"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"

#  cat ifcfg-enp3s0
DEVICE="enp3s0"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

Then


# chkconfig network on
# service network restart
# systemctl stop NetworkManager
# systemctl disable NetworkManager 
# reboot
edit flag offensive delete link more
0

answered 2015-09-19 11:25:20 -0500

baluchen gravatar image

Thank you. appreciate your help

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-04 06:37:16 -0500

Seen: 2,641 times

Last updated: Sep 19 '15