627 Commits

Author SHA1 Message Date
ZhijunWei
721e4bca07 fix bug link in readme
This patch fixes the bug tracker link in the readme. It is set to
depend on a job definition change in project-config so we can use this
patch to test the new release jobs.

Change-Id: I45627d28e8ccec52c6bc8b8c85a7cf684fbb88fd
2018-09-16 02:50:37 +00:00
Doug Hellmann
74f6c5bbef fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Id7c3281bf2ecb9808d7042611a66c957eb8f4c79
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 15:27:00 -04:00
Zuul
23c9766205 Merge "Fix 'Placement' policies not translated" 2018-06-02 02:12:52 +00:00
dineshbhor
fd75f0c5de Fix 'Placement' policies not translated
Some policies derived from standard policies are translated
by base policy translator. For example, a policy which has
`tosca.policies.tacker.Alarming` type derived from
`tosca.policies.Monitoring` type is translated by a translator to
`tosca.policies.Monitoring` type.

A policy which has a type derived from tosca.policies.Placement
doesn't seems to be translated by a translator to
`tosca.policies.Placement`.

This patch fixes this issue by adding the `tosca.policies.Placement`
specific check while translating nodetemplates.

This policy translation support is required to implement below
tacker blueprint:
https://blueprints.launchpad.net/tacker/+spec/vdu-affinity-policy

Closes-Bug: #1755433
Change-Id: Ib265ac3add18027c91a601140a4f03a661603615
2018-05-30 01:52:36 -07:00
Nguyen Hai
17aedacea5 Follow the new PTI for document build
Reference:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I32256af5d8530435321e84f5dd19d8a9ce57840a
2018-05-30 15:02:54 +09:00
Nguyen Hai
060361fb11 Switch from oslosphinx to openstackdocstheme
- Change to openstackdocstheme which is a theme and extension
support for Sphinx documentation that is published to
docs.openstack.org and developer.openstack.org.
- This patch also updates README.rst

Change-Id: I5922eb9b0f5835be65a5ba3eead78bdf92458452
2018-05-29 19:43:49 +09:00
hoangphuocbk
9e3a6157f0 Move usage from deprecated Ceilometer API to Gnocchi API
This removes usage of deprecated Ceilometer API

1. Changing trigger type from "OS::Ceilometer::Alarm"
to "OS::Aodh::GnocchiAggregationByResourcesAlarm"
2. Add "resource_type" fixed with value "instance"
3. Change some paramters (meter_name-> metric,
statistic ->aggregation_method, period-> granularity)
4. Change value from "average" to "mean" in method to
compare to the threshold

Change-Id: I66f8e4c76a918494df26b4af277453e24421b917
2018-05-16 01:26:51 +09:00
melissaml
af19e0531f Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I6a351a4468fa28d31de513b32ce95a35d209cc38
2018-04-21 18:39:59 +08:00
Zuul
3f08ea4dee Merge "fix a spelling error" 2018-03-26 12:52:20 +00:00
Doug Hellmann
783848b6ef add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Ib54727bef315518ebcb6e5554911f3e76651e4c7
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 13:21:44 -04:00
OpenStack Proposal Bot
9611dff318 Updated from global requirements
Change-Id: I7754f7b9b45a9997535acb3a9f57396e28613b5f
2018-03-15 06:57:57 +00:00
wangqi
5fc4173b6d fix a spelling error
Change-Id: Ie16fd93699d979076c9031a54c6e126946cc7c82
2018-03-13 16:40:16 +00:00
OpenStack Proposal Bot
2a71a16668 Updated from global requirements
Change-Id: I3ced4465676ec2bdf01426e9dc60ff33185d0b90
2018-03-13 06:53:23 +00:00
OpenStack Proposal Bot
f105a8ab67 Updated from global requirements
Change-Id: Idf9393b55f5070b64f9037223c55d30cfb862b8d
2018-03-10 13:13:38 +00:00
OpenStack Proposal Bot
7bdc2c4c59 Updated from global requirements
Change-Id: I5339142b8ca631036f77b3e8e1d69b68ca5764f2
2018-03-04 10:03:46 +00:00
OpenStack Proposal Bot
d2ba9e0cf3 Updated from global requirements
Change-Id: Id79d492f33b1d263321c9818a1b120529007bd2a
2018-02-17 09:29:55 +00:00
Andreas Jaeger
db60b7e831 Use native Zuul v3 tox job
Import legacy heat-translator tox job as Zuul v3 job.

Change-Id: I9f945e63fe0a1a759f31c912120bfef829359fa3
2018-01-26 17:31:26 +01:00
OpenStack Proposal Bot
c089696aaf Updated from global requirements
Change-Id: I78882d59137f06c8450ebb0dbef529bf7d3bdb77
2018-01-17 20:33:45 +00:00
OpenStack Proposal Bot
a57ac0376e Updated from global requirements
Change-Id: I8ad125256418e90aec0f57d95caa5037767bcc7b
2018-01-16 04:07:00 +00:00
OpenStack Proposal Bot
2884bfae64 Updated from global requirements
Change-Id: I61a48b03ac8924b6bf343233ff9bb5768a3de8e4
2017-12-05 03:03:34 +00:00
Zuul
5caabb745e Merge "Avoid tox_install.sh for constraints support" 2017-12-04 01:44:57 +00:00
Andreas Jaeger
ed0f34e6c4 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I2a41e9c75dc58ea9a9b3ddeeee553cc14ee95c9b
2017-12-02 17:05:32 +00:00
OpenStack Proposal Bot
e263a71ca2 Updated from global requirements
Change-Id: I6f07ed18b218ede01fc8ee8dd619b73fff532250
2017-11-16 11:04:10 +00:00
Jenkins
6ebb3de3d2 Merge "Use id to identify images from Glance" 2017-10-09 17:03:42 +00:00
Jenkins
d289c1b8b9 Merge "Use image attribute if specified in os properties" 2017-10-09 17:01:09 +00:00
Jenkins
fe14b82600 Merge "Test against None" 2017-10-09 16:59:15 +00:00
OpenStack Proposal Bot
9708976cd7 Updated from global requirements
Change-Id: Ibc66bc1f714a3a1ea036130ade02bc164a119768
2017-10-04 13:34:54 +00:00
Mathieu Velten
e40b4ccfae Use id to identify images from Glance
Name can be empty or match several images

