Packstack install fails

asked 2019-11-05 20:07:52 -0500

Sheik gravatar image

updated 2019-12-18 15:55:41 -0500

Error when installing with Packstack and stein

Same error if I use --allinone or install with myanswer file.

ERROR : Error appeared during Puppet run: (deleted IP )_controller.pp Error: /Stage[main]/Keystone/Exec[keystone-manage bootstrap]: Failed to call refresh: 'keystone-manage bootstrap' returned 1 instead of one of [0]

If I manually run command "# keystone-manage bootstrap". It appears to be successful. However if I tail /var/log/mariadb/mariadb.log, I see the following

2019-11-05 21:04:37 53766 [Warning] Aborted connection 53766 to db: 'keystone' user: 'keystone_admin' host: 'openstack-master-burl' (Got an error reading communication packets)

Stein uname -r 4.1.12-112.16.4.el7uek.x86_64

Any clues as to which way I should look?

RETRY:

Copying Puppet modules and manifests                 [ DONE ]
Applying 10.152.117.231_controller.pp
10.152.117.231_controller.pp:                     [ ERROR ]             
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.152.117.231_controller.pp
Error: /Stage[main]/Keystone/Exec[keystone-manage bootstrap]: Failed to call refresh: 'keystone-manage bootstrap' returned 1 instead of one of [0]
You will find full trace in log /var/tmp/packstack/20191218-162138-bs7YIS/manifests/10.152.117.231_controller.pp.log
Please check log file /var/tmp/packstack/20191218-162138-bs7YIS/openstack-setup.log for more information
Additional information:
 * Parameter CONFIG_NEUTRON_L2_AGENT: You have choosen OVN neutron backend. Note that this backend does not support LBaaS, VPNaaS or FWaaS services. Geneve will be used as encapsulation method for tenant networks

grep -v "^#" packstack-answers-20191217-194320.txt 
[general]

CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub

CONFIG_DEFAULT_PASSWORD=

CONFIG_SERVICE_WORKERS=%{::processorcount}

CONFIG_MARIADB_INSTALL=y

CONFIG_GLANCE_INSTALL=y

CONFIG_CINDER_INSTALL=y

CONFIG_MANILA_INSTALL=n

CONFIG_NOVA_INSTALL=y

CONFIG_NEUTRON_INSTALL=y

CONFIG_HORIZON_INSTALL=y

CONFIG_SWIFT_INSTALL=y

CONFIG_CEILOMETER_INSTALL=y

CONFIG_AODH_INSTALL=y

CONFIG_PANKO_INSTALL=n

CONFIG_SAHARA_INSTALL=n

CONFIG_HEAT_INSTALL=n

CONFIG_MAGNUM_INSTALL=n

CONFIG_TROVE_INSTALL=n

CONFIG_IRONIC_INSTALL=n

CONFIG_CLIENT_INSTALL=y

CONFIG_NTP_SERVERS=144.20.15.204,10.246.0.1,144.20.15.203

EXCLUDE_SERVERS=

CONFIG_DEBUG_MODE=y

CONFIG_CONTROLLER_HOST=10.152.117.231

CONFIG_COMPUTE_HOSTS=10.152.117.231,10.152.117.221

CONFIG_NETWORK_HOSTS=10.152.117.231,10.152.117.221

CONFIG_VMWARE_BACKEND=n

CONFIG_UNSUPPORTED=n

CONFIG_USE_SUBNETS=n

CONFIG_VCENTER_HOST=

CONFIG_VCENTER_USER=

CONFIG_VCENTER_PASSWORD=

CONFIG_VCENTER_CLUSTER_NAMES=

CONFIG_STORAGE_HOST=10.152.117.231

CONFIG_SAHARA_HOST=10.152.117.231

CONFIG_REPO=

CONFIG_ENABLE_RDO_TESTING=n

CONFIG_RH_USER=

CONFIG_SATELLITE_URL=

CONFIG_RH_SAT6_SERVER=

CONFIG_RH_PW=

CONFIG_RH_OPTIONAL=y

CONFIG_RH_PROXY=

CONFIG_RH_SAT6_ORG=

CONFIG_RH_SAT6_KEY=

CONFIG_RH_PROXY_PORT=

CONFIG_RH_PROXY_USER=

CONFIG_RH_PROXY_PW=

CONFIG_SATELLITE_USER=

CONFIG_SATELLITE_PW=

CONFIG_SATELLITE_AKEY=

CONFIG_SATELLITE_CACERT=

CONFIG_SATELLITE_PROFILE=

CONFIG_SATELLITE_FLAGS=

CONFIG_SATELLITE_PROXY=

CONFIG_SATELLITE_PROXY_USER=

CONFIG_SATELLITE_PROXY_PW=

CONFIG_SSL_CACERT_FILE=/etc/pki/tls/certs/selfcert.crt

CONFIG_SSL_CACERT_KEY_FILE=/etc/pki/tls/private/selfkey.key

CONFIG_SSL_CERT_DIR=~/packstackca/

CONFIG_SSL_CACERT_SELFSIGN=y

CONFIG_SSL_CERT_SUBJECT_C=--

CONFIG_SSL_CERT_SUBJECT_ST=State

CONFIG_SSL_CERT_SUBJECT_L=City

CONFIG_SSL_CERT_SUBJECT_O=openstack

CONFIG_SSL_CERT_SUBJECT_OU=packstack

CONFIG_SSL_CERT_SUBJECT_CN=openstack-worker4

CONFIG_SSL_CERT_SUBJECT_MAIL=admin@openstack-worker4

CONFIG_AMQP_BACKEND=rabbitmq

