Commit Graph

263 Commits (439782d29de8dbdb3e820c19489f95a6d5526817)

Author SHA1 Message Date
OpenStack Release Bot 439782d29d Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I2e59272244bd2d3649cd53bbc82ddc97e56a3e50
Sem-Ver: feature
2019-03-18 14:50:47 +00:00
Zuul ba69f99d63 Merge "Update json module to jsonutils" 2019-02-22 11:47:18 +00:00
zhulingjie a53f33c88f Update json module to jsonutils
oslo project provide jsonutils, and the others project use it now,
this PS to update json moudule to oslo jsonutils for consistency.

Change-Id: I6938f835b62222f3ca71e554cda0854edc1ed4d7
2019-02-21 11:00:16 +00:00
ZhongShengping ffc5de7dc4 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I37cb69a0bc7b0b016526be206c226b419efc87bb
Story: #2004073
Task: #27414
2019-02-19 17:05:47 +08:00
Zuul f103a76d59 Merge "Update the bugs link to storyboard" 2019-01-29 12:06:20 +00:00
Zuul b4614c60d5 Merge "Add Python 3.6 classifier to setup.cfg" 2019-01-28 12:33:04 +00:00
Zuul 61a6e343ad Merge "Change openstack-dev to openstack-discuss" 2019-01-28 12:27:03 +00:00
Zuul 5a766ac753 Merge "Use template for lower-constraints" 2019-01-28 12:08:00 +00:00
Zuul 51648558ad Merge "Update the bugs link to storyboard" 2019-01-28 11:41:10 +00:00
zhouxinyong 05d6147ba5 Change openstack-dev to openstack-discuss in setup.cfg
Change-Id: I2ab1b716993cc4648b6a3164b1b35ba5a96a7465
2019-01-24 10:21:51 +08:00
ZhijunWei e0c3b69ccb Update the bugs link to storyboard
Change-Id: I4e1fcded34267d0acae94932646cb7a9c7a1708c
2018-12-31 12:22:37 +00:00
ZhijunWei 00326555ea Update the bugs link to storyboard
Change-Id: I66d4f27296b1e36570858ffcdd19b0250bee6be1
2018-12-30 22:53:53 +08:00
Andreas Jaeger 573826e777 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: Ifd0adf5409ca0a7f08c000ae448897f14ad72282
Needed-By: https://review.openstack.org/623229
2018-12-20 21:46:31 +01:00
lu-meihong d3def5133d delete repeated self.endpoint
Change-Id: Ia212d9f6915d1b9fde9833025f6801ef637711c1
2018-12-13 22:55:31 -08:00
lu-meihong b03af271a9 self.endpoint repeated
Change-Id: I6b4c88cccdb6069f19cb07328ec0548f0c940306
2018-12-13 22:51:01 -08:00
98k c8f4cc14fb Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I99505a7f584e5553db56aeb9f8a70911de55135f
2018-12-04 07:52:27 +00:00
gengchc2 cc92d7cc2c Add the describes about search option
Change-Id: I535adec38fe9d3d72bb6001c54c321613de2e280
2018-12-03 00:59:35 +00:00
qingszhao e5fb15453e Add Python 3.6 classifier to setup.cfg
Change-Id: Ie49678e5425a8eb25be2d998bbaa45d5bfadaa36
2018-11-29 09:27:19 +00:00
Vieri 0a73a2d3de add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I15b5f489891aeaa5191dc7400ef10fe7bd60c201
Story: #2002586
2018-11-28 06:51:43 +00:00
gengchc2 1dae9c1d42 Correct search opt param in SessionList
There are differences between session and other tables(
job, atcion, backup, client):
for example:
--search '{"match": [{"id": "820e30c284fb4d"}]}'
1.It is coversed to '{"match": [{"id": "820e30c284fb4d"}]}'
  in session
2.It is coversed to {'match': [{'_all': '{"match":
  [{"id": "820e30c284fb4d"}]}}]}' in other talbes
It can lead to mistakes:
ERROR freezer-api   File "/opt/stack/freezer-api/freezer_api/
storage/elasticv2.py", line 47, in get_base_search_filter
ERROR freezer-api     match_list = [{"match": m} for m
in search.get('match', [])]
 ERROR freezer-api AttributeError: 'unicode' object
 has no attribute 'get'
Change-Id: Id9b918208caef1f3b6d31e780a951b0ab6f5e98f
2018-11-26 01:21:33 +00:00
Zuul 4a06ff8893 Merge "Add detailed information fro session-show and session-list for v1" 2018-11-08 08:43:11 +00:00
Zuul c1c81ac0ce Merge "Update min tox version to 2.0" 2018-11-07 03:06:10 +00:00
Zuul 1a2f1fbbcc Merge "add action show command field for client v1" 2018-11-07 03:03:58 +00:00
Zuul d81660e692 Merge "add show job command field for client v1" 2018-11-07 03:03:57 +00:00
gengchc2 673a675977 Add detailed information fro session-show and session-list for v1
Change-Id: I3258641d54cdfe03e12d7eadaed2e93bb58ca5ba
2018-11-07 02:28:18 +00:00
gecong1973 5143444225 add show job command field for client v1
The show job field is not enough, this patch
add more detailed field for v1

Change-Id: Ia81e46cf70f727e5ebca59acf84da00082ac1529
2018-11-07 00:23:56 +00:00
gecong1973 11060d3ed0 add action show command field for client v1
action show command field is not enough, this patch
add more detailed field for v1.

Change-Id: I080b9454fbbbbd588ce1a1eb7ae5177b39a82239
2018-11-05 23:28:09 -08:00
gecong1973 e4b0f8c035 Add backup create for api v1
At present, freezer client only support
backup-create for v2, the patch add v1 support

