Ask Your Question
0

Installing Openstack on Ubuntu 16.10

asked 2017-03-01 01:28:53 -0600

Swapnil gravatar image

updated 2017-04-21 08:45:49 -0600

Bernd Bausch gravatar image

Hi Team,

This is my first post and I am sure I will get my query resolved.

I have installed Ubuntu 16.10 and want to install Openstack on them. I see this on Openstack and Ubuntu sites:

Ubuntu Server
OpenStack Newton
Ubuntu 16.10 includes the latest OpenStack release, Newton, including the following components:
•   OpenStack Identity - Keystone
•   OpenStack Imaging - Glance
•   OpenStack Block Storage - Cinder
•   OpenStack Compute - Nova
•   OpenStack Networking - Neutron
•   OpenStack Telemetry - Ceilometer and Aodh
•   OpenStack Orchestration - Heat
•   OpenStack Dashboard - Horizon
•   OpenStack Object Storage - Swift
•   OpenStack Database as a Service - Trove
•   OpenStack DNS - Designate
•   OpenStack Bare-metal - Ironic
•   OpenStack Filesystem - Manila
•   OpenStack Key Manager - Barbican

Does this means I need not to install any of the packages? But when i check "dpkg -L" I don't see any packages installed.

If I try installing any of them I get below error:

controller1:~$ sudo apt install keystone
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package keystone
gguser@controller1:~$

Also when I try installing "openstack" assuming everything is already there I get the similar error:

controller1:~$ sudo apt-get install openstack
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openstack
controller1:~$

Am I missing something? Do I need to setup repositories? If yes what will be the entries I will need to make any advice will be highly appreciated.

Thanks

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2017-04-20 22:14:56 -0600

vgadiraj gravatar image

No you still need to install OpenStack services, they do not come as packages with Ubuntu. You cannot install the services through apt-get. You need to clone the repositories through https://github.com/openstack. There are install guides for each of the services on http://docs.openstack.org However, you do not have to do this if you use DevStack, which is a great option to install and run an OpenStack cloud on a VM.

DevStack is a series of extensible scripts used to quickly bring up a complete OpenStack environment based on the latest versions of everything from git master. It is used interactively as a development environment and as the basis for much of the OpenStack project’s functional testing.DevStack is ideal for potential users who want to see what the Dashboard looks like from an admin or user perspective, and for OpenStack contributors wanting to test against a complete local environment. WARNING - I strongly advise you not to install DevStack on your local machine as it will mess with your directories and your machine. Run DevStack on a VM.

Here is the quick start guide on deploying an OpenStack cloud using DevStack: https://docs.openstack.org/developer/devstack/

edit flag offensive delete link more

Comments

From the Ubuntu install guide (keystone section as example):

apt install keystone

So, there are packages, and there is no need to clone the git repo.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-21 21:49:50 -0600 )edit

Hoping this won't trigger a flame war: I would strongly advise anyone new to OpenStack NOT to use DevStack. It's great when it works, but it's hard to troubleshoot when it doesn't, it can't be rebooted easily, and the configuration it creates is quite unusual.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-21 21:51:49 -0600 )edit
0

answered 2017-04-21 06:35:47 -0600

Bernd Bausch gravatar image

updated 2017-04-21 06:38:51 -0600

Yes you need to enable a repo, as explained in the installation guide. I suggest you read the entire guide, not just that page, since you need to do quite a bit more than just downloading software.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-03-01 01:26:39 -0600

Seen: 557 times

Last updated: Apr 21