centos 7.6 new instillation [Failed to apply catalog: Could not authenticate]

asked 2019-02-25 05:47:19 -0600

ahmedmmm gravatar image

hello, i try to install openstack last 3 versions [rocky,queens,pike] using packstack and everytime installition gives me error

ERROR : Error appeared during Puppet run: xxxxxxx_controller.pp Error: Failed to apply catalog: Could not authenticate

after checking packstack logs and full debug it's not show any new information so i opened /var/log/xxx and check openstack components logs, i noticed mariadb have error in both [packstack or devstack]

2019-02-24 22:34:03 140608686713024 [ERROR] mysqld: Server GSSAPI error (major 851968, minor 2529639093) : gss_acquire_cred failed -Unspecified GSS failure. Minor code may provide more information. Keytab FILE:/etc/krb5.keytab is nonexistent or empty. 2019-02-24 22:34:03 140608686713024 [ERROR] Plugin 'gssapi' init function returned error.

OS: Centos 7.6 with last updates , firewalld and selinux , network manager closed and VT enabled in this VM. Ram : 50G , HD: 200G

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-02-25 10:55:44 -0600

ahmedmmm gravatar image

updated 2019-02-25 23:31:59 -0600

after very long time of tshoot,issue solved!

this issue because i use http proxy in .bashrc and openstack component use http to communicate with each other, so to solve this issue : 1- add proxy from /etc/yum.conf file ( just add proxy=http://xxxx:port 2- in packstack answer file don't download test project because you will face errors to download cirrors image this from y to n -> CONFIG_PROVISION_DEMO=n

or if you want use test project change this URL to be local in your disk to avoid using proxy

CONFIG_PROVISION_UEC_IMAGE_DISK_URL=https://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img and CONFIG_PROVISION_UEC_IMAGE_KERNEL_URL=https://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-kernel CONFIG_PROVISION_UEC_IMAGE_RAMDISK_URL=https://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-initramfs

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-02-25 05:47:19 -0600

Seen: 878 times

Last updated: Feb 25 '19