CONFIG_AMQP_HOST=10.152.117.231

CONFIG_AMQP_ENABLE_SSL=n

CONFIG_AMQP_ENABLE_AUTH=n

CONFIG_AMQP_NSS_CERTDB_PW=PW_PLACEHOLDER

CONFIG_AMQP_AUTH_USER=amqp_user

CONFIG_AMQP_AUTH_PASSWORD=PW_PLACEHOLDER

CONFIG_MARIADB_HOST=10.152.117.231

CONFIG_MARIADB_USER=root

CONFIG_MARIADB_PW=f543ed4b141f473c

CONFIG_KEYSTONE_DB_PW=NextGen

CONFIG_KEYSTONE_FERNET_TOKEN_ROTATE_ENABLE=True

CONFIG_KEYSTONE_REGION=RegionOne

CONFIG_KEYSTONE_ADMIN_TOKEN=178781404d6f442480dac44968e97571

CONFIG_KEYSTONE_ADMIN_EMAIL=root@localhost

CONFIG_KEYSTONE_ADMIN_USERNAME=admin

CONFIG_KEYSTONE_ADMIN_PW=2c1cd543f3774115

CONFIG_KEYSTONE_DEMO_PW=460938d4fd814b11

CONFIG_KEYSTONE_API_VERSION=v3

CONFIG_KEYSTONE_TOKEN_FORMAT=FERNET

CONFIG_KEYSTONE_IDENTITY_BACKEND=sql

CONFIG_KEYSTONE_LDAP_URL=ldap://10.152.117.231

CONFIG_KEYSTONE_LDAP_USER_DN=

CONFIG_KEYSTONE_LDAP_USER_PASSWORD=

CONFIG_KEYSTONE_LDAP_SUFFIX=

CONFIG_KEYSTONE_LDAP_QUERY_SCOPE=one

CONFIG_KEYSTONE_LDAP_PAGE_SIZE=-1

CONFIG_KEYSTONE_LDAP_USER_SUBTREE=

CONFIG_KEYSTONE_LDAP_USER_FILTER=

CONFIG_KEYSTONE_LDAP_USER_OBJECTCLASS=

CONFIG_KEYSTONE_LDAP_USER_ID_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_USER_NAME_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_USER_MAIL_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_USER_ENABLED_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_USER_ENABLED_MASK=-1

CONFIG_KEYSTONE_LDAP_USER_ENABLED_DEFAULT=TRUE

CONFIG_KEYSTONE_LDAP_USER_ENABLED_INVERT=n

CONFIG_KEYSTONE_LDAP_USER_ATTRIBUTE_IGNORE=

CONFIG_KEYSTONE_LDAP_USER_DEFAULT_PROJECT_ID_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_USER_ALLOW_CREATE=n

CONFIG_KEYSTONE_LDAP_USER_ALLOW_UPDATE=n

CONFIG_KEYSTONE_LDAP_USER_ALLOW_DELETE=n

CONFIG_KEYSTONE_LDAP_USER_PASS_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_USER_ENABLED_EMULATION_DN=

CONFIG_KEYSTONE_LDAP_USER_ADDITIONAL_ATTRIBUTE_MAPPING=

CONFIG_KEYSTONE_LDAP_GROUP_SUBTREE=

CONFIG_KEYSTONE_LDAP_GROUP_FILTER=

CONFIG_KEYSTONE_LDAP_GROUP_OBJECTCLASS=

CONFIG_KEYSTONE_LDAP_GROUP_ID_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_GROUP_NAME_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_GROUP_MEMBER_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_GROUP_DESC_ATTRIBUTE=

CONFIG_KEYSTONE_LDAP_GROUP_ATTRIBUTE_IGNORE=

CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_CREATE=n

CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_UPDATE=n

CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_DELETE=n

CONFIG_KEYSTONE_LDAP_GROUP_ADDITIONAL_ATTRIBUTE_MAPPING=

CONFIG_KEYSTONE_LDAP_USE_TLS=n

CONFIG_KEYSTONE_LDAP_TLS_CACERTDIR=

CONFIG_KEYSTONE_LDAP_TLS_CACERTFILE=

CONFIG_KEYSTONE_LDAP_TLS_REQ_CERT=demand ...
(more)
edit retag flag offensive close merge delete

Comments

FYI - If I look at these two log files mentioned they both say approximately the same thing.

"You will find full trace in log /var/tmp/packstack/20191105-211131-vsEu4E/manifests/10.152.117.238_controller.pp.log Please check log file /var/tmp/packstack/20191105-211131-vsEu4E/openstack-setup.log for

Sheik gravatar imageSheik ( 2019-11-05 20:19:20 -0500 )edit

Something wrong with the hostname openstack-master-burl, perhaps? Have you disabled firewalld and NetworkManager?

Hard to say more without seeing the answer file.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-05 22:42:57 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-11-06 19:59:03 -0500

Sheik gravatar image

My 3 server cluster is operating and I am working through issues. Don't want to rerun packstack yet. I am newbie so likely configuration some how.

For now lets close this. thanks.

edit flag offensive delete link more

Comments

Bernd, I tried packstack again same issue. firewalld and NetworkManager disabled.

Will put answerfile description.

Sheik gravatar imageSheik ( 2019-12-18 15:51:38 -0500 )edit

Since the problem seems to be related to Keystone, I would check the keystone log. Also the openstack-setup.log mentioned in the error. How is the host openstack-master-burl defined?

Rather than listing the entire answer file, just post the parameters that you set to non-default values.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-18 17:36:23 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2019-11-05 20:06:27 -0500

Seen: 160 times

Last updated: Dec 18 '19