Newton, Ubuntu 16.04 Xenial Keystone authentication issue

Asked by murtazasolangi

Working with Newton and Ubuntu 16.04 xenial release, this is fresh installation, follwoing official openstack.org official installation guide.
Could not create a domain, projects, users, and roles, keystone is prompted a password, I input all passwords[mysql root, kesytone] but it triggers error

root@Mil-controller:/home/super# openstack project create --domain default \
> --description "Service Project" service
Password:
Missing parameter(s):
Set a username with --os-username, OS_USERNAME, or auth.username
Set an authentication URL, with --os-auth-url, OS_AUTH_URL or auth.auth_url

and Error: The request you have made requires authentication. (HTTP 401) (Request-ID: req-04607a60-b6ce-4835-83f5-aee44f480abd)

Also followed instructions as mentioned in https://bugs.launchpad.net/openstack-manuals/+bug/1575688
but no luck.

/var/log/apache2/keystone.log complaining

Authorization failed. The request you have made requires authentication. from ::1
keystone.auth.controllers Could not find domain: default

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
murtazasolangi (amurtaza14) said :
#1

Sorry to interrupt you guys again on same issue, this may be my stupidity but I'm facing issue on my second controller with [Ubuntu 16.04 with Newton] since 3 days
- I have multiple time fresh installed and checked to avoid same mistake and used carefully nyc-controller name, instead of localhost/10.0.0.11.. strictly followed installation guide.

Bootstrap stuff is:
keystone-manage bootstrap --bootstrap-password ******** \
  --bootstrap-admin-url http://nyc-controller:35357/v3/ \
  --bootstrap-internal-url http://nyc-controller:35357/v3/ \
  --bootstrap-public-url http://nyc-controller:5000/v3/ \
  --bootstrap-region-id RegionOne

and Variable's output is as under

root@nyc-controller:/home/super# echo $OS_USERNAME
admin
root@nyc-controller:/home/super# echo $OS_PASSWORD
*************
root@nyc-controller:/home/super# echo $OS_PROJECT_NAME
admin
root@nyc-controller:/home/super# echo $OS_USER_DOMAIN_NAME
default
root@nyc-controller:/home/super# echo $echo $OS_PROJECT_DOMAIN_NAME
default
root@nyc-controller:/home/super# echo $OS_AUTH_URL
http://nyc-controller:35357/v3
root@nyc-controller:/home/super# echo $OS_IDENTITY_API_VERSION
3

Log complains are same as above.

your help will be highly appreciated, that what am I doing wrong?

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.