Comments (1)
It looks like there is some operations that can be performed without specifying the domain argument
--domain {domain}, for example:
- list domains
- list projects
- list services
- list endpoints
- ...
But not listing users or assigning a role to a user, these need to be done by indicating the corresponding domain:
openstack user list
The request you have made requires authentication. (HTTP 401) (Request-ID: req-0064e8ea-d53e-480c-b790-c02d5db3386f)
openstack user list --domain default
+----------------------------------+-------+
| ID | Name |
+----------------------------------+-------+
| 7de845c81c414272ab91c1c033fdb2a7 | admin |
| 73381ac4501348afbaaa36d71815d8b4 | demo |
+----------------------------------+-------+
Afterward, the log could provide a hint when talking about "Couldn't find the auth context."
tail /var/log/keystone/keystone-wsgi-admin.log
2016-11-10 00:15:14.516 2182 WARNING keystone.common.utils [req-7545fec8-f5c0-4df4-8c3c-9836821fb93f - - - - -] Couldn't find the auth context.
2016-11-10 00:15:14.516 2182 WARNING keystone.common.wsgi [req-7545fec8-f5c0-4df4-8c3c-9836821fb93f - - - - -] Authorization failed. The request you have made requires authentication. from 10.0.2.11
from coa.
Related Issues (20)
- Heat: successful stack creation, but nothing happens HOT 2
- openstack command: HttpException: Bad Request
- cinder: Volume type with name LUKS could not be found. (HTTP 404) HOT 1
- openstack cli command: created user within a group, but it doesn't appear in the list of horizon. Cannot connect to horizon with new user. HOT 1
- Swift: Cannot set expiry date for a container HOT 1
- Creating an instance : aborted: Block Device Mapping is Invalid. HOT 1
- Error: Unable to retrieve instances. HOT 1
- Cannot reach floating IP from outside network HOT 3
- Consequence of Rabbitmq service stopped HOT 1
- Policy doesn't allow os_compute_api:os-quota-sets:update to be performed. (HTTP 403) (Request-ID: HOT 1
- volume backup error : volumes_backup 403 Forbidden [first 60 chars of response] <html><h1>Forbidden</h1><p>Access was denied to this resourc
- neutron: External network ... is not reachable from subnet ... Therefore, cannot associate Port ... with a Floating IP HOT 1
- Block Device Mapping is Invalid : When creating xenial instance
- Creating instance: Power state = "no state" HOT 1
- Cannot SSH access to Debian cloud image 9.1.1: HOT 1
- libvirt & guestfish : Cannot run the image : Original error from libvirt: Cannot access storage file '/root/debian-9.1.1-20170725-openstack-amd64.qcow2' (as uid:107, gid:107): Permission denied [code=38 int1=13] HOT 2
- Cannot ping outside world from instance HOT 1
- Issue deleting external network from Horizon
- Swift installation on centos
- Facing issue with "openstack token issue"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coa.