Skip to main content
OpenStack

Installing DevStack on Ubuntu 16.04

By July 13, 2017November 6th, 20174 Comments

Installing DevStack on UbuntuIn this tutorial we loot installing DevStack on Ubuntu 16.04. The base Operating System in now installed so we should add OpenStack. This we will do using the scripts from the DevStack repository. There are many ways to deploy OpenStack
on Ubuntu and not just DevStack:

  • Install each service manually
  • Conjure-up
  • DevStack
  • and others

DevStack is a simple option and should be installed on a minimal install of Ubuntu such as we have chosen in the demonstration.

Ubuntu Server Install

We are using Ubuntu 16.04 Server. During the install we choose and Guided LVM partitioning layout. This is important as LVM2 is required for the Cinder volume storage to be created. We do not need and unpartitioned space but make sure that you have over 20GB free space on the root partition. DevStack will create loopback files to use as devices. During the install we add in the OpenSSH Server, Standard System Tools and Basic Ubuntu Server for the task selection menu.

Install Python Systemd Support

DevStack needs to be able to link in to systemd to manage services and as such will require the libraries to be installed:

[tux@devstack ~]$ sudo apt-get install -y python-systemd

Create User Account

The services that the DevStack install uses will need their own account. This account must have access to root privileges with sudo. In the following code you will see that we create the user stack with a default bash shell and a home directory located at /opt/stack. The -m option ensure the home directory is created.

[tux@devstack ~]$ sudo useradd -s /bin/bash -d /opt/stack -m stack
[tux@devstack ~]$ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack

Clone the DevStack GIT Repo

The git client will be installed in 16.04 server by default so we should not need to add it. If we switch to the stack user account we can clone the latest DevStack repo. We then change to the downloaded code by moving into the devstack directory which will be in the home directory of the stack user.

[tux@devstack ~]$ sudo su -l stack 
[tux@devstack ~]$ git clone https://git.openstack.org/openstack-dev/devstack
[tux@devstack ~]$ cd /opt/stack/devstack

DevStack Answer File

We can create an answer file with the minimum configuration included. This will install the services onto the single host but we set the password to be used. You should create a local.conf file in the root of the devstack directory. You, of course, can use a different password if you prefer and make sure that you use your IP ADDRESS:

[[local|localrc]]
ADMIN_PASSWORD=Password1
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=10.0.2.4

Editing the /etc/hosts File

We also want to make sure that we reference the actual host IP in the /etc/hosts file. You will see in the video that I add an entry to the file that reads like this. Making sure you use your IP Address and hostname:

10.0.2.4  devstack

Starting the Install

From the root of the devstack directory we can initiate the install by running the stack.sh script. This will take 20-40 minutes depending on the speed of your system and network

[tux@devstack ~]$ ./stack.sh

The demonstration follows

 