Change-Id: I5c5358d0b5fb08d91339acd7c7720db127386f42
2017-09-20 11:41:43 +02:00
Mathieu Velten
420a41d60d Use image attribute if specified in os properties
Change-Id: I1240e19a2724ed5c1a0f1ab6859539e876ae9dae
2017-09-20 11:41:05 +02:00
Mathieu Velten
3d027de030 Test against None
The current code doesn't handle correctly booleans for example

Change-Id: I06393af31305e1eea1ea8e9bd05995363101af88
2017-09-19 15:11:30 +02:00
Mathieu Velten
54cf66ae6a Ignore error if the log config file is not present
Change-Id: I3db7bb29fa04c242ff3c4437aed8ddaec45611a8
2017-09-19 14:38:16 +02:00
Jenkins
68ea2742cc Merge "When removing an empty res also remove refs to it in depends_on" 2017-09-19 06:41:17 +00:00
Jenkins
74844f97a5 Merge "Test if property is a get_input before treating it as such" 2017-09-16 15:45:34 +00:00
OpenStack Proposal Bot
998c8481f7 Updated from global requirements
Change-Id: I02a68b2acb2647b127b90fc5804a667d152a0bf7
2017-09-11 21:18:35 +00:00
OpenStack Proposal Bot
6909376948 Updated from global requirements
Change-Id: I792d81fc59deee546996313a835f36923af945fd
2017-09-01 12:36:02 +00:00
OpenStack Proposal Bot
73a8b17756 Updated from global requirements
Change-Id: Iec7baa3850250bf784496b98bd159d0394e90103
2017-08-24 11:37:57 +00:00
Mathieu Velten
eb6354ab6b When removing an empty res also remove refs to it in depends_on
Change-Id: I4cad4f29d0f9153eb966370089663b419a53dfaf
2017-08-21 11:47:17 +02:00
Mathieu Velten
b154640433 Test if property is a get_input before treating it as such
Change-Id: I353b738e728073fd197faca33b5702b95d0ab3e4
2017-08-21 11:20:19 +02:00
OpenStack Proposal Bot
0640edfa3b Updated from global requirements
Change-Id: Iba5db76547eeb9ca1db1d1844417f7efc77bec8a
2017-08-18 04:40:35 +00:00
Jenkins
3aeadae8cf Merge "Revert "Fix: nested resources cannot be given out"" 2017-08-11 13:05:01 +00:00
Jenkins
ba0675f9d8 Merge "Revert "No need to write down the nested template file"" 2017-08-11 12:59:19 +00:00
Mathieu Velten
59a65caaf5 Revert "Fix: nested resources cannot be given out"
This reverts commit 3c53dc729fb71798c7e6a6b602b368cbb4b67991.

Change-Id: I0230daa7b860f7f35ef5cd7be6e1d1a0d4547912
2017-08-11 12:52:54 +00:00
Mathieu Velten
c68ae3624d Revert "No need to write down the nested template file"
This reverts commit 9f3ed0229e059c913971e4cedfd9491dd26b5d66.

Change-Id: I787eec4e712511592d5bac8215fdec03f20432d7
2017-08-11 12:46:01 +00:00
OpenStack Proposal Bot
09a5399e40 Updated from global requirements
Change-Id: I5cc8c045d114a99bd68e57293141073ab29ac60d
2017-08-07 00:43:30 +00:00
OpenStack Proposal Bot
b0ce130477 Updated from global requirements
Change-Id: I184a1dd935310226c2c201b3eddf1dffe256a5b9
2017-07-27 20:21:25 +00:00
OpenStack Proposal Bot
f6fc481da4 Updated from global requirements
Change-Id: Ideea8d85591ff7f473340d35892e280105b3e898
2017-07-21 00:11:12 +00:00
doantungbk
9f3ed0229e No need to write down the nested template file
Method output_to_yaml_files_dict() in hot_template.py was already returned
a nested template. Tacker can use this method
to achieve the nested template. However, the nested template file still
requires to write down in Heat Translator. That made permission denied in
Tacker function test when the nested template tries to write in remote
repository. This patch will fix the above issue.

Change-Id: I3087cdc92fcab2d76566719d8a6e206e3d948523
2017-07-07 08:31:28 -07:00
OpenStack Proposal Bot
4a37a5680c Updated from global requirements
Change-Id: I52d2d6000dab76a3ab926f1a9831cd218e99b217
2017-06-27 12:10:09 +00:00
OpenStack Proposal Bot
4973b0ccc5 Updated from global requirements
Change-Id: I8b4e23dfb091a0365bea67968fcc03f6bffe81e4
2017-06-10 21:37:11 +00:00
OpenStack Proposal Bot
ce68e44876 Updated from global requirements
Change-Id: If5888639e4fd0fa5a61a443aed4c7645b2576e7d
2017-06-08 16:17:30 +00:00