Howdy, Stranger!

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

Sign In with Google Sign In with OpenID

Tagged

ask.openstack.org latest RDO questions

  • Juno on laptop: fails due to IP changes - Posted on 27 March 2015 | 4:46 pm
  • Cant find openstack-cinder package in Centos 7 - Posted on 26 March 2015 | 9:28 pm
  • swift objects are not displayed with - Posted on 26 March 2015 | 4:58 am
  • Neutron ml2 with openvswitch: only VLANs and no tunneling - Posted on 25 March 2015 | 9:10 pm
  • adding hyper-v node with packstack failing - Posted on 25 March 2015 | 6:19 pm
  • What creates isci volumes? - Posted on 25 March 2015 | 2:36 pm
  • keystone status failed (disabled on boot) - Posted on 25 March 2015 | 2:28 pm
  • Configure OpenStack on a WiFi-only system? - Posted on 24 March 2015 | 4:59 pm
  • br-ex not being assigned IP address automatically at boot - Posted on 24 March 2015 | 4:48 pm
  • After rebooting OpenStack host, router configuration is lost? - Posted on 24 March 2015 | 12:15 pm
  • missing options for ml2 and vlan's in packstack - Posted on 22 March 2015 | 2:49 pm
  • nova boot creates instance in error state: network bridge isn't created - Posted on 17 March 2015 | 6:20 pm
  • Sahara not visible in dashboard - Posted on 18 November 2014 | 7:54 am
  • 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"