LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-24-2020, 08:08 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
[OpenStack] How to display keystone version?


Hi,
Im trying to find out which keystone version is installed.
Following commands failed:

Code:
# keystone
-bash: keystone: command not found

# openstack catalog show keystone
+-----------+-----------------------------------------------------------------+
| Field     | Value                                                           |
+-----------+-----------------------------------------------------------------+
| endpoints | RegionOne                                                       |
|           |   admin: https://playground-internal-test.mylab.net:35357       |
|           | RegionOne                                                       |
|           |   internal: https://playground-internal-test.mylab.net:5000     |
|           | RegionOne                                                       |
|           |   public: https://playground-cic-test.mylab.net:5000            |
|           |                                                                 |
| id        | 730592429f524b9c9b8a1ad471f90f0c                                |
| name      | keystone                                                        |
| type      | identity                                                        |
+-----------+-----------------------------------------------------------------+
However by looking in openrc I can see:
Code:
export OS_IDENTITY_API_VERSION=3
and in the installed packages I have found:
Code:
python-keystoneauth1 3.1.1-1~u16.04
So, roughly I would assume it is version 3
However, how to truly verify it?
 
Old 11-25-2020, 03:02 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,924

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
https://ask.openstack.org/en/questio...stone-version/
https://ask.openstack.org/en/questio...-is-supported/

google is your friend
 
1 members found this post helpful.
Old 11-25-2020, 03:38 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Original Poster
Rep: Reputation: 43
Ya, thank you for that Pan 64.
I already tried something similar.

It gives output where it says v3 and v2.0. However, 2.0 is described as "deprecated".
So, I assume my keystone (identity service) is running in version 2.0 and 3 parallel...

Code:
# curl -k https://playground-cic-test.mylab.net
{
    "versions": {
        "values": [{
                "status": "stable",
                "updated": "2017-02-22T00:00:00Z",
                "media-types": [{
                        "base": "application/json",
                        "type": "application/vnd.openstack.identity-v3+json"
                    }
                ],
                "id": "v3.8",
                "links": [{
                        "href": "https://playground-cic-test.mylab.net:5000/v3/",
                        "rel": "self"
                    }
                ]
            }, {
                "status": "deprecated",
                "updated": "2016-08-04T00:00:00Z",
                "media-types": [{
                        "base": "application/json",
                        "type": "application/vnd.openstack.identity-v2.0+json"
                    }
                ],
                "id": "v2.0",
                "links": [{
                        "href": "https://playground-cic-test.mylab.net:5000/v2.0/",
                        "rel": "self"
                    }, {
                        "href": "https://docs.openstack.org/",
                        "type": "text/html",
                        "rel": "describedby"
                    }
                ]
            }
        ]
    }
}
 
Old 11-25-2020, 04:17 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,924

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
that means both v3 and v2 are supported (for now) and available. Choose v3 in your code. Probably in a future release v2 will be completely removed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Containers-as-a-service, the Keystone design summit, and more OpenStack news LXer Syndicated Linux News 0 11-23-2015 05:50 AM
LXer: Accelerating OpenStack cloud authentication with Keystone tokens LXer Syndicated Linux News 0 10-19-2015 04:32 PM
LXer: Short Stack: OpenStack Summit news, OpenStack Marketplace, Intel on OpenStack LXer Syndicated Linux News 0 05-14-2014 09:50 PM
[SOLVED] openstack (ubuntu 10.04) - keystone terminated with status 143 eantoranz Linux - Server 2 01-30-2013 04:19 PM
Question about Keystone's RH 7.1 videos DavidI Linux - Newbie 1 09-06-2004 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration