Commit Graph

5902 Commits

Author SHA1 Message Date
Tony Breeds 7dc83be556 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: Ibd485cb36ff18d3719c632e6e2f2aaab6c2c06e1
2017-09-12 16:19:05 -06:00
zhuli 13a523e008 Bad request exception for unsupported content type
Request without 'content-type: application/json' specified will
return '500 Internal Server Error', it should return more reasonable
'400 Bad Request'.

Change-Id: I45fe78c6c29257cac7cf4f8711d95350b6f8bf58
Closes-Bug: 1705665
2017-07-25 08:45:46 +08:00
OpenStack Proposal Bot c83983f594 Updated from global requirements
Change-Id: Ic30379618df96295ac4d14ddf07bf61c4faaadba
2017-07-23 19:09:32 +00:00
OpenStack Proposal Bot 0cb4674789 Updated from global requirements
Change-Id: Ia93c8345e81edef60bf733fbcb5099b0b05eb8a4
2017-07-22 16:39:57 +00:00
OpenStack Proposal Bot b565d37a14 Updated from global requirements
Change-Id: Ib0f8f721a2ac3288eaa4486fa6732f40d2c26ecb
2017-07-20 02:42:22 +00:00
OpenStack Proposal Bot d637bf75f4 Updated from global requirements
Change-Id: I3b69fda9d66b11836c657395f9d30462b7e8eb09
2017-07-18 01:57:33 +00:00
OpenStack Proposal Bot a2b9d4521a Updated from global requirements
Change-Id: I2f8f48df6859f8fcf980f492a6ea965615a390e5
2017-07-15 00:06:46 +00:00
Jenkins b6c0a8f80e Merge "Update the documentation link for doc migration" 2017-07-14 20:53:16 +00:00
Jenkins 37e2648df0 Merge "Globalize regex objects" 2017-07-14 14:10:29 +00:00
chenxing 1f47383e67 Update the documentation link for doc migration
Change-Id: Ied5b93d7509ae6a2a9d87740ebe67679ce705c5b
2017-07-14 13:50:40 +00:00
Ngo Quoc Cuong 4df47beb28 Globalize regex objects
Using re.compile() and saving the resulting regular expression object
for reuse is more efficient when the expression will be used several
times in a single program. [1]

[1] https://docs.python.org/3/library/re.html#re.compile

Change-Id: I9cc0d3261e6f66cdb547beadc2b3efe626084d56
2017-07-14 00:09:12 -04:00
Jenkins d738c14df6 Merge "Updated from global requirements" 2017-07-13 22:18:37 +00:00
chenxing 952800ff0f Update Documention link
Change-Id: I39f0bc1c7b5ef8114f6391058ab4378638b50907
2017-07-13 13:26:47 +00:00
OpenStack Proposal Bot 42ac162344 Updated from global requirements
Change-Id: I7f948a486301bca06b4a60bf419c43ba1e75e696
2017-07-13 13:11:04 +00:00
pawnesh.kumar 5bc58f1bc1 Enable warnings as errors for doc building
Treat warnings as errors for doc building - adding Sphinx'
warning-is-errors variable.

Change-Id: I12f9c92e8b8f9245614797e65af1ae48a0714923
2017-07-11 05:29:08 +00:00
Luigi Toscano 113c343b82 Regenerate sample.config, included in the doc
The extension required to generate the file during the build has
been removed; restore it, otherwise the doc generation returns
a warning.

Change-Id: I77cd97fb15894ce48a898facbb9462b22531469d
2017-07-11 05:29:03 +00:00
pawnesh.kumar 5221c00aca Fixes the "tox -e docs" warnings
The below warning are fixed:
WARNING: document isn't included in any toctree
WARNING: Could not lex literal_block as "http"
WARNING: Could not lex literal_block as "json"

