dpkg -p keystone | grep Version<br><br>should show you in the version tag<br><br>example:<br><br>2012.2 is folsom<br>2012.1 is essex<br><br>-Matt<br><br><br><br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 2:29 PM, Ahmed Al-Mehdi <span dir="ltr"><<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hi Joe,</div><div><br></div><div>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.</div>
<div><br></div><div><div># keystone --version </div><div>usage: keystone [--os-username <auth-user-name>]</div><div>                [--os-password <auth-password>]</div><div>                [--os-tenant-name <auth-tenant-name>]</div>
<div>                [--os-tenant-id <tenant-id>] [--os-auth-url <auth-url>]</div><div>                [--os-region-name <region-name>]</div><div>                [--os-identity-api-version <identity-api-version>]</div>
<div>                [--token <service-token>] [--endpoint <service-endpoint>]</div><div>                [--os-cacert <ca-certificate>] [--os-cert <certificate>]</div><div>                [--os-key <key>] [--insecure] [--username <auth-user-name>]</div>
<div>                [--password <auth-password>] [--tenant_name <tenant-name>]</div><div>                [--auth_url <auth-url>] [--region_name <region-name>]</div><div>                <subcommand> ...</div>
<div>keystone: error: too few arguments</div><div>root@bodega:~# </div></div><div><br></div><div><br></div><div>--Ahmed.</div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span> heckj <<a href="mailto:heckj@mac.com" target="_blank">heckj@mac.com</a>><br><span style="font-weight:bold">Date: </span> Friday, October 26, 2012 2:23 PM<br><span style="font-weight:bold">To: </span> Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>><br>
<span style="font-weight:bold">Cc: </span> "<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>><br>
<span style="font-weight:bold">Subject: </span> Re: [Openstack] Finding version of keystone service<br></div><div><div class="h5"><div><br></div><blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5">
<div><div style="word-wrap:break-word">
Ahmed,
<div><br></div><div>Are you trying to find out the version of Keystone installed, or of the CLI client? (they're different and somewhat unrelated)</div><div><br></div><div>-joe</div><div><br><div><div>On Oct 26, 2012, at 2:20 PM, Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>> wrote:</div>
<blockquote type="cite"><div style="word-wrap:break-word;font-size:14px;font-family:Calibri,sans-serif"><div>Hello,</div><div><br></div><div>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?</div><div><br></div><div><br></div><div><div># dpkg -s keystone</div><div>Package: keystone</div><div>Status: install ok installed</div><div>Priority: extra</div><div>Section: python</div><div>Installed-Size: 130</div>
<div>Maintainer: Ubuntu Developers <<a href="mailto:ubuntu-devel-discuss@lists.ubuntu.com" target="_blank">ubuntu-devel-discuss@lists.ubuntu.com</a>></div><div>Architecture: all</div><div><b>Version: 2012.2-0ubuntu1~cloud0</b></div>
<div>Depends: python, debconf (>= 0.5) | debconf-2.0, upstart-job, python-keystone (= 2012.2-0ubuntu1~cloud0), adduser, ssl-cert (>= 1.0.12), dbconfig-common</div><div>Conffiles:</div><div> /etc/keystone/default_catalog.templates e20825c5518f8c1482560f232ad78445</div>
<div> /etc/keystone/logging.conf c85cb75be85f3ec306f3da2730764d6e</div><div> /etc/keystone/keystone.conf a3e9c22fd4bd3a551f919355b777058c</div><div> /etc/keystone/policy.json 1bd2a9705a8361fc51f24211ac6ed260</div><div> /etc/init/keystone.conf e9b3d5b9bd13f9f5ac3601ebeb043f2f</div>
<div> /etc/logrotate.d/keystone 5a7a4ded566affc47626bffe4a9d3231</div><div>Description: OpenStack identity service - Daemons</div><div> Keystone is a proposed independent authentication service for OpenStack.</div><div> .</div>
<div> This initial proof of concept aims to address the current use cases in Swift</div><div> and Nova which are:</div><div> .</div><div>  * REST-based, token auth for Swift</div><div>  * many-to-many relationship between identity and tenant for Nova. Keystone</div>
<div>    does authentication and stuff</div><div> .</div><div> This package contains the daemons.</div><div>Homepage: <a href="http://launchpad.net/keystone" target="_blank">http://launchpad.net/keystone</a></div><div>Original-Maintainer: Monty Taylor <<a href="mailto:mordred@inaugust.com" target="_blank">mordred@inaugust.com</a>></div>
<div><br></div></div><div>Thank you,</div><div>Ahmed.</div><div><br></div><div><br></div></div>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></div></div></blockquote></div></div></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br>