Running Barbican on DevStack¶
Barbican is currently available via the plugin interface within DevStack.
This installation guide assumes you are running devstack within a clean virtual machine (local or cloud instance) using one of the supported Linux distributions with all available system package updates.
- Make sure you are logged in as the “stack” user with sudo privileges 
- Install git - # Debian/Ubuntu sudo apt-get install git # CentOS sudo dnf install git 
- Clone DevStack - git clone https://opendev.org/openstack/devstack.git cd devstack/ 
- Add the Barbican plugin to the - local.conffile and verify the minimum services required are included. You can pull down a specific branch by appending the name to the end of the git URL. If you leave the space empty like below, then origin/master will be pulled.- enable_plugin barbican https://opendev.org/openstack/barbican enable_service rabbit mysql key tempest - If this is your first time and you do not have a - local.conffile, there is a working sample file in the Barbican repository. Copy the file and place it in the- devstack/directory.
- Start DevStack - ./stack.sh 
- Clone and install barbican-tempest-plugin - cd /opt/stack/ git clone https://opendev.org/openstack/barbican-tempest-plugin.git pip install -e /opt/stack/barbican-tempest-plugin 
