Commit Graph

629 Commits (149f12e30f5687f9dd1ea62da70196726b59e5d2)

Author SHA1 Message Date
OpenStack Proposal Bot 149f12e30f Updated from global requirements
Change-Id: Id0791447748e9430c995cbab87260e843e8a2819
2015-09-18 16:42:31 +00:00
OpenStack Proposal Bot 8707bf488e Updated from global requirements
Change-Id: I63d1c3bdf6bdd5ff5e1c16af3ee4f095a7d659f1
2015-09-12 01:15:28 +00:00
Jenkins cdb9227e59 Merge "Use a common decorator to log 'take_action' activation" 2015-09-11 02:43:54 +00:00
Jenkins 8fe6120490 Merge "Create log configuration class" 2015-09-09 20:15:54 +00:00
Jenkins b02312efb5 Merge "Move options to log level out of" 2015-09-09 19:46:28 +00:00
Jenkins 8e5f7aa5d3 Merge "Move set warnings filters to logging module" 2015-09-08 22:06:02 +00:00
Jenkins 2c5cd2229c Merge "Set up every time record log in file" 2015-09-08 20:22:24 +00:00
Dean Troyer 5daf92dcee Fix compute API version snafu
novaclient 2.27.0 introduced the API microversion discovery and client.Client
now wants an api_version argument to properly work out the correct API
version in use.  OSC needs to provide this when required.

Letting the compute client plugin do the version validity checking makes more
sense than encoding it into, so I've added a new OSC plugin interface
function check_api_version() that is called from if it exists.  If it
either does not exist or it returns False the previous version checking using
API_VERSIONS is still performed.

compute.client.check_api_version() conditionally imports the new
novaclient.api_versions module and uses it if successful.  Otherwise
check_api_version() returns False and the previous code path is resumed.

One side-effect of this is that it is now valid to use --os-compute-api-version
with any valid microversion supported by the installed python-novaclient.

Closes-Bug: #1492467
Change-Id: I4535b38a5639a03a9597bf83f6394f9bb45c2b9e
2015-09-04 16:25:55 -05:00
Joshua Harlow d7af4e554c Use a common decorator to log 'take_action' activation
Instead of duplicating the same log statement throughout
the code, the same logic can be provided by a shared decorator
that abstracts away the logging capability and unifies it behind
a common function instead.

Change-Id: Icc63bced7347c8bbf0299a4c5821425a10892a79
2015-09-01 16:49:54 -07:00
Joshua Harlow b7855ae741 Fix 'auhentication' spelling error/mistake
Change-Id: Iba58c188d2ae44170539534eea1415cf8eb65ac4
2015-09-01 15:51:58 -07:00
TerryHowe 58a8f12a03 Create log configuration class
Configuration of logging gets triggered twice.  The first time it
uses the CLI options when the application is started and second
it uses the configuration file after that is read.  The state of
the logging needs to be saved from the first to the second time,
so I created a class.

Implements: blueprint logging-migration

Change-Id: I7b8d1a3b6fd128e98cafd7c16009c7b694a52146
2015-08-26 10:23:53 +00:00
TerryHowe 825f9ada43 Move options to log level out of
Move the conversion of command line options to log level out

Change-Id: I86cb45a85cd63927aa1c87c1eed27542981df659
Implements: blueprint logging-migration
2015-08-13 16:11:25 -06:00
TerryHowe 8c0a6b8122 Move set warnings filters to logging module
This is the first step in moving logging out of

Change-Id: I3dcb4e17bb4687988ddf9b793ad1a308ef89b242
Implements: blueprint logging-migration
2015-08-13 16:05:01 -06:00
OpenStack Proposal Bot de7a86f7da Updated from global requirements
Change-Id: I302808700fe98add83069e7ed32ea329eb32cea1
2015-08-13 20:21:57 +00:00
OpenStack Proposal Bot a1c941ad52 Updated from global requirements
Change-Id: Ie9049726dd4ac60238cb8b2658fa8510f4b11fde
2015-08-13 09:31:11 +00:00
OpenStack Proposal Bot 8f720402ed Updated from global requirements
Change-Id: Ie503f1ed6f6f91adfcf40f71053ba4fec02179f3
2015-08-13 02:19:22 +00:00
Jenkins 3d414d1950 Merge "Updated from global requirements" 2015-08-11 03:54:03 +00:00
OpenStack Proposal Bot d49bbcd87e Updated from global requirements
Change-Id: I8fbb5213701f995bad7de243fd3a54fd147eb074
2015-08-11 01:38:56 +00:00
Jenkins 912413b012 Merge "Remove non-existing hacking deviations from doc" 2015-08-10 15:36:11 +00:00
Jenkins 1abe37df45 Merge "Updated from global requirements" 2015-08-10 05:41:47 +00:00
OpenStack Proposal Bot e669304618 Updated from global requirements
Change-Id: I9232c1a3069cdb29a174eb7d93f55069d2f68e54
2015-08-10 01:10:26 +00:00
Eric Brown 88fad21477 Remove non-existing hacking deviations from doc
Commit Id38a1497019c7fe2d4ad8567f1c0c8d229951751 removed all of
the hacking rules from the ignore list.  However, the hacking doc
still refers to those previouly ignored rules.

Change-Id: I370be096d83cd5121d24bb96d8d5dc08a1c3c216
2015-08-09 13:22:48 -07:00
Daisuke Fujita 01c1985114 Set up every time record log in file
This will allow users to record logs of all their commands into
a predefined log file, in clouds.yaml. The log should have a
format similar to that of oslo.log.

