Today, we are going to learn that how to install single node OpenStack on Ubuntu system along with conjure-up. Conjure-up helps in installing the complex software stack in easy & automated manner. It will help you to easily understand the big software instead of learning how to deploy them.
There are various conjure-up spells that are available on registry. Here we’ll list some of them
- Kubernetes
- OpenStack
- bigdata – hadoop
And many others. So, let’s proceed towards the installation of Single Node OpenStack on Ubuntu 18.04 with Conjure-up.
Step 1: Update system
Fire the command to update & upgrade your system.
sudo apt update && sudo apt-y upgrade
After it reboot your system
sudo reboot
Step 2: Install Conjure-up
As conjure-up is available on Ubuntu named as snap so, install it by
sudo apt install snapd
sudo snap install conjure-up --classic
![](https://www.osradar.com/wp-content/uploads/2020/02/how-to-set-up-single-node-openstack-on-ubuntu-18.04-with-conjure-up.png)
Step 3: Install LXD on Ubuntu
As the conjure-up prerequisite is LXD. To use conjure-up we need to install & configure LXD before using conjure -up.
Install LXD by hitting
sudo snap install lxd
![](https://www.osradar.com/wp-content/uploads/2020/02/install-lxd-snap.png)
For accessing LXD service, you must be the part of the lxd group. So, add your $USER to the lxd group by the following command
sudo usermod -a -G lxd $USER
newgrp lxd
Now, start the LXD using the below command
/snap/bin/lxd init
![](https://www.osradar.com/wp-content/uploads/2020/02/start-lxd-services.png)
I recommend you to use the default settings as they are enough for most of the work.
Make sure to confirm the bridge creation.
ip ad
![](https://www.osradar.com/wp-content/uploads/2020/02/ip-ad-command.png)
For localhost deployments, LXD must have a bridge network defined:
lxc network set lxdbr0 ipv4.address=auto ipv4.nat=true ipv6.address=none ipv6.nat=false
Again make sure that IPv6 is disabled.
lxc network show
![](https://www.osradar.com/wp-content/uploads/2020/02/single-node-openstack-with-conjure-up.png)
If you are using proxy in your network then you need to first configure the LXD to use proxy for external access.
lxc config set core.proxy_http <http proxy server>
lxc config set core.proxy_https <https proxy server>
lxc config set core.proxy_ignore_hosts <no proxy hosts>
Step 4: Install OpenStack on Ubuntu along wiht LXD & Conjure-up
After the installation of LXD & conjure-up, proceed towards the installation of OpenStack on Ubuntu.
First of all generate the ssh keys by
ssh-keygen
![](https://www.osradar.com/wp-content/uploads/2020/02/ssh-keygen-for-single-node-openstack.png)
Type the below command to list the number of available spells run. Because Single Node OpenStack on Ubuntu is done in interactive session.
conjure-up
Now, select the option “OpenStack with NovaLXD” spell from the given dialog.
![](https://www.osradar.com/wp-content/uploads/2020/02/openstack-with-lxd-1024x462.png)
In “Next” select the localhost option and press Enter.
![](https://www.osradar.com/wp-content/uploads/2020/02/select-localhost-for-conjure-up-1024x446.png)
Then on the next screen, select the LXD bridge
![](https://www.osradar.com/wp-content/uploads/2020/02/lxd-bridge-selection-with-conjure-up-1024x466.png)
Then on the next step, to launch the OpenStack instances, provide the SSH public keypath.
![](https://www.osradar.com/wp-content/uploads/2020/02/ssh-public-key-path-1024x463.png)
After it make sure the services that are being deployed with OpenStack & press on the Deploy button.
![](https://www.osradar.com/wp-content/uploads/2020/02/deploy-openstack-1024x467.png)
Wait for the controller to finish up setting all things as this will take some time.
![](https://www.osradar.com/wp-content/uploads/2020/02/controller-is-initializing-1024x470.png)
You’ll see the similar results below upon successful installation of Single Node OpenStack with Conjure-up on Ubuntu 18.04.
![](https://www.osradar.com/wp-content/uploads/2020/02/final-step-horizon.jpg)
Please note down the Horizon credentials from the above step to login to. By default credentials are admin & openstack username & password respectively.
![](https://www.osradar.com/wp-content/uploads/2020/02/openstack-dashboard-ubuntu.jpg)
For removing of the conjure-up hit
conjure-down
If you want to unistall the conjure-up type
sudo snap remove conjure-up
So, this is how you can set up single node openstack with conjure-up on your Ubuntu 18.04 system.