summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename context.py to logs.pyTerry Howe2015-10-303-36/+34
| | | | | | | | | At one point this file contained the context for logging, but the reason for its existence is now for logging. Implements: blueprint logging-migration Change-Id: I4ba42bbef97b09d31236ac8c01b6fb23827b8bee
* Allow debug to be set in configuration fileTerryHowe2015-10-301-0/+6
| | | | | | | | | | | The current default value for debug in cliff is False. Cloud config assumes that it was set that way on the command line and does not overlay it with the value from the configuration file. Cliff bug: https://bugs.launchpad.net/python-cliff/+bug/1483378 Change-Id: I66d82b489b2241dbcd1e1350e94259a54ce09de7
* Create log configuration classTerryHowe2015-08-264-262/+189
| | | | | | | | | | | | 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
* Optimize log formattingTerryHowe2015-08-132-92/+60
| | | | | | | | | | | | There is no way to change the configuration variables we want printed in log messages, so format them in the constructor. This will save us from overridding the format method and a couple cpu cycles every log message. This change also moves the _LOG* variables into the formatter since they aren't really globally needed. Change-Id: I706e9db7da3daec20332f9d1533fe665f2739dea Implements: blueprint logging-migration
* Extract log level from configuration fileTerryHowe2015-08-132-10/+53
| | | | | | | | | | Extract log_level from configuration file if the level was not overridden by the command line option. The default command line option is 1 and there is no command line option to set the verbose_level to 1, so if it is 1, it has not be set. Change-Id: I1be04367c72f83c1181f92ca4c2c83165b66995c Implements: blueprint logging-migration
* Move options to log level out of shell.pyTerryHowe2015-08-133-12/+28
| | | | | | | | Move the conversion of command line options to log level out of shell.py. Change-Id: I86cb45a85cd63927aa1c87c1eed27542981df659 Implements: blueprint logging-migration
* Move set warnings filters to logging moduleTerryHowe2015-08-133-4/+20
| | | | | | | This is the first step in moving logging out of shell.py Change-Id: I3dcb4e17bb4687988ddf9b793ad1a308ef89b242 Implements: blueprint logging-migration
* Set up every time record log in fileDaisuke Fujita2015-08-086-15/+479
| | | | | | | | | 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
* Merge "Add configuration show command"Jenkins2015-07-247-0/+178
|\
| * Add configuration show commandTerryHowe2015-07-237-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "add doc for floatingip"Jenkins2015-07-231-0/+85
|\ \
| * | add doc for floatingipchengkunye2015-07-221-0/+85
| | | | | | | | | | | | Change-Id: Ibdee50066452ed33f210e93de29eba3c0ec2e155
* | | Imported Translations from TransifexOpenStack Proposal Bot2015-07-232-5/+5
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ic6d4612806a946a4f8047b501bea8ae08557fad7
* | | Merge "Fix --os-auth-plugin in auth_with_unscoped_saml"Jenkins2015-07-221-1/+1
|\ \ \
| * | | Fix --os-auth-plugin in auth_with_unscoped_samlHugh Saunders2015-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error message refers to --os-auth-plugin which is not a valid option. This patch changes that to --os-auth-type. Change-Id: I02ec0b7855131180bb8c674051930ebb51cb7303 Closes-Bug: #1477083
* | | | Updated from global requirementsOpenStack Proposal Bot2015-07-222-3/+2
|/ / / | | | | | | | | | Change-Id: I7fc281b80342a14e11f87afb41c3abc515d8487c
* | | Merge "Fix yet more documentation warnings"Jenkins2015-07-226-13/+14
|\ \ \ | |/ / |/| |
| * | Fix yet more documentation warningsTerryHowe2015-07-216-13/+14
| | | | | | | | | | | | Change-Id: I87683039601ae90531f27ebebbc4d0b1d252e846
* | | Merge "Make trustee/trustor/project searchable by ID"Jenkins2015-07-211-23/+8
|\ \ \ | |/ / |/| |
| * | Make trustee/trustor/project searchable by IDSteve Martinelli2015-07-201-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the previous implementation, we were always including the domain argument, which caused a lookup by name for trustee/trustor and project. By excluding it when not necessary, we do a search by ID in find_resources. Change-Id: Id756aeab522b5dccb2dc6b31d137a28514b0fdf6 Closes-Bug: 1473298
* | | Merge "Remove requirements.txt from tox.ini"Jenkins2015-07-211-2/+1
|\ \ \
| * | | Remove requirements.txt from tox.iniTerryHowe2015-07-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From lifeless: pbr reflects the package dependencies from requirements.txt into the sdist that tox builds. Change-Id: I63548ec321b9c59cc935ba8179b1da5b9c90e09b
* | | | Merge "Add create and list for volume type v2"Jenkins2015-07-204-1/+253
|\ \ \ \
| * | | | Add create and list for volume type v2chengkunye2015-07-204-1/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Volume API v2 is missing create and list features. implements bp: volume-v2 Change-Id: I34a1ae440e9620b1c65546f4f43b369c8661250d
* | | | | Merge "Format volume type properties when showing"Jenkins2015-07-203-2/+15
|\ \ \ \ \
| * | | | | Format volume type properties when showingSteve Martinelli2015-07-193-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the properties of a volume type are unformatted. Use the formatter to keep things consistent with the way properties are represented in OSC. Change-Id: I81c6bd3fdbc30568c269e501c740473b2a1ffb4e
* | | | | | Merge "add image member commands for image API"Jenkins2015-07-205-0/+306
|\ \ \ \ \ \
| * | | | | | add image member commands for image APIchengkunye2015-07-205-0/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following commands: image project add image project remove Closes-Bug: 1402420 Change-Id: I07954e9fa43a3ad6078dd939ecedf9f038299e7b
* | | | | | | Merge "Fix the way auth_type default value is overriden"Jenkins2015-07-201-3/+4
|\ \ \ \ \ \ \
| * | | | | | | Fix the way auth_type default value is overridenJavier Pena2015-07-201-3/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 fail. 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
* | | | | | | Merge "Add functional tests server reboot"Jenkins2015-07-201-1/+4
|\ \ \ \ \ \ \
| * | | | | | | Add functional tests server rebootTerryHowe2015-07-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1699ac826519ccc177159423c7b6727ffaf4abff
* | | | | | | | Merge "Add functional tests server IP attach and detach"Jenkins2015-07-201-0/+21
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |
| * | | | | | Add functional tests server IP attach and detachTerryHowe2015-07-181-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id87a5474e2df80c9ef84a6c554f12116302a38b3
* | | | | | | Rename type.py to volume_type.pySteve Martinelli2015-07-192-6/+6
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Volume V1, we have a type.py file which should be renamed to volume_type.py (as it's named for V2). Change-Id: If860bbafe4a801d8b4fa06938eef20658c4fcc2c Closes-Bug: 1475958
* | | | | | Merge "Fix image save with API v2"Jenkins2015-07-191-1/+1
|\ \ \ \ \ \
| * | | | | | Fix image save with API v2David Moreau Simard2015-07-151-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Glanceclient v2 no longer expects the whole image object, just the image id. Change-Id: I8f34acfa50ca2d50eb7c9eb1dd5114c4621ad158 Closes-bug: #1475001
* | | | | | Merge "Removes trailing blank in trust show"Jenkins2015-07-192-4/+4
|\ \ \ \ \ \
| * | | | | | Removes trailing blank in trust showGilles Dubreuil2015-07-192-4/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a blank character at the end of the roles value would remain Change-Id: I0961a5f9fb4b270a6055ee69898eadee315e416a Closes-Bug: 1474707
* | | | | | Merge "Add volume type show for volume v1"Jenkins2015-07-192-0/+25
|\ \ \ \ \ \
| * | | | | | Add volume type show for volume v1jiaxi2015-07-192-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | volume type show is missing for volume V1 API. Closes-Bug: #1475879 Change-Id: Ic8a0845ecec04146d536412463175f57ef6511ae
* | | | | | | Merge "--property should be required in `os unset` commands"Jenkins2015-07-193-0/+3
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | --property should be required in `os unset` commandsjiaxi2015-07-193-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The three commands below openstack volume unset openstack snapshot unset openstack volume type unset Should have --property as a required argument, not optional. The reason is the command will not work without --property. Closes-Bug: #1475872 Change-Id: Ib9e29392472db38982cc2817af2dd5055f5a01ca
* | | | | | | Merge "More minor docs fixes"Jenkins2015-07-192-3/+3
|\ \ \ \ \ \ \
| * | | | | | | More minor docs fixesTerryHowe2015-07-192-3/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia74b8e14bacb562d9bac29221f511acbab5296df
* | | | | | | Minor identity documentation changeTerryHowe2015-07-192-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ib139f2376e70ebb7b5621cdad4da61c64c1f9246
* | | | | | Merge "Add details to the documentation."Jenkins2015-07-192-0/+14
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Add details to the documentation.heha2015-07-182-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "or-show" to "project create" and "role create" in the documentation. Closes-Bug: #1475485 Change-Id: I2d98766c4ddd8b2022012c4f6c5e1d4fcebfc42a
* | | | | | Merge "Add functional tests for servers that require wait"Jenkins2015-07-181-1/+68
|\ \ \ \ \ \
| * | | | | | Add functional tests for servers that require waitTerryHowe2015-07-181-1/+68
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I4c85b1e303ecb99458594e7743950b0668b3bdfc