reachsrirams / openstack-scripts

Scripts to help install OpenStack on Ubuntu with focus on core services only - Master branch supports OCATA
Apache License 2.0
16 stars 37 forks source link

Problem at step "Called Source Admin OpenRC" #27

Open nmd88 opened 7 years ago

nmd88 commented 7 years ago

At the step "bash configure.sh ", 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...
reachsrirams commented 7 years ago

I tried this today and did not see the issue. Did you run the install.sh command and it completed successfully? One possible reason could be Apache configuration. Can you share more details, full error log prior to this?