Change-Id: I1b334bf429d575fc25809c9706fc0b11116be3f1
Implements: blueprint every-time-record-log-in-file
2015-08-08 10:02:46 -06:00
Jenkins 14a487a385 Merge "Alphabetize setup.cfg" 2015-08-07 13:08:08 +00:00
Steve Martinelli af04f0d4af Alphabetize setup.cfg
noticed that volume type list was out of order.

Change-Id: I965a201bc9c0fac67d01d5ee368149cac89095c9
2015-08-06 22:01:55 -07:00
Jenkins b64c527e00 Merge "Add set feature to volume type v2" 2015-08-07 05:00:18 +00:00
Jenkins f15d8cf65f Merge "Add list feature to volume v2" 2015-08-07 04:56:16 +00:00
heha 07bab48b39 Add set feature to volume type v2
"volume type set" and "volume type unset" is not in the v2.

Co-Authored-By: Lin Hua Cheng <>

implements bp: volume-v2

Change-Id: Ia804787d76d2029726c030b43c61eac3b411f66a
2015-08-06 19:35:01 -07:00
heha 323fd5e5dc Add list feature to volume v2
"volume list" is not in the v2.

Co-Authored-By: Lin Hua Cheng <>

implements bp: volume-v2

Change-Id: I9f4585202f5f9ec5f4c091278fc6c4036efb1290
2015-08-06 17:02:46 -07:00
OpenStack Proposal Bot a3b768452f Updated from global requirements
Change-Id: I4f5e05c8207e91f0da87b4bbd25f711d42016cbe
2015-08-04 00:49:08 +00:00
Jenkins 2b7f243c53 Merge "Minor Documentation changes for code samples" 2015-07-30 21:22:20 +00:00
Jerry George 00082e5b42 Minor Documentation changes for code samples
Change-Id: I2d13fe2884d9eaebd112d342041e2e219bf6a240
2015-07-30 14:41:41 -04:00
Jenkins 44c9a4d512 Merge "Add plugin interface version" 2015-07-29 15:46:34 +00:00
OpenStack Proposal Bot 2838ba7c89 Updated from global requirements
Change-Id: Ic047055ffc7b94032e615815b162f4e830126e6e
2015-07-29 03:50:47 +00:00
Jenkins 376dd2960d Merge "Add support for volume v2 commands" 2015-07-25 03:25:57 +00:00
Amey Bhide 3ea37d6eb7 Add support for volume v2 commands
Adds the following commands:
openstack volume create
openstack volume set
openstack volume unset

Implements: blueprint volume-v2
Change-Id: Icb7404815763aa88550112fb42f5200ce05c2486
2015-07-24 13:16:38 -07:00
Jenkins 81cc963e10 Merge "Do not set default versions in parsed args" 2015-07-24 19:51:30 +00:00
Jenkins b96eef3307 Merge "Add configuration show command" 2015-07-24 03:32:51 +00:00
TerryHowe b53e8a0801 Add configuration show command
Create a `configuration show` command that displays the current
configuration of the CLI.  Different configurations can be
displayed using options such as --os-cloud.  Passwords and
tokens are redacted by default unless the --unmask
option is specified.

Closes-Bug: #1476729

Change-Id: I0792365d0c5fa526cd09c0ed88c6bb1e2cb813a7
2015-07-23 13:00:59 -06:00
Dean Troyer 6e5e94fa7e Add plugin interface version
External plugins need to know which plugin interface is being
used by the host OSC.  Releases <1.6 (?) will not have a
version defined.

Plugins can add the following to their make_client() to discover
the interface version:

    _plugin_interface_version = getattr(

Change-Id: Ifc0f40fec5bc27f6425139984936b7f6e032a580
2015-07-22 11:06:41 -05:00
OpenStack Proposal Bot bf51a0ba7b Updated from global requirements
Change-Id: I7fc281b80342a14e11f87afb41c3abc515d8487c
2015-07-22 04:59:50 +00:00
Jenkins 90b1caca52 Merge "Remove requirements.txt from tox.ini" 2015-07-21 00:42:41 +00:00
Jenkins 56599acd22 Merge "Add create and list for volume type v2" 2015-07-20 22:28:10 +00:00
chengkunye 38df8fbe24 Add create and list for volume type v2
Volume API v2 is missing create and list features.

implements bp: volume-v2

Change-Id: I34a1ae440e9620b1c65546f4f43b369c8661250d
2015-07-20 12:59:57 -07:00
Jenkins 9fa3074b0c Merge "add image member commands for image API" 2015-07-20 19:56:32 +00:00
chengkunye 00c3d59688 add image member commands for image API
This commit adds the following commands:
    image project add
    image project remove

Closes-Bug: 1402420
Change-Id: I07954e9fa43a3ad6078dd939ecedf9f038299e7b
2015-07-20 10:38:42 -07:00
Jenkins e9689e4a14 Merge "Fix the way auth_type default value is overriden" 2015-07-20 16:53:31 +00:00
Javier Pena f5dbc1607a Fix the way auth_type default value is overriden
Commit 50f05448982b5fafd9d9a7783b639dd145090a0d to os-client-config
removed the default values in the _defaults dict. This makes any
call to cloud_config.set_default() before initializing the dict

The fix changes the way the auth_type default is overriden, by
doing it when cloud_config.OpenStackConfig() is executed.

Change-Id: If37d3ba303f01d4c77fd7c15a3cde9634534b64a
Closes-bug: #1473921
2015-07-20 15:29:41 +02:00
Steve Martinelli f55d15307e Rename to
For Volume V1, we have a file which should be renamed to (as it's named for V2).

Change-Id: If860bbafe4a801d8b4fa06938eef20658c4fcc2c
Closes-Bug: 1475958
2015-07-19 17:02:43 -07:00
Jenkins 72a443f374 Merge "Add volume type show for volume v1" 2015-07-19 21:26:12 +00:00