Start barbican in virtual env by:
pyenv shell barbican27
Run
bin/barbican.sh install
Keystone installation
install devstack (centos-release-7-5.1804.el7.centos.x86_64)
export HOST_IP=127.0.0.1
downgrade setuptools to 39.0.1
sudo pip install setuptools==39.0.1
to avoid etcd service error,
Job for devstack@etcd.service failed because the control process exited with error code. See "systemctl status devstack@etcd.service" and "journalctl -xe" for details
disable service in local.conf
disable_service etcd3
Add iptable rule
sudo vi /etc/sysconfig/iptables
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
and restart network by
service iptables restart
run ./stack.sh
[ERROR] /opt/stack/devstack/lib/glance:353 g-api did not start
./unstack.sh
./clean.sh
killall -u stack
./stack.sh
reinstall libvirtd for failed on start the libvirtd.service
sudo yum reinstall libvirt-daemon
enable CLI for admin with ". openrc admin admin"
then test the barbican funcitons.