Giter Club home page Giter Club logo

Comments (1)

AJNOURI avatar AJNOURI commented on September 25, 2024 1

In the previous section Create projects, users, and roles, I have missed the step of attributing "user" role to user "demo".

Solution: Restore the environment variables and the keystone-paste.ini original file (hope you backed it up)

export OS_TOKEN=fd160f91514d59f6c947
export OS_URL=http://libcontroller:35357/v3
export OS_IDENTITY_API_VERSION=3
cp /etc/keystone/keystone-paste.ini.back  /etc/keystone/keystone-paste.ini

Because it is domain-specific installation don't forget to specify the project & user scope arguments --project-domain default --user-domain default

openstack role add --project-domain default --user-domain default --project demo --user demo user

Now following the verification steps:
1,2 then step 4

# openstack --os-auth-url http://libcontroller:5000/v3 \
   --os-project-domain-id default \
   --os-user-domain-id default \
   --os-project-name demo \
   --os-username demo \
   --os-auth-type password \
   token issue

Password:
+------------+----------------------------------+
| Field | Value |
+------------+----------------------------------+
| expires | 2016-11-10T08:49:20.716213Z |
| id | f08091771ce34431abb4cc8bb6f9a45a |
| project_id | 1c39e5ca87e842f0a1ba6bc572b45985 |
| user_id | 73381ac4501348afbaaa36d71815d8b4 |
+------------+----------------------------------+

from coa.

Related Issues (20)

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.