Posted in Linux, Openstack

Openstack IceHouse Installation on Ubuntu 14.04 LTS

Refer my previous post for installation of Ubuntu server 14.04. Once OS installation is completed and VM restarted successfully then we can use same VM for Openstack Installation.

  1. Update existing Ubuntu filesets before installation of Openstack.

11

2. Install openssh-server fileset to get ssh console from outside world. This is optional installation which is useful for taking putty session of server. You can take console login of server as well using ESX GUI.

12

13

3. Change Interface setting to dhcp to automatically configure IP in the range of host machine IP and connect to Ubuntu.com to download Openstack bundles. You can use static IP as well. Edit /etc/network/interfaces file to make the changes.

14

4. If VM is behind the firewall then to access/download filesets from internet you have to add http_proxy, https_proxy and ftp_proxy setting into /etc/environment file or in .bashrc file of user . This is optional setting if you can access internet directly (without firewall).

Syntax – username:password@proxyservername:8080

15

5. Install git repository to clone Openstack bundles on VM.

16

6. Create Openstack directory in /var to store Openstack data. Execute following command to download Openstack bundles from github

# git clone https://github.com/openstack-dev/devstack.git

17

7. To install Openstack we need non-root user. One script is provided through devstack bundles to create user stack to install Openstack. This script will create user and group named stack and add passwordless sudo privileges for stack user. The path of script is /var/openstack/devstack/tools/create-stack-user.sh.

18

8. During Installation of Openstack other components will also be installed as part of complete installation like MYSQL server, RABBIT server, messaging server. During installation of these components we need to set/insert password manually So to make it automate we create one file localrc in devstack folder and store all required password in it.

19

9. If you are getting error while downloading data from GIT base using git repo then replace git with https in stackrc file. I have encountered this issue so updated the stackrc file and change GIT_BASE address from git to https.

20

10. Reboot the server here login using stack user and start stack.sh script. This will start the installation with below screen.

21

11. This script will take around 1 hour to complete the installation provided you have good network speed. you may encounter issues during installation just check exact error message and resolve it and start installation again using stack.sh script. After successful installation following screen appears.

22

12.Now you can open the Openstack Dashboard using https://127.0.0.1 internally and using any interface IP from outside. Default Login username is admin and use same password mentioned in localrc file.

23

13. After successful login using admin and supersecret as password you can see Openstack dashboard.

24

14. Best of Luck for your Openstack installation. Feel free to comment on this post for any issues.

Advertisements

Author:

I have created this blog to share my learning from IT world. Hope you find it useful in your day to day work. Feel free to send me your feedback about my blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s