Change-Id: If8e8b28705bf1b5ee8c0f01e1ad2a0f368753b42
2018-11-05 22:54:37 -08:00
Nguyen Hai Truong 1be17e4958 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.
Update to reflect reality, which should help with local running of
constraints targets.

Change-Id: I1b014580254577f8fe48351ab1bb69b8cf103e38
2018-11-05 19:26:14 +07:00
gengchc2 026ae218b6 session-show status and result error, and add session_tag
There are errors about status and result.
There is a lack of session_tag in session-show command.'
w

Change-Id: I2076d1e5a7b04ad155ebe0250dadd8906987ccd0
2018-10-29 19:36:05 -07:00
Zuul 2e8fda536a Merge "add show job command field for freezerclient" 2018-10-29 06:20:02 +00:00
Zuul a3d045f633 Merge "add backup show command field for freezerclient" 2018-10-29 06:13:13 +00:00
gecong1973 d7515bc935 add backup show command field for freezerclient
The backup show field is not enough, this patch
add more detailed field

Change-Id: I41bab0fb911aca002efd732fc8071aa52c09ff60
2018-10-29 03:43:51 +00:00
gecong1973 f01b0d817b add show job command field for freezerclient
The show job field is not enough, this patch
add more detailed field

Change-Id: I3ac80e47dca6443519fc679cf099b11ccbc9185d
2018-10-29 03:41:09 +00:00
gecong1973 c1f9bf1a03 add action show command field for freezerclient
action show command field is not enough, this patch
add more detailed field.

Change-Id: I4796c3fc627ec4f0b14b0c5959e5f1f1d82eb513
2018-10-29 02:52:51 +00:00
Cai Hui 4ab052733d Freezerclient use "token" to authentication is not success
1. When auth_type ='token',loader.load_from_options(**kwargs) is
   not defined these parameters:
   tenent_name, user_domain_id, user_domain_name
2. The class of freezerclient.client.Client add "token" parameter.

Change-Id: I0b320a608677bcac2b6226330f902365a27b58d5
2018-10-23 05:59:08 -04:00
Cai Hui 0b80ff7e9e Add freezer-tempest-client job as check/gate test job
Add freezer-tempest-client job as check/gate test job

Change-Id: Id7de777cf1bd160c8844ca3ffdc40833e2dbebe2
2018-10-20 04:37:22 -04:00
Zuul 394ed04000 Merge "Add detailed information fro session-show and session-list" 2018-10-20 01:47:45 +00:00
gengchc2 f1cabb92be Add detailed information fro session-show and session-list
Change-Id: I0d6ebb145317a75414f77191a6cf2fdc622d0905
2018-10-20 01:24:20 +00:00
Cai Hui 5fd8f1bbb1 Remove "--os-identity-api-version" argument
Following commits:
  Change 608808
  Change 604284
  Use keystoneauth1.load.get_plugin_loader to load and discovery dynamically
without explicitly specifying V2 or V3 of keystone.

  The argument of "--os-identity-api-version" is no longer required.

Change-Id: Idbd324d30489ae3c6a279e7147387fea81f39063
2018-10-19 07:40:41 -04:00
gecong1973 2614d6de09 Add backup create client support for freezer
Currently, freezer client doesnt support backup create command,
it is not so convenient. This patch add this command for debug.

Change-Id: I0313f431f066a59b6d57130b81e943bce300511b
2018-10-18 20:23:34 -07:00
Zuul 3cfaed0515 Merge "Update freezerclient documentation" 2018-10-17 03:42:11 +00:00
Cai Hui c05b79625f Update freezerclient documentation
Change-Id: I2a36243847d8cbe02db7e99ba7c0995917204167
Story: 1706166
Task: 25709
2018-10-16 05:04:19 -04:00
Zuul 1a57666342 Merge "Add freezerclient.client in order to use the python api directly" 2018-10-15 09:13:17 +00:00
Zuul 523b475f35 Merge "Don't quote {posargs} in tox.ini" 2018-10-12 07:32:20 +00:00
Cai Hui 90542f8a2c Add freezerclient.client in order to use the python api directly
The simplest way to create a client instance is initialization with your
 credentials:

        >>> from freezerclient import client
        >>> freezer = client.Client("2")
        >>> freezer.jobs.list_all()

Change-Id: I04f1316d6786579a48d1db7969c7cae3ef8bd9e4
2018-10-12 02:10:07 -04:00
Zuul 97d6315279 Merge "Freezer command line tool add argument: "--os-backup-api-version"" 2018-10-12 01:52:26 +00:00
Cai Hui 234d57331c Freezer command line tool add argument: "--os-backup-api-version"
1. You can select an API version to use by ``--os-backup-api-version`` option or by
   setting corresponding environment variable:

       export OS_BACKUP_API_VERSION=1

   Default Freezer API used is v2.
2. Add freezerclient.shell unit test cases.

Change-Id: I2946c7397834046fca3f1155588cd04083e07302
2018-10-11 03:06:47 -04:00
gengchc2 f6e5b80dd3 Use keystoneauth1.loading instead of specifying V2 or V3 of keystone
In devstack, there is an error:
Not Found (HTTP 404) (Request-ID: req-c5b74593-ecd6-4c06-9db1-b1fa9c124fc1).
This is a keystone authentication failure.
Use keystoneauth1.load.get_plugin_loader to load and discovery dynamically
without explicitly specifying V2 or V3 of keystone.

Change-Id: I33d560e1c75b5a370cc2671849a10e4244f2934c
2018-10-10 03:41:47 +00:00
Vieri 7ab797c0e6 Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I5da74599cefe7769e899e318dd393d864a6a1fef
2018-10-09 13:49:44 +00:00