When merging multiple envs, 0 values where ignored in later envs, not
taking precedence. This fixes it by checking for None instead.
Change-Id: Ia0da6988f92825bcc9a19dd3dcce771baa978a59
Closes-Bug: #1669442
assertIn is failing on exception messages as apparently they are bytes
in Python3. Let's encode it before the check.
Change-Id: I886a9458e72aa1ffdb2cc6dcf20331f468778032
This reverts commit d7f2d4f23e.
ostestr spews what is IMHO an unmanageable amount of mostly worthless data when running tests - at least one line per test, of which there are 6351 at last count. There doesn't seem to be an option to quiet it down, so just revert it.
Change-Id: I7b12dc249e3e7041ab6f0ef36b3e5f0b082aeb7d
If getting an output from a child stack fails with an error, we didn't pass
on the error message to the parent stack that was requesting it but instead
reported essentially that the given output did not exist.
Change-Id: I5653baf310a29dc4829ad570c769cf67ce12695e
Partial-Bug: #1599114
Add full path field for Property class. Now
properties with sub-schemas should contain properties
with path, where their parent specified. For example,
if there is schema:
"a": type map:
schema:
"b": type string,
"c": type string
Then property "a" has path == 'a', "b" has path == 'a.b',
"c" has path == 'a.c'.
Change-Id: I6d0ba022f34b925d47142669d6076ebd63a2acdc
Related-bug: #1620859
Currently Properties has arg "parent_name", which
is used for detailed path in error and allows to
build path for nested properties schemas. But on
top parent_name takes resource name as initial,
which is few incorrect - Properties should raises
with error about Properties, other info (about in
what resource this error raised) should be built out of
Properties module.
Change-Id: I36e6453a1589c02a3f8cf2c080b38693b23b0f1b
Related-bug: #1620859
As a wrapper of testr, os-testr uses subunit-trace
for output and builds some helpful extra
functionality around testr
Reference link:
http://docs.openstack.org/developer/os-testr/index.html
Change-Id: I5eb1ea062334c06f5e95ef54367e427b98a17bac
We stop showing json deserialized message in debug log, because
message will involved with some private credential message (like
password). Let's block it for now, until we get a better solution.
Partial-Bug: #1664792
Change-Id: I07410df56449c5414a5572d07507e17f5858c5c6
Working towards the goal of storing resource attributes in the db so
as to avoid re-resolving them when appropriate. Adds an 'attr_data'
object to the resource object, defined as a relationship on the
already existing resource_properties_data table.
Change-Id: I2104078d850da08b22547d7feab2bde00c543478
Partial-Bug: #1660831
With more then 5% of failure rate in gate. We decide to reduce the possibility
of conflict by reduce the number of signal. Will try to resume the
number back, once we feel confortable.
Change-Id: I90e1d26a67a349f897d895f750d8e57fae98ec1f
Allow for using keystone v3 and session with swiftclient
in integration tests.
This also cleans up some unnecessary arguments passed to clients.
Change-Id: If68dc4840f99e852a5d2af53812661b3fc0aab55
To check whether detach_interface/attach_interface
complete to keep consistent with nova underlying.
Change-Id: I62e61a2d3633fac35655a8542f93921a1ba17930
Closes-Bug: #1650439
Don't create a resource record for backup stack if the
resource record exists, just to migrate it to backup
stack, to avoid redundant data remaining for existing
stack.
This patch also adds resource.store() which covers
_store() and _store_or_update() implemention. And then
we can delete the two methods.
Change-Id: I0b4b983306ea84fab0e2c81876ef407a80d25989
Closes-Bug: #1662095