Skip to content
Commits on Apr 29, 2016
  1. @openstack-gerrit
Commits on Apr 18, 2016
  1. @jdob

    OpenStack client plugin for environment show

    jdob committed Jan 21, 2016
    Adds the "openstack stack environment show" command.
    
    Depends-On: I7e3577dfc854018245d79afdfee45a9d250d73a7
    Change-Id: I7ef4858738964198bc4614122be4bab8f49b1b5f
    Implements: blueprint environment-show
  2. @jdob

    Add client library support for retrieving a stack's environment

    jdob committed Jan 18, 2016
    Change-Id: I84aa5ed9dc2b8aee089de3b1e1810552b8f2dd96
    Depends-On: I7e3577dfc854018245d79afdfee45a9d250d73a7
    Implements: blueprint environment-show
Commits on Apr 16, 2016
  1. @h00130372

    Support "--pre-delete" argument for hook-clear

    h00130372 committed Apr 8, 2016
    This changes:
    1. Add "--pre-delete" argument for cmd "heat hook-clear" to
    clear pre-delete hooks.
    2. Add "--pre-delete" argument for osc cmd
    "openstack stack hook clear" to clear pre-delete hooks.
    3. Support to poll pre-delete hooks for "heat hook-poll" and
    "openstack stack hook poll".
    
    Change-Id: Ic5a6e1b7588e3f9ad49eaaf8085f18ec74fc629e
    Closes-Bug: #1567814
Commits on Apr 15, 2016
  1. @openstack-gerrit

    Merge "Moved -t parameter for visibility"

    Jenkins committed with openstack-gerrit Apr 15, 2016
Commits on Apr 14, 2016
  1. @openstack-gerrit
Commits on Apr 13, 2016
  1. @openstack-gerrit
  2. Updated from global requirements

    OpenStack Proposal Bot committed Apr 13, 2016
    Change-Id: Id0b6e1a9ee5ee01a3b73d4192cb6cf073c06aa6c
Commits on Apr 8, 2016
  1. Updated from global requirements

    OpenStack Proposal Bot committed Apr 8, 2016
    Change-Id: I172d7556e0a51b4c42c3b762ccd52ee85b0be1ea
Commits on Apr 7, 2016
  1. @Duvarenkov

    Fix logging issue in heatclient tests

    Duvarenkov committed Apr 6, 2016
    For now heatclient unittests are showing some traceback
    due to an issue in logging handler:
    http://goo.gl/myPV87
    The main point of this patch is to get rid of these
    tracebacks. Some explanation:
    - tracebacks were caused by logwarnings in some tests
    trying to write to closed stream
    - test_shell contain this shell_error method
    which uses some magic with replacing sys.stderr with
    six.StringIO(), calling shell.main which (among other things)
    configures logging and then returning sys.stderr to previous
    state and closing six.StringIO()
    - but logger is still containing closed stream as
    logging handler
    - other tests do not configure logging so handler
    remains the same
    - with this replacing thing shell_error can return
    sys.stderr.getvalue() but this return is never used in test now
    
    So i think its safe to remove replacing magic.
    
    Closes-Bug: #1567262
    Change-Id: If4d1b3fb2c809b1d5d9e70ad63cf05c5ff0797ed
Commits on Apr 6, 2016
  1. @openstack-gerrit
  2. @kramvan1

    Add basic read-only function test for template validate

    kramvan1 committed Mar 29, 2016
    Add basic functional test for
    "openstack orchestration template validate".
    
    Change-Id: I8c0bf3a27a266eaa140f033ecf32d97d0f2f1ee7
  3. @openstack-gerrit
Commits on Apr 4, 2016
  1. @openstack-gerrit
Commits on Apr 1, 2016
  1. @ZZelle

    Support OS_KEY/OS_CERT environment variables

    cedric.brandily committed with ZZelle Apr 1, 2016
    heatclient allows to provide client certificate/key using --os-key/cert
    options but not using usual environment variables.
    
    This change uses OS_KEY/OS_CERT environment variables as default values
    for client certificate/key.
    
    Closes-Bug: #1564930
    Change-Id: Ie7a4dce2a9b0e498ee3b9f6cb36a8988ea3a13fc
Commits on Mar 31, 2016
  1. Replace assertRegexpMatches with assertRegex

    Bryan Jones committed Mar 30, 2016
    The assertRegexpMatches function is deprecated and showing deprecation
    warnings, which is clogging the logs for test jobs. This patch replaces
    all occurances with assertRegex, the preferred method.
    
    Change-Id: Id538fb7d34269036a32758b768735fbb88137ca1