Change-Id: Ied4b16a57bf597ccb1e0cd12e433275864b2ad61
2017-07-11 05:24:55 +00:00
Ngo Quoc Cuong b5530677f4 Enable H904 check
H904 allows the logging package to skip creating the formatted log
message if the message is not going to be emitted because of the
current log level.

Change-Id: Ib736990696cdcbec360303e744aab9fa4cf82c91
See: https://docs.openstack.org/oslo.i18n/latest/user/guidelines.html#adding-variables-to-log-messages
2017-07-06 03:17:45 -04:00
Jenkins d06b1adbb9 Merge "Allow proxy_command to optionally use internal IP" 2017-07-05 22:13:57 +00:00
Jenkins 4efb9df8b2 Merge "Update log translation hacking rule" 2017-07-05 17:49:37 +00:00
Jeremy Freudberg ef51c7a004 Allow proxy_command to optionally use internal IP
New config option allows clusters to be provisioned with floating IPs
present, but still with communication over internal IP.

Related-Blueprint: refactor-use-floating-ip
Change-Id: Ieec4da7d852371bc9eabe6756de859b6b8189b8e
2017-07-05 14:35:58 +00:00
Luigi Toscano 541edfc8ef doc: update the configuration of the theme
Use the configuration options described in the documentation of
openstackdocstheme and clean up some old options on the way.

Change-Id: I16972c7fa1102baf66bd4478e03c0f6c77096788
2017-07-03 22:40:55 +02:00
Ngo Quoc Cuong e181a9c0ff Update log translation hacking rule
Starting with the Pike series, OpenStack no longer supports log
translation.
Update hacking rule to prevent log translation in all log level instead
of only debug level.

Change-Id: I4c6d720b2aa91a883bbf974d390028218357e1e4
2017-07-02 23:07:59 -04:00
Jenkins 506f85b790 Merge "Add test to sahara/plugins/vanilla/hadoop2/scaling.py" 2017-06-29 08:54:09 +00:00
Jenkins 90feb1715a Merge "Add test to sahara/plugins/vanilla/hadoop2/run_scripts.py" 2017-06-29 08:41:22 +00:00
Jenkins f589965688 Merge "Updated from global requirements" 2017-06-27 17:13:52 +00:00
OpenStack Proposal Bot ea3327946e Updated from global requirements
Change-Id: I33c2646d47265b2c08446f4c1b6db18788d622e7
2017-06-27 12:23:17 +00:00
xuhaigang 227d12e602 Fix direct patches of methods in test_versionhandler.py
Direct patches of methods in unit test may cause errors in other tests.
I use the form of decorators to fix them.

Change-Id: I22d92921ae6074be3f4fbd542af8aa9f4c5c5543
2017-06-27 17:18:10 +08:00
xuhaigang 31f5c2ba15 Add test to sahara/plugins/vanilla/hadoop2/scaling.py
Add unit test to scaling.py

Change-Id: Id2c4754c6046caaaeb0ea1693ed11e3d299fd782
2017-06-27 16:34:37 +08:00
xuhaigang 1a9aeb868b Add test to sahara/plugins/vanilla/hadoop2/run_scripts.py
Add unit test to run_scripts.py

Change-Id: I997b10acc84dda715dea75234290d780bf777cad
2017-06-27 14:06:04 +08:00
Luigi Toscano ddc87b149f doc: switch to openstackdocstheme and add metadata
Move doc/ and releasenotes/ to openstackdocstheme
and remove the dependency on oslosphinx.
Initialize the correct link to the bug tracker (logABug).

api-ref/ was already properly configured.

Change-Id: I9c0a8ae25b767d895ca5935fa305425f7b8e7ae0
2017-06-23 19:28:12 +02:00
Jenkins 977d06c614 Merge "Upgrading Spark version to 2.1.0" 2017-06-21 15:50:09 +00:00
Jenkins de78b48ce4 Merge "Updated from global requirements" 2017-06-21 09:16:08 +00:00
zhuli 5c9d5a7408 Fixes a typo in quickstart.rst
Fixes a typo in quickstart.rst quickly

