~devstack-core/devstack/github

« back to all changes in this revision

Viewing changes to lib/ironic

  • Committer: Peter Stachowski
  • Date: 2015-04-13 14:09:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3125.
  • Revision ID: git-v1:9a808922c194929bff88bdc7dca4f8e2431de1a4
Use openstack CLI instead of keystone

When running './stack.sh' messages are output stating that
the keystone CLI has been deprecated. These calls should be
replaced to ones utilizing the openstack CLI program instead.

Documentation examples were also updated to reflect the new syntax.

Change-Id: Ib20b8940e317d150e5f6febb618e20bd85d13f8b
Closes-Bug: #1441340

Show diffs side-by-side

added added

removed removed

Lines of Context:
765
765
        fi
766
766
    fi
767
767
 
768
 
    local token=$(keystone token-get | grep ' id ' | get_field 2)
 
768
    local token=$(openstack token issue -c id -f value)
769
769
    die_if_not_set $LINENO token "Keystone fail to get token"
770
770
 
771
771
    # load them into glance