4 Comments

  • Stinnettelrw says:

    man utd negotiating with clubs amid possible transfers before deadline day

    This may include adverts from us and 3rd parties based on our studying. You can unsubscribe at any time. more information

    appreciation for subscribingWe have more newslettersShow meSee ourprivacy notice

    manchester united are fielding enquiries from clubs amid the possibility some players could leave before the January transfer window closes.

    United rejected a loan offer from Sevilla at the outset of the month as they hold out for a buyer prepared to cover his 200,000 weekly wages in full and pay a loan fee of around 6million.

    Newcastle want to sign Jesse Lingard on loan in a deal that could be identical to Martial Donny van de Beek has been offered to Newcastle and Borussia Dortmund while Dean Henderson is still pushing for a loan move amid interest from Ajax.

    None of the aforementioned quartet have started a game this month and Rangnick conceded last week United have big a squad “I don understand, Rangnick said when asked if there may be nothing any outgoings. “I know which players may want to leave. I know that usually there are some negotiations with clubs but I am not involved in that. I rrs going to be posted and made aware if something is happening. We will all have to wait and see what goes on,

    United returned to fourth on sat with victory over West Ham and stayed there after both Tottenham and Arsenal dropped points on Sunday. Spurs were usually beaten 2 0 by third placed Chelsea and the Gunners held at home 0 0 by Burnley.

    inspite of the uplifting victory over West Ham, Rangnick is measured about United boost as Tottenham and Arsenal have games in hand on them. Arsenal are two points behind playing a game fewer and Spurs have two in hand.

    “imperative, He said of time for a Champions League qualifying place. “But we also have to see the table however. Spurs have played three games below us (thus two) And you can find more teams involved in that race, it’s not only Spurs or Arsenal. Even Wolves is continually pushing from behind.

    “So it will probably be a race until the last couple of fixtures but for us now you should know that we can win games even if it’s in the last second of the game, that marilyn and i can control a team like West Ham and we had 16 shots on goal. on the list of six or seven, So that was a big difference and this will be relevant, That we are able to compete with those teams and win those games and not only against the teams from the bottom of the league but also against the teams like West Ham.

    “while they had a week off we had a game three days ago (to protect against Brentford), A full week to train. I think physically that was the most impressive a section of the game today, That we looked fantastic physically,

    join our United newsletter so you never miss an update from Old Trafford this season.

    Read MoreSportallMost ReadMost RecentManchester United Transfer NewsManchester United fighting with clubs amid possible transfers before deadline dayDean Henderson, Jesse Lingard, Donny van de Beek and Anthony Martial are all open to leaving Man United this month.

    Roy Keane identifies big manchester united advantage over Tottenham in top four racemanchester united FCMan United enjoyed almost a perfect weekend as they beat West Ham to move into fourth, While Arsenal and Tottenham both droped points.

    manchester united stars pictured at Manchester Airport as Ralf Rangnick grants time offman utd FC team newsMan Utd players will be given time off next week during the one off international break.

    ‘Come home and play for us’ man utd fans send Brandon Williams Norwich messageBrandon WilliamsThe Man United loanee has impressed in recent weeks and was pivotal in the Canaries 3 0 win over Watford.

    manchester united ‘could sign midfielder in January’ as forward linked with club ‘chooses Man City’United On My MindDaily Round Up: Manchester United could make a move for a midfielder this January but a player linked with the club has decided to move to the blue side of Manchester.

    Harry MaguireManchester United manager Ralf Rangnick sends post to Harry Maguire and Raphael VaraneRaphael Varane and Harry Maguire were reunited at centre back as Man United kept a clean sheet against West Ham.

    Juventus ‘in talks with Anthony Martial’ and more man utd transfer rumoursmanchester united FCThe latest transfer rumours involving Man United as Juventus target loan swoop for the Frenchman.

    Man City boss Gareth Taylor gives verdict on controversial Bunny Shaw goal vs ArsenalManchester City Women FCBunny Shaw’s strike put City 1 0 up against Arsenal in marked by controversy circumstances after the ball deflected off the referee in the build up

    Pep Guardiola praises ‘best ever’ Jack Grealish after Man City display vs SouthamptonJack GrealishManchester City [url=https://twitter.com/asiameofficial/]asiame scam[/url] manager Pep Guardiola was unflinchingly upbeat after their 1 1 draw with Southampton

    manchester united Transfer NewsDean Henderson, Jesse Lingard, Donny van de Beek and Anthony Martial are all ready to accept leaving Man United this month.

  • Logandyq says:

    Vitamins dietary Center

    A ZResources Symptom Checker WebMD Blogs Podcasts newsletters Questions Answers Best Hospitals Find a Doctor Children’s Conditions A Z Surgeries and Procedures Featured Topics Symptom Checker COVID 19: look at Symptoms Now Slideshow Get Help for Migraine Relief

    News Experts Health News health and fitness vs. herbal for Health and Longevity Science Reveals How Red Meat Harms the Heart Flavored Vapes Still in Stores Despite Federal Ban Podcast: Does COVID Cause the loss of hair? New COVID Antiviral products: What you should

    Experts Community organizations WebMD Blogs News Center Dr. Whyte’s publication: manage Your Cancer Risk

    Featured Topics In Memoriam WebMD Loses Cherished Leader Kristy Hammam Get Our Newsletters Health news and information, ship to Your Inbox

    Mobile Apps subscriptions Privacy and More

    Top Searched as well as minerals Supplements 5 htp (Read records) started charcoal (Read analyzes) Ashwagandha (Read evaluations) Astaxanthin (Read evaluations) Astragalus (Read websites) Berberine (Read stories) Biotin (Read views) Bromelain (Read remarks on) lime scale (Read critiques on) Chlorella (Read product evaluations) Chlorophyll (Read appraisals) Choline (Read critical reviews) Chromium (Read analysis) grape oil (Read analysis) cod liver fish oil (Read looks at) Colloidal a really (Read comments on) conjugated linoleic acid (Read experiences) Cordyceps (Read analysis) Creatine (Read remarks on) Damiana (Read recommends) Echinacea (Read views) Emu gas (Read appraisals) evening primrose (Read information) Fenugreek (Read ratings) reef fish oil (Read analyzes) folic acid (Read feedback) Gamma aminobutyric uric acid (Read appraises) beans (Read remarks on) ginger root (Read experiences) Ginkgo (Read critiques) Glucomannan (Read recommends) Glutathione (Read critiques) Gotu kola (Read testimonials) Holy tulsi (Read recommends) sexy goat weed (Read looks at) acid hyaluronic (Read appraises) Inositol (Read assesses) Iodine (Read product evaluations) metal (Read summaries) Krill oil and gas (Read reviews) d arginine (Read analyzes) t carnitine (Read product evaluations) Lecithin (Read appraises) fruit balm (Read summaries) Licorice (Read product evaluations) Lutein (Read consumer reviews) Maca (Read product evaluations) magnesium (Read recommends) maritime pine (Read comments) Melatonin (Read reports) Moringa (Read information) oolong tea (Read user reviews) Phenylalanine (Read recommendations) Phosphatidylserine (Read assesses) blood potassium (Read review) Progesterone (Read rates) Propolis (Read evaluates) Pu erh teas (Read recommendations) Quercetin (Read feedbacks) raspberry ketone (Read critiques) Rhodiola (Read evaluates) regal jelly (Read summaries) saw palmetto (Read review sites) Serrapeptase (Read evaluation) dicey elm (Read studies) Taurine (Read remarks on) Tea cedar oil (Read remarks) Tribulus (Read views) Valerian (Read assesses) a vitamin (Read review sites) vitamin supplement d (Read analysis) vitamin e antioxidant (Read analyzes) whey protein concentrate (Read accounts) Witch hazel (Read rates) Xylitol (Read looks at) yohimbe (Read websites) zinc (Read reviewed) show More

    Health merchandise Penis Curved When Erect? Could we’ve CAD? Treat Bent kiddy hands Treat HR+, HER2 MBC uninterested in Dandruff? benefits associated with CBD Rethink MS Treatment AFib Related Strokes Risk of a Future DVT/PE Is My Penis Normal? Relapsing MS Options Liver Transplants Save Lives Finance surgical treatment [url=https://hk.linkedin.com/in/chnlovepage]chnlove scam[/url] Bent Finger Causes Living With Psoriasis? unaccounted for Teeth?

    More from WebMD 5 Tips to Help With Relapsing MS How to Thrive With Narcolepsy Relief for Blocked hair roots Psoriatic Arthritis and Your Sleep What Psoriasis Feels Like First Psoriatic Arthritis Flare Talking to Your Doctor About RA Crohn’s: A ‘Full Body’ Disease Avoiding Crohn’s Flares Health Benefits of Hemp Seed Oil Live Better With Psoriatic Disease Types of B Cell Therapy for MS 5 Health Benefits of Hemp Why cancer of prostate Spreads Living with Advanced Breast Cancer Where Breast Cancer Spreads

    arrive us on: Facebook Twitter Pinterest Policies online privacy policy Cookie Policy Editorial Policy Advertising Policy Correction Policy Terms of Use

    About Contact Us About WebMD Careers Newsletter Corporate WebMD Health Services Site Map gain access to

    WebMD Network Medscape Medscape Reference MedicineNet eMedicineHealth RxList OnHealth WebMDRx First Aid WebMD Magazine WebMD Health Record thesaurus Physician Directory.

  • Nelsonuqc says:

    First Bus suspends eight Bath services as snow continues to fall

    This may include adverts from us and 3rd parties based on our appreciation of. You can unsubscribe at any time. more details

    i appreciate you for subscribing!We convey more newslettersShow meSee our privacy notice

    Yellow and amber weather safety measures for ice and snow are in place in Bath and the wider region, With the authorities urging drivers to only take essential trips.

    One school has already announced chances are it will close tomorrow due to the heavy snow, Which has also affected trains running to and from Bath Spa stop.

    First Bus said earlier it would assess the routes and make further annoucements all over the day. The company has now [url=https://www.pinterest.com/charmdate/]charmdate scam[/url] suspended eight of its Bath services and many others are only running part of the route.

    Here are the changes:

    stopped 8 Bath City Centre Kingsway Service Currently terminated (Being researched)

    9 Bath City Centre Upper Weston Service Currently stopped (Being considered)

    171 Bath Peasedown St brian

    4 Weston Odd Down Not portion Bloomfield Road at Odd Down or Eastville Avenue in Weston

    Diversion: Using roundabout at Lansdown Lane in Weston commune as terminus

    5 Bath Bus Station Whiteway Whiteway currently not being served

    Diversion: Using Shaw’s Way and Watery Lane and Whiteway invitees advised to use service 1 from Mount Road

    6 / 6A Bath Bus rail station Fairfield Park Camden Road, Fairford Park or Larkhall home

    Diversion: Using liverpool Road and Terminating at: Larkhall sq,rectangular

    Bath Live runs a WhatsApp group that will keep up to date with the latest news. If you wish to receive news alerts, Save amount of 07939 497390 to your phone we recommend saving the contact as Live News then send the word NEWS to us via WhatsApp. We will send you a maximum of four messages a day and your phone number won be shared with folks of the group or used for any other purpose.

    Follow UsUK World NewsPassport renewal fees to increase from TODAY for adults and childrenEverything you must know about the price hike

    Meet the couple who spent days helping Bathonians who were stranded by snowBath LiveAmong some people James and Cindy helped were nurses and patients who needed to get to the RUH

    Youngster’s generous donation lands him Heart of Bath awardHeart of Bath AwardsFreddie made headlines last year after donating his Christmas money to the homeless

    survive: Bristol Airport closes as snow caused flight arrivals and departures delayed to be delayed or cancelledBath NewsWe’ll have the particular for your here

    Less than one in ten rapes lead to a conviction in Avon and Somerset last yearCrimeThere are many reasons why reported rapes do not lead to convictions

    Most ReadMost the latest

    EducationLast class photos of Bath pupils leaving primary school this yearPictures of Bath’s children’s who have said goodbye to their primary school

    Bath RugbyBath Rugby boss Stuart Hooper proud of the grit to secure ‘vital result’Bath Rugby beat Gloucester 16 14 in Round 10 of the 2020/21 Gallagher Premiership.

  • Kleifgenusp says:

    Family reveal the direction they turned Leigh shop into record

    This may include adverts from us and 3rd parties based on our recognizing. You can remove yourself from list at any time. ideas

    we appreciate subscribing!We have an overabundance of newslettersShow meSee our privacy notice

    The Brown family ‘lived and breathed’ their TV business while they first opened up shop in 1996, And still do even today.

    But the company has changed dramatically throughout the last 26 years.

    Their traditional electricals store proudly remains in Leigh, however have diversified to supply bookies, brs, And hotels nationally and last year turned over a record 18.6 million.

    Despite dad Jim Brown passing in 2013, The TVD Group is still a lot a family affair, Run by friends Dan Brown and Matthew Brown.

    find out more

    micheal, Who died at 68 after battling bowel cancer which in fact had spread to his brain, Had a long and prosperous career in the applied sciences industry.

    beginning as a TV engineer, He worked his way up to managing director for a internal company.

    swallowing his two sons under his wing, They learnt all there was to know about the job, And joined their dad at the nation’s firm before going it alone.

    “the market is our dad’s legacy, business director Dan, 50, said.

    “It was his desire. He’d experienced it [that is a] All his life and saw every aspect. experienced his blood since he were a lad.

    “He always aspired to open his own shop,

    (reputation: manchester Evening News)

    Dan remembers their humble [url=https://www.tumblr.com/tagged/charmingdate.com]charmdate scam[/url] beginnings operational well as he was 26 years old when their shop opened, While his younger uncle was 21.

    It was just the four of them, john, Matthew, sam, And mum Patricia, 74, Who several months ago retired.

    Now they are 54 staff.

    “We about did everything, Sold in daytime, And when we had stock provided, We unloaded each wagons, stacked and stored it, Then in the evenings, We delivered products as well, known Dan, who might be Bolton born and bred.

Leave a Reply