GithubHelp home page GithubHelp logo

reachsrirams / openstack-scripts Goto Github PK

View Code? Open in Web Editor NEW
16.0 9.0 37.0 294 KB

Scripts to help install OpenStack on Ubuntu with focus on core services only - Master branch supports OCATA

License: Apache License 2.0

Shell 73.49% Python 26.51%

openstack-scripts's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openstack-scripts's Issues

A typo error in the README.md

Incorrect: "nova-manage cells_v2 discover_hosts --verbose"
Correct: "nova-manage cell_v2 discover_hosts --verbose"

Problem in Nova when trying to create an instance

I am trying to create an instance after completing the steps (I have set the hostname as 'controller') and I get the scheduler error:

Error: Failed to perform requested operation on instance "testcirros", the instance has an error status: Please try again later [Error: Host 'ubuntu' is not mapped to any cell].

contents of /etc/hosts:
root@controller:/etc# cat /etc/hosts
127.0.0.1 localhost controller
127.0.1.1 controller

The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
192.168.136.131 controller

Problem at step "Called Source Admin OpenRC"

At the step "bash configure.sh <IP_Controller>", the error output as following. And then I have to create manually "admin-openrc" file and source it to get this step over.

Called Source Admin OpenRC and sleeping for 3 seconds...
About to print Keystone Service List and sleeping for 2 seconds...
The request you have made requires authentication. (HTTP 401) (Request-ID: req-04f9e633-18df-40b4-adea-6e9b9d6f4b7f)
About to print OpenStack Catalog List and sleeping for 2 seconds...
The request you have made requires authentication. (HTTP 401) (Request-ID: req-db5b2871-5a16-4dae-9da0-03fadf84a04f)
Catalog list printed and sleeping for 2 seconds...
About to setup Glance... and sleeping for 3 seconds...
Running: ./lib/configure-glance.sh MDFiODY0NjQ3NzYxN2Qw root MDFiODY0NjQ3NzYxN2Qw controller MDFiODY0NjQ3NzYxN2Qw MDFiODY0NjQ3NzYxN2Qw
Configuring MySQL for Glance...
MySQL Command is:: CREATE DATABASE IF NOT EXISTS glance; GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' IDENTIFIED BY 'MDFiODY0NjQ3NzYxN2Qw'; GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' IDENTIFIED BY 'MDFiODY0NjQ3NzYxN2Qw';
Final Controller Host Name: controller
Called Source Admin OpenRC and sleeping for 3 seconds...
Called create-user-service with paramters: glance MDFiODY0NjQ3NzYxN2Qw glance OpenStackImage image
The request you have made requires authentication. (HTTP 401) (Request-ID: req-0e4cf16c-c040-472a-bab8-3c4c1bbd7388)
Created User glance and sleeping for 2 seconds...
The request you have made requires authentication. (HTTP 401) (Request-ID: req-e1df0443-5f04-4d64-b15f-fc8f03d2a110)
Created Role glance and sleeping for 2 seconds...
The request you have made requires authentication. (HTTP 401) (Request-ID: req-acf2b64a-ef62-45d4-96b4-dd9a15f527d1)
Created Service OpenStackImage and sleeping for 2 seconds...
Called create-api-endpoints with parameters: image http://controller:9292
The request you have made requires authentication. (HTTP 401) (Request-ID: req-4ab5ef24-b2de-44d0-9424-3777e5064721)
Created public endpoint and sleeping for 2 seconds...
The request you have made requires authentication. (HTTP 401) (Request-ID: req-556f31cc-5605-4da8-a451-78d9791ddf8d)
Created internal endpoint and sleeping for 2 seconds...
The request you have made requires authentication. (HTTP 401) (Request-ID: req-91c51f83-2e51-4211-9507-8824471c597d)
Created admin endpoint and sleeping for 2 seconds...
Added Glance Service Endpoint and sleeping for 3 seconds...

Compute config error

While running this bash configure.sh xxx.xxx.xxx.xxx on my node it stuck at the end of the code calling a file with ip missing. bash $dir_path/lib/configure-packages.sh $node_type No ip after node type please may you fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.