Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Tagged

ask.openstack.org latest RDO questions

  • Launching a docker instance in OpenStack RDO Kilo fails with "No valid host was found" - Posted on 6 July 2015 | 11:38 am
  • How can I add SAN space to existing cinder - Posted on 6 July 2015 | 9:52 am
  • Swift Config keystoneauth - Posted on 5 July 2015 | 12:28 pm
  • Manila RDO Kilo backend for NFS - Posted on 3 July 2015 | 9:25 am
  • How do I add correct endpoint for heat in Devstack - Posted on 1 July 2015 | 8:17 am
  • How to configure the hypervisor to permit promiscuous mode on the external network - Posted on 30 June 2015 | 6:47 am
  • run "openstack overcloud deploy --plan-uuid "xxx"" whit cert file error - Posted on 29 June 2015 | 11:03 pm
  • How to contact nova-docker instance from outside world - Posted on 29 June 2015 | 8:17 am
  • What is going on with RDO Kilo repo for Fedora 22 ? - Posted on 23 June 2015 | 12:29 pm
  • Network Not Coming Up in Instances - Posted on 19 June 2015 | 4:36 pm
  • Cause for strange network config? - Posted on 2 June 2015 | 11:08 pm
  • Unified CLI now available for testing in RDO
    • Unified OpenStack Client command-line tool is now available for testing as python-openstackclient package at RDO Havana repository.

      OpenStack Client is on a mission to provide a single consistent CLI for interacting with OpenStack services. It's a thin wrapper to the stock python-*client modules that implement the actual REST API client actions. Although OpenStack Client is considered to be alpha quality as of 0.2, it already provides commands to interact with:

      • Keystone
      • Nova
      • Cinder
      • Glance

      Tips

      • With RDO Havana repository in place, install using yum install python-openstackclient
      • As with all clients, you need to supply your credentials. If you installed with packstack, . ~root/keystonerc_admin might do the trick.
      • Executable is called openstack
      • To get list of available commands, use openstack -h
      • To get usage of a specific command, use openstack help COMMAND

      Example usage

      $ openstack help image
      Command "image" matches:
        image delete
        image list
        image show
        image set
        image save
        image create
      
      
      $ openstack help image list
      usage: openstack image list [-h] [-f {csv,table}] [-c COLUMN]
                                  [--quote {all,minimal,none,nonnumeric}]
                                  [--page-size ]
      List available images
      [...]
      
      
      $ openstack image list
      INFO: urllib3.connectionpool Starting new HTTP connection (1): 192.168.8.81
      +--------------------------------------+---------+
      | ID                                   | Name    |
      +--------------------------------------+---------+
      | bfc2109b-ab0b-4fd7-99b7-ec394bebd355 | cirros  |
      | b0b22e14-4d20-4174-a2f8-b6dcafdb88bd | El Niño |
      +--------------------------------------+---------+
      
    • Great... thanks.

      Will the Havana unified client work with a Grizzly based cloud ?

    • Will the Havana unified client work with a Grizzly based cloud?

      Clients are supposed to be backward compatible but AFAIK it's not enforced in any way (yet).

      So it should.

    • larskslarsks +1 -1 (+1 / -0 )
      Posts: 58

      I originally posted this as a suggestion, but it's already there! If you want machine parse-able output, there are a variety of options you can use, such as -f csv. For example:

      $ openstack -q role list -f csv
      "ID","Name"
      "2bc174e4f66747e28d47381a1c38c0de","admin"
      "9fe2ff9ee4384b1894a90878d3e92bab","_member_"
      "a8cc78035b9e4a408554032677611643","Member"