Change-Id: I24ce5e24e74c3646dafc1be2210ebb18d7ec4cff
2017-06-20 15:24:46 +08:00
OpenStack Proposal Bot d42c174c9c Updated from global requirements
Change-Id: Ic7ab489b248b84b6c6ba01f57cf56659295ae7df
2017-06-19 21:13:57 +00:00
Jenkins ea072718ed Merge "remove workaround in grenade" 2017-06-16 20:06:03 +00:00
Vitaly Gridnev ef72ac5663 Fix wrong patch in unit tests
Patch must be stopped after test is done, so fixing
incorrect patch in this setUp method.

Change-Id: I5bb1dc4d82e6d644207ae777a62ddec39e5a290f
2017-06-16 17:53:13 +04:00
OpenStack Proposal Bot 0a0af055bc Updated from global requirements
Change-Id: If8e09bc1c0f95779cb2e28eef0e648987065492f
2017-06-15 16:35:42 +00:00
Vitaly Gridnev 082ec2a9ed remove workaround in grenade
Change-Id: I85c23c42f3f52918a52c2f947e6d354c42c969b6
2017-06-15 12:12:03 +00:00
Jenkins 13b9a31e0b Merge "Add test to sahara/plugins/vanilla/hadoop2/starting_scripts.py" 2017-06-14 14:23:46 +00:00
Jenkins 0302145b8d Merge "Add test to edp_engine.py" 2017-06-14 12:19:26 +00:00
xuhaigang dfd4b86c2a Add test to sahara/plugins/vanilla/hadoop2/starting_scripts.py
Add unit test to starting_scripts.py.

Change-Id: I0465ef317e88d16d33626141c359625a86854192
2017-06-14 16:04:20 +08:00
xuhaigang 8c8c9353e0 Add test to edp_engine.py
Add test to edp_engine.py in sahara/plugins/vanilla/ and
sahara/plugins/vanilla/hadoop2/.

Change-Id: I011d2b214f283eb21ab9f77ad6096bd307dbaa41
2017-06-14 15:10:46 +08:00
Jeremy Freudberg 8704d0508f Update dashboard doc
Provide documentation about new SAHARA_VERIFICATION_DISABLED parameter.
Additionally, cleanup some outdated statements.

Change-Id: I0fdaff685d643214192a94067359265408bc6683
2017-06-13 09:32:07 -04:00
Jenkins 953ee2ed4d Merge "Add test to sahara/plugins/vanilla/hadoop2/oozie_helper.py" 2017-06-13 11:28:39 +00:00
Jenkins 5bfd7fd40e Merge "Add test to sahara/plugins/vanilla/hadoop2/config_helper.py" 2017-06-13 08:37:50 +00:00
xuhaigang 9ea4344a2f Add test to sahara/plugins/vanilla/hadoop2/oozie_helper.py
Add tests of two methods in oozie_helper.py

Change-Id: I76f31854c8b57df0fd1f5d45045347580619b215
2017-06-13 14:46:30 +08:00
xuhaigang de3c0d6dcb Add test to sahara/plugins/vanilla/hadoop2/config_helper.py
Add tests of most methods in config_helper.py,
   except init_xml_configs()

Change-Id: I24df2250778ad422347ba77a3146e28ba027ad3c
2017-06-13 12:00:41 +08:00
Jenkins 09a6cd70c7 Merge "Add test to sahara/plugins/vanilla/v2_7_1/config_helper.py" 2017-06-12 15:22:40 +00:00
xuhaigang 9ee149b7d4 Add test to sahara/plugins/vanilla/v2_7_1/config_helper.py
Add tests of methods in config_helper.py

Change-Id: I3fe7706475ad618b8eebcb9bad7a7994d1089162
2017-06-12 15:42:40 +08:00