Commits on Mar 29, 2016
  1. @jdob

    Moved -t parameter for visibility

    jdob committed Mar 29, 2016
    When called without the required arguments, the allowed arguments are
    output to the screen. The order of those arguments is dictated by when
    they are added to the parser.
    
    Before this change, -t (a required parameter) was at the start of the
    list. This obfuscated the required parameter list when the help output
    was displayed:
    
    usage: openstack stack create [-h]
                                  [-f
    {html,json,json,shell,table,value,yaml,yaml}]
                                  [-c COLUMN] [--max-width <integer>]
    [--noindent]
                                  [--prefix PREFIX] -t <template>
                                  [-e <environment>] [--timeout <timeout>]
                                  [--pre-create <resource>]
    [--enable-rollback]
                                  [--parameter <key=value>]
                                  [--parameter-file <key=file>] [--wait]
                                  [--tags <tag1,tag2...>] [--dry-run]
                                  <stack-name>
    
    Notice how the -t appears in the middle of the optional arguments. This
    change moves it to the end so that it is more easily visible to the user
    what is required:
    
    usage: openstack stack create [-h]
                                  [-f
    {html,json,json,shell,table,value,yaml,yaml}]
                                  [-c COLUMN] [--max-width <integer>]
    [--noindent]
                                  [--prefix PREFIX] [-e <environment>]
                                  [--timeout <timeout>] [--pre-create
    <resource>]
                                  [--enable-rollback] [--parameter
    <key=value>]
                                  [--parameter-file <key=file>] [--wait]
                                  [--tags <tag1,tag2...>] [--dry-run]
                                  -t <template>
                                  <stack-name>
    
    Change-Id: I4e17650622dc8e206dc1aa39e4102f16429ac353
  2. @openstack-gerrit
Commits on Mar 28, 2016
  1. @pshchelo @kromanenko

    Move OpenStack client to test-requirements

    pshchelo committed with kromanenko Mar 25, 2016
    OpenStack client is not a runtime dependency of heatclient,
    and having it in requirements just brings in many unneeded dependencies.
    
    Move it to test-requirements so unit tests for osc plugin work.
    
    Change-Id: I425b33d5e97e9328fe440f6b190bdd6b6cc813bf
    Closes-Bug: #1562023
  2. @openstack-gerrit
Commits on Mar 25, 2016
  1. @openstack-gerrit
Commits on Mar 24, 2016
  1. @kramvan1

    OSC plugin for orchestration template validate

    kramvan1 committed Mar 4, 2016
    This change implements "openstack orchestration template validate" command
    Based from the existing heat commands:
       heat template-validate
    
    This is different from the stack create/update --dry-run
    which used the preview api, this uses the validate api.
    
    Change-Id: Icf5794ad6bb35574a060f095d7ef10e6a46ca2fe
    Blueprint: heat-support-python-openstackclient
Commits on Mar 22, 2016
  1. @ochuprykov

    Use stack.get for resolving outputs for old API

    ochuprykov committed Mar 22, 2016
    If we use new heatclient and heat with old RPC API (v < 1.19),
    we doesn't have output_show/output_list endpoints. Use stack.get
    in this case and get outputs from it.
    
    Change-Id: I697ff2002fa123fce9a0f294b74c9fa0c92796a4
Commits on Mar 21, 2016
  1. @hardys

    Fix regression handling relative paths in environment

    hardys committed Mar 21, 2016
    7627e1b introduced new code to add the
    environment to the files mapping, so server side resolution of multiple
    environments is possible.
    
    However, the environment added is wrong when you're handling those with
    relative paths inside, we must add the resolved version or the keys
    don't map to keys in the files map, an you get an error when we try
    to locate the file on the server.
    
    Evidently we lack adequate functional test coverage of this, which can
    be addressed via a heat patch, but I added a unit test illustrating
    the problem.
    
    Change-Id: I3bd2cd48623e4ad1b4067f4cefc7ddff30b9e88d
    Closes-Bug: #1560106
Commits on Mar 17, 2016
  1. stack-delete command should not call do_stack_list.

    PanFengyun committed Mar 17, 2016
    the stack-delete operation is asynchronous, and should not return
    anything.
    
    Change-Id: I75287b612358c5e76e47a9e53200c23946f01d8f
    Closes-Bug: #1556407
Commits on Mar 16, 2016
  1. @openstack-gerrit
Commits on Mar 15, 2016
  1. @Duvarenkov

    Added deprecation warnings for heat commands

    Duvarenkov committed Mar 11, 2016
    Users need to use openstack commands
    instead of heat commands.
    
    Change-Id: Ifc79dd3f81c7735ab61d8d072ff0fea1976eed98
Commits on Mar 14, 2016
  1. @openstack-gerrit
  2. @openstack-gerrit
Commits on Mar 13, 2016
  1. @steveb

    Don't use print() from event_utils.poll_for_events

    steveb committed Mar 14, 2016
    Non-cli users of this library function may want to capture the event
    log, so an 'out' argument has been added to this function.
    
    Change-Id: Ic0c82d5a0c74c527f0a05afa197b8d5845dedfca
    Closes-Bug: #1556677
Commits on Mar 11, 2016
  1. @dvorak

    OSC plugin should be region/interface aware

    dvorak committed Mar 10, 2016
    This fixes the OSC plugin so that if region is specified or if the
    interface is specified (public, internal, admin) then those will be
    passed into the heat_client when instantiated.  Without this the
    client will pick the endpoint for the first region returned instead of
    the one specified.
    
    Closes-Bug: #1556263
    Change-Id: I9c15719e7711c93e7fd076d38d66011bb20f988d
  2. @openstack-gerrit
Commits on Mar 10, 2016
  1. @openstack-gerrit
  2. Replace ConfigParser with six.moves.configparser

    Bo Wang committed Mar 10, 2016
    ConfigParser is available in python2 but not in python3.
    ref:http://www.diveintopython3.net/porting-code-to-python-3-with-2to3.html
    
    Change-Id: I537a13a26aa3ab936ff23af1cf37a1a18baccd8e
Commits on Mar 9, 2016
  1. @openstack-gerrit

    Merge "Fixed issues in invalid JSON file"

    Jenkins committed with openstack-gerrit Mar 9, 2016
Something went wrong with that request. Please try again.