← Back to team overview

openstack team mailing list archive

Re: Finding version of keystone service

 

dpkg -p keystone | grep Version

should show you in the version tag

example:

2012.2 is folsom
2012.1 is essex

-Matt




On Fri, Oct 26, 2012 at 2:29 PM, Ahmed Al-Mehdi <ahmed@xxxxxxxxxx> wrote:

> Hi Joe,
>
> I did a "apt-get install keystone", which I am as assuming installed both,
> is that right?  If not, what did get installed?   I am trying to to find
> the version of whatever got installed.
>
> # keystone --version
> usage: keystone [--os-username <auth-user-name>]
>                 [--os-password <auth-password>]
>                 [--os-tenant-name <auth-tenant-name>]
>                 [--os-tenant-id <tenant-id>] [--os-auth-url <auth-url>]
>                 [--os-region-name <region-name>]
>                 [--os-identity-api-version <identity-api-version>]
>                 [--token <service-token>] [--endpoint <service-endpoint>]
>                 [--os-cacert <ca-certificate>] [--os-cert <certificate>]
>                 [--os-key <key>] [--insecure] [--username <auth-user-name>]
>                 [--password <auth-password>] [--tenant_name <tenant-name>]
>                 [--auth_url <auth-url>] [--region_name <region-name>]
>                 <subcommand> ...
> keystone: error: too few arguments
> root@bodega:~#
>
>
> --Ahmed.
>
> From: heckj <heckj@xxxxxxx>
> Date: Friday, October 26, 2012 2:23 PM
> To: Ahmed Al-Mehdi <ahmed@xxxxxxxxxx>
> Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx>
> Subject: Re: [Openstack] Finding version of keystone service
>
> Ahmed,
>
> Are you trying to find out the version of Keystone installed, or of the
> CLI client? (they're different and somewhat unrelated)
>
> -joe
>
> On Oct 26, 2012, at 2:20 PM, Ahmed Al-Mehdi <ahmed@xxxxxxxxxx> wrote:
>
> Hello,
>
> The option "--version" (or any variation of it) does not seem to work for
> keystone, even though the man page lists "--version" as one of the options.
>  The only way I was able to find the version number is using the dpkg
> command on ubuntu.  Is this the only way?
>
>
> # dpkg -s keystone
> Package: keystone
> Status: install ok installed
> Priority: extra
> Section: python
> Installed-Size: 130
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
> Architecture: all
> *Version: 2012.2-0ubuntu1~cloud0*
> Depends: python, debconf (>= 0.5) | debconf-2.0, upstart-job,
> python-keystone (= 2012.2-0ubuntu1~cloud0), adduser, ssl-cert (>= 1.0.12),
> dbconfig-common
> Conffiles:
>  /etc/keystone/default_catalog.templates e20825c5518f8c1482560f232ad78445
>  /etc/keystone/logging.conf c85cb75be85f3ec306f3da2730764d6e
>  /etc/keystone/keystone.conf a3e9c22fd4bd3a551f919355b777058c
>  /etc/keystone/policy.json 1bd2a9705a8361fc51f24211ac6ed260
>  /etc/init/keystone.conf e9b3d5b9bd13f9f5ac3601ebeb043f2f
>  /etc/logrotate.d/keystone 5a7a4ded566affc47626bffe4a9d3231
> Description: OpenStack identity service - Daemons
>  Keystone is a proposed independent authentication service for OpenStack.
>  .
>  This initial proof of concept aims to address the current use cases in
> Swift
>  and Nova which are:
>  .
>   * REST-based, token auth for Swift
>   * many-to-many relationship between identity and tenant for Nova.
> Keystone
>     does authentication and stuff
>  .
>  This package contains the daemons.
> Homepage: http://launchpad.net/keystone
> Original-Maintainer: Monty Taylor <mordred@xxxxxxxxxxxx>
>
> Thank you,
> Ahmed.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

References