Skip to content

Instantly share code, notes, and snippets.

@arcolife
Created September 14, 2017 10:21
Show Gist options
  • Save arcolife/d5bb1faf1b02f889a7670fc82e5e9cdc to your computer and use it in GitHub Desktop.
Save arcolife/d5bb1faf1b02f889a7670fc82e5e9cdc to your computer and use it in GitHub Desktop.
packstack error
lcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20170914-144941-iMcY45/openstack-setup.log
Installing:
Clean Up [ DONE ]
Discovering ip protocol version [ DONE ]
Setting up ssh keys [ DONE ]
Preparing servers [ DONE ]
^[[C^[[D^[[A^[[D^[[C^[[C^[[C^[[C^[[6;7~Pre installing Puppet and discovering hosts' details [ DONE ]
Preparing pre-install entries [ DONE ]
Setting up CACERT [ DONE ]
Preparing AMQP entries [ DONE ]
Preparing MariaDB entries [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Preparing Keystone entries [ DONE ]
Preparing Glance entries [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Preparing Cinder entries [ DONE ]
Preparing Nova API entries [ DONE ]
Creating ssh keys for Nova migration [ DONE ]
Gathering ssh host keys for Nova migration [ DONE ]
Preparing Nova Compute entries [ DONE ]
Preparing Nova Scheduler entries [ DONE ]
Preparing Nova VNC Proxy entries [ DONE ]
Preparing OpenStack Network-related Nova entries [ DONE ]
Preparing Nova Common entries [ DONE ]
Preparing Neutron LBaaS Agent entries [ DONE ]
Preparing Neutron API entries [ DONE ]
Preparing Neutron L3 entries [ DONE ]
Preparing Neutron L2 Agent entries [ DONE ]
Preparing Neutron DHCP Agent entries [ DONE ]
Preparing Neutron Metering Agent entries [ DONE ]
Checking if NetworkManager is enabled and running [ DONE ]
Preparing OpenStack Client entries [ DONE ]
Preparing Horizon entries [ DONE ]
Preparing Swift builder entries [ DONE ]
Preparing Swift proxy entries [ DONE ]
Preparing Swift storage entries [ DONE ]
Preparing Gnocchi entries [ DONE ]
Preparing MongoDB entries [ DONE ]
Preparing Redis entries [ DONE ]
Preparing Ceilometer entries [ DONE ]
Preparing Aodh entries [ DONE ]
Preparing Puppet manifests [ DONE ]
Copying Puppet modules and manifests [ DONE ]
Applying 192.168.122.70_controller.pp
192.168.122.70_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 192.168.122.70_controller.pp
Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: ValueError: Unable to configure handler 'null': Cannot resolve 'django.utils.log.NullHandler': No module named NullHandler
You will find full trace in log /var/tmp/packstack/20170914-144941-iMcY45/manifests/192.168.122.70_controller.pp.log
Please check log file /var/tmp/packstack/20170914-144941-iMcY45/openstack-setup.log for more information
Additional information:
* A new answerfile was created in: /home/arco/packstack-answers-20170914-144941.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.70. To use the command line tools you need to source the file.
* Copy of keystonerc_admin file has been created for non-root user in /home/arco.
* To access the OpenStack Dashboard browse to http://192.168.122.70/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
@arcolife
Copy link
Author

arcolife commented Sep 14, 2017

enabled epel repo.
then followed steps (impatient ones) from https://www.rdoproject.org/install/packstack/
had disabled and stopped NetworkManager and firewalld.
ifdown'ed network interface and then started network service
Had to edir /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py and change:

            'class': 'logging.NullHandler',
            #'class': 'django.utils.log.NullHandler',

and then run packstack, but this doesn't matter I guess, because local_settings.py is over written everytime.

python2-django-1.9.13-1.fc25.noarch (django 1.9) doesn't play well with logging settings of openstack_dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment