12138 Commits

Author SHA1 Message Date
Steve Baker
395cfbd1dd Adopt tempest plugin config namespace
As a transition strategy to running heat_integrationtests as a
tempest plugin, this change puts the test config values in the
"heat_plugin" section. This will allow for either test runner
to be used during the transition.

blueprint tempest-plugin-support

Change-Id: I2eab50be92c998aeb1ee98011908a9828a7efe6c
2016-08-03 01:59:46 +00:00
Jenkins
6c9f33dade Merge "Network resolving in Manila when only subnet passed" 2016-08-02 13:41:02 +00:00
Jenkins
deb4031023 Merge "Fix empty values validation in nova server" 2016-08-02 13:05:21 +00:00
Jenkins
bb4fb01cec Merge "Remove unnecessary checks" 2016-08-02 12:15:02 +00:00
Jenkins
d36df4cb19 Merge "Add new resource l7policy" 2016-08-02 12:14:07 +00:00
Jenkins
e1178a3120 Merge "Fix two typos" 2016-08-02 11:50:33 +00:00
Jenkins
36dd261a97 Merge "Fix str_split function when string is None" 2016-08-02 11:50:26 +00:00
Jenkins
9d6370ff1d Merge "Allow stack create operations to be cancelled" 2016-08-02 11:50:18 +00:00
Jenkins
0a5b8ac850 Merge "Remove tests for show attribute in cinder" 2016-08-02 10:58:05 +00:00
Atsushi SAKAI
d87c8befb4 Fix two typos
examnple   => example
restrcited => restricted

Change-Id: I22bc1d317892047dd6179defa915af09ddc5ac9a
2016-08-02 19:09:38 +09:00
Jenkins
d9218ba0ae Merge "Delete snaphots on deleting stack" 2016-08-02 10:08:58 +00:00
Jenkins
f9fada0157 Merge "New common constraint 'Expiration'" 2016-08-02 09:50:21 +00:00
Jenkins
8cd5f64dfb Merge "Purge deleted stacks for specific project" 2016-08-02 09:34:56 +00:00
Jenkins
7fced683cb Merge "Correct doc about os-collect-config metadata polling" 2016-08-02 06:37:45 +00:00
Jenkins
4684ff01bd Merge "Supplement:use assertEqual() instead of assertDictEqual()" 2016-08-02 04:15:04 +00:00
Jenkins
2a6f88afcb Merge "Don't pass value_specs when creating internal port" 2016-08-02 03:54:57 +00:00
OpenStack Proposal Bot
73f0b0b22e Updated from global requirements
Change-Id: Id2279ea1c18d9458a58de5f03203bc6d9fbf1966
2016-08-01 18:40:59 +00:00
Peter Razumovsky
d2ba2b04c1 Fix str_split function when string is None
Currently str_split raises error, when function take string to split as
NoneType object (e.g. get_attr value during validation). Fix such
behaviour to allow resources with str_split in properties pass
validation.

Change-Id: Iabd8ebb90a38253434e7c29005654c9a6abb3196
Closes-bug: #1608482
2016-08-01 11:22:49 +00:00
Jenkins
86a037e3f2 Merge "Retry neutron resource deletion if the physical resource exists" 2016-08-01 10:28:12 +00:00
Dmitriy Uvarenkov
70422e6de4 New common constraint 'Expiration'
Checks if expiration date is bigger than actual date.

Change-Id: Iccbd2e691400b64beb65c3a4a22a01aa0d384d32
2016-08-01 12:43:42 +03:00
Jenkins
5e43ee45b4 Merge "modify the home-page info with the developer documentation" 2016-08-01 09:39:52 +00:00
Jenkins
9f7cf405a5 Merge "Add reno note for DNS functionality" 2016-08-01 09:20:15 +00:00
Jenkins
d313648f6d Merge "Add dns properties and attributes" 2016-08-01 09:20:08 +00:00
Jenkins
276a8c5563 Merge "Add dns constraints" 2016-08-01 09:19:59 +00:00
Jenkins
5cd10bb00a Merge "Allow for retries after certain resource delete failures" 2016-08-01 08:51:54 +00:00
Jenkins
bf22f11240 Merge "Explicitly set heat.conf logging_exception_prefix" 2016-08-01 07:26:00 +00:00
OpenStack Proposal Bot
1faf5cfb94 Updated from global requirements
Change-Id: I9e72930887e50f23bde4cccb5763ea266a112bdd
2016-07-30 01:17:51 +00:00
Jenkins
c96c7cd9a5 Merge "Don't log ERROR for remote stack exceptions" 2016-07-29 21:01:48 +00:00
Jenkins
9baf48d167 Merge "Fallback to db for resource show" 2016-07-29 17:18:59 +00:00
Jenkins
b83f05ccfa Merge "Always use upper-constraints" 2016-07-29 17:18:45 +00:00
Jenkins
82b8e5a740 Merge "Add an integration for server using neutron" 2016-07-29 16:54:23 +00:00
Jenkins
ca8c690b05 Merge "Move cinder api version tests" 2016-07-29 16:22:26 +00:00
Jenkins
b2e5cf9a18 Merge "Use handle_update_cancel() to cancel nested stack updates" 2016-07-29 08:29:04 +00:00
Jenkins
8be640e689 Merge "Silence swiftclient logging" 2016-07-29 06:42:31 +00:00
Jenkins
7836809265 Merge "Updated from global requirements" 2016-07-29 04:47:20 +00:00
Jenkins
5cf7574f3d Merge "Fix get_endpoint() call in is_using_neutron" 2016-07-29 03:23:32 +00:00
Jenkins
5207dacb59 Merge "Increase default sighup_timeout" 2016-07-29 03:22:28 +00:00
OpenStack Proposal Bot
998d47a646 Updated from global requirements
Change-Id: I6ce69e8681b93684668a13732202e721c012a497
2016-07-29 02:28:15 +00:00
gengchc2
61bda3a08a modify the home-page info with the developer documentation
update home-page info

Change-Id: I31dc89c89fae5a8128c55802713a80c43df243ef
2016-07-29 09:34:10 +08:00
Steve Baker
587d0b4058 Explicitly set heat.conf logging_exception_prefix
Gate logs for heat jobs really need to log stack traces with TRACE
instead of ERROR because some traces are being printed by passing
exc_info=True to LOG.info so they are not actual errors.

TRACE should be the default for oslo.log but something in the gate
setup is setting it to ERROR. Setting explicitly here restores the
desired pattern and protects against gate default overrides.

Change-Id: Id85287324fa6dc79d67fb1ed37c3f256d661133e
Closes-Bug: #1606404
2016-07-29 01:00:35 +00:00
Zane Bitter
1075d7e983 Allow stack create operations to be cancelled
We want to be able to use the internal API to gracefully cancel a create
operation that is in progress. (Users can still use the stack-cancel-update
command only to cancel an update, not the initial creation of a stack.)

Change-Id: I204f13d9ed7b826c6c5ac94126e23f2ed6d7e97f
Related-Bug: #1591341
2016-07-28 12:36:48 -04:00
Zane Bitter
97a3670462 Use handle_update_cancel() to cancel nested stack updates
The code designed to deal with the case where an in-progress StackResource
update is cancelled by stopping the update of the nested stack has never
worked because it was erroneously trying to catch StopIteration exceptions
instead of the actual exception raised when a generator is closed,
GeneratorExit.

This change moves the handling code to the new handle_update_cancel()
mechanism instead. Using this mechanism also means that StackResources will
be cancelled immediately, rather than waiting for up to error_wait_time
before cancelling the nested stack update. The previous patch adds a grace
period for IN_PROGRESS resources within the nested stack to complete, so we
want to notify it straight away to begin that period (and to not start any
new work).

Since the grace period on the child stack means that the child is likely to
still be IN_PROGRESS at the time we want to roll back, handle rollback by
sending an update-cancel with rollback message to the child. Only if the
child is no longer IN_PROGRESS will we start an update with the previous
template. If it is still IN_PROGRESS then just wait for it to reach
ROLLBACK_COMPLETE.

Change-Id: Ide210f695446fe8de2057b3b74c276165a6f9f3f
Closes-Bug: #1591337
Closes-Bug: #1446252
2016-07-28 12:20:19 -04:00
Thomas Herve
2245aa117e Don't pass value_specs when creating internal port
When we create the internal port on a nova server, we shouldn't pass
value_specs when specifying extra properties, as it's an internal
dictionary which is not accepted by the API.

Change-Id: I0bb4407e89b5575dbaf8f198402e0926b550224d
Closes-Bug: #1607364
2016-07-28 16:54:37 +02:00
PanFengyun
d0f72accf2 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: Ie64b63a462ae9b2c25ce9ab9e05259350353522e
2016-07-28 13:59:38 +00:00
Thomas Herve
e61542fc0a Add an integration for server using neutron
This adds a new test which actually trigger the 'is_using_neutron'
resource method by creating a server using a port.

Change-Id: Ic9a3f42fa5b24048472256832496eb630cdba2c9
2016-07-28 13:55:16 +02:00
OTSUKA, Yuanying
f4a2d8dbc7 Fix get_endpoint() call in is_using_neutron
Neutron v2 client wraps SessionClient and it's
available as an attribute `httpclient'.

Change-Id: I664be1b00975b048e2289f5be3270b4a00520e80
Closes-Bug: #1607222
2016-07-28 15:05:05 +05:30
rabi
abde6bfa2d Increase default sighup_timeout
It seems at times it takes more time than the current default
for the child processes to exit normally. Increasing it to
120 seconds.

Change-Id: Ic54d2d7edc97cbe07ed4a4445cb865bd1b157f9d
Closes-Bug: #1607177
2016-07-28 12:21:53 +05:30
Ethan Lynn
2e6ce70695 Always use upper-constraints
This patch modify tox.ini to always use upper-constraints.

Change-Id: I113dd658afebe843db304be6cbc4b1ec5df5d248
2016-07-28 11:17:50 +08:00
Steve Baker
75f46e9339 Don't log ERROR for remote stack exceptions
These are user triggered so shouldn't be logged as ERROR.

Change-Id: If2ee3b44bf85d55c4eb99e361c14d06e522d26f2
Partial-Bug: #1606404
2016-07-28 03:09:24 +00:00
Steve Baker
299d1f591d Silence swiftclient logging
swiftclient doesn't use oslo_log and logs ERROR with TRACE for
response exceptions like 404. This isn't desirable for heat which
relies on 404s to know a delete is complete.

This change sets the swiftclient logging level to CRITICAL in the
client plugin.

Change-Id: Ie11a6d19068169424ee883ce428aad306d647f0d
Partial-Bug: #1606404
2016-07-28 03:08:41 +00:00