create project command mentioned in Installation guide for Newton throwing error

Bug #1644175 reported by Kanika Singh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

While doing manual installation of Newton release by the following URL:
http://docs.openstack.org/newton/install-guide-rdo/keystone-users.html

The project create command throws error.
[root@controller ~(keystone_admin)]# openstack project create --domain default --description "Service Project" service
usage: openstack project create [-h] [-f {json,shell,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent] [--prefix PREFIX]
                                [--description <description>]
                                [--enable | --disable]
                                [--property <key=value>] [--or-show]
                                <project-name>
openstack project create: error: unrecognized arguments: --domain service

Possibly, create project command doesn't support --domain attribute.

Changed in keystone:
assignee: nobody → Kanika Singh (kanikasingh-1490)
Revision history for this message
Steve Martinelli (stevemar) wrote :

The domain command is only available if using v3 of the keystone APIs. What is your OS_IDENTITY_API_VERSION set to?

Changed in keystone:
status: New → Incomplete
Revision history for this message
Kanika Singh (kanikasingh-1490) wrote :

Thanks for comment.

Actually, I was installing openstack components one-by-one on a multi-node setup. First I installed keystone using packstack answer-file on controller node. Packstack installed v2.0 version of keystone by default, and generated rc file for admin and demo user.

Next I installed glance, neutron and nova services on controller and compute node respectively.
While installing cinder on controller and object storage node, packstack was throwing some error.

So I continued with manual installation of cinder. In the block storage manual it was not mentioned that v3 api is to be used.
Hence I faced this error while creating project and user.

Changed in keystone:
assignee: Kanika Singh (kanikasingh-1490) → nobody
Revision history for this message
murtazasolangi (amurtaza14) wrote :

Try these instructions, this may help you. https://bugs.launchpad.net/openstack-manuals/+bug/1575688

Revision history for this message
Kanika Singh (kanikasingh-1490) wrote :

According to me, It can be feasible to just add a note somewhere stating that --domain attribute is available with v3 version of keystone.

Revision history for this message
Steve Martinelli (stevemar) wrote :

We do that here: http://docs.openstack.org/developer/python-openstackclient/command-objects/project.html#project-create

------------------------------

--domain <domain>
Domain owning the project (name or ID)

*New in version 3.*

Changed in keystone:
status: Incomplete → Invalid
Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.