373 Commits

Author SHA1 Message Date
Jenkins
204ad14918 Merge "Add heat contribution guidelines" 2016-02-18 04:25:01 +00:00
Jenkins
4ac615d906 Merge "Fix a grammatical mistake of the example online." 2016-02-15 07:21:11 +00:00
Jenkins
a6bd36a57d Merge "Restrict update/replace of resource" 2016-02-09 22:51:30 +00:00
Sergey Kraynev
caee342ea3 Add note about template format for url reference
Change-Id: I0a5e00547486d4c62bc07c2f734afc21175bef5e
2016-02-09 08:41:35 +00:00
Rabi Mishra
311e597b3c Restrict update/replace of resource
Restricts update/replace of resource based on
environment 'restricted_actions' entry for a resource.

This also adds a 'preview_update' method to Resource
class which is now leveraged by stack-preview.

Change-Id: Iea80a6572aa696ee607682e5113204d1c82389fa
Blueprint: stack-update-restrict
2016-02-09 10:30:11 +05:30
zhaozhilong
39b2ea7566 Fix a grammatical mistake of the example online.
Yaml don't support a value define like %value%.
For this reason,the example online can't run successfully.


 Closes-Bug: #1542591

Change-Id: I0c4adb467fba71a43b2250c1527f198de744dcf3
2016-02-09 02:02:53 +00:00
venkatamahesh
01ba9c837a Fix some word spellings
Change-Id: Id6369862fc0e0562cb1eff712f54d7ea8a6a70c6
2016-02-03 13:19:25 +05:30
dixiaoli
4c69deacf1 Fix software configuration doc
In file software_deployment.rst L437, it should be 'get_param' instead of
'get_resource'.

Change-Id: I9d218dc19cf9108008af8f6c4008e2f5dc7de43f
2016-01-27 17:31:37 +08:00
Rabi Mishra
a47cdc585b Add heat contribution guidelines
This includes contribution guidelines for blueprints/specs
and 'spec-lite'.

Change-Id: I85106d2a3d68306b5d373b44d97473707d94a572
2016-01-22 13:46:18 +05:30
Jenkins
aa18edab61 Merge "Fix for the deprecated library function" 2016-01-22 05:41:50 +00:00
Andreas Jaeger
eaca2f4884 Update links for CLI Reference
The CLI Reference content has been updated and links have changed,
update references.

Change-Id: I4f27aea44ffa7a186ea69a6b4dab02d97e4e8663
2016-01-16 18:09:32 +01:00
Yatin Kumbhare
d341129e6d Fix for the deprecated library function
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.

Closes-Bug: #1529836

Change-Id: I91e44e4d59ae6a6ea7d1aa6fa2b673f1ba230d45
2016-01-13 22:16:59 +05:30
Thomas Herve
4f3246db45 Event transport
Implement a new mechanism to allow specifying a target in the
environment to send events to. It adds zaqar as the first
implementation.

Depends-On: Ie04f9204f3ba0f75de32253f096f439c512cddee
Change-Id: Icfc3864e08693cb4b4f921641af380b39bcf0bc0
2016-01-05 10:22:57 +01:00
Javeme
eb68e1f55e remove the mutable default arguments "[]" or "{}"
remove the default arguments "[]" or "{}" when the function is defined.
ref: http://docs.python-guide.org/en/latest/writing/gotchas/

Change-Id: I93de22c6b3a48c3a0e6365756f8b6b5839844826
2015-12-16 16:48:51 +08:00
Jenkins
0c1914de63 Merge "Fix tox -e docs build in py3" 2015-12-03 09:39:07 +00:00
tengqm
5878314987 Fix some line wrap problems in doc
According to RST doc guidelines, we should avoid line length beyond 79
characters:
http://docs.openstack.org/contributor-guide/rst-conv/gen-guidelines.html

Change-Id: I51332f92cbdfd5319e9a0209b2436df716ca2311
2015-12-02 08:47:39 -05:00
tengqm
8b1fc0dab5 Fix tox -e docs build in py3
The current script doesn't work under py3. It is using some features
that are deprecated in py3. This patch fixes it.

Change-Id: I475ebd721c5a49a96f86450d4972ea21a42a50b7
Closes-Bug: #1521837
2015-12-01 22:14:04 -05:00
Martin Oemke
c3aa0d1ddc Fix Template Version in Hot-Guide
Change-Id: I0eb8e7355b3d0cdeedf84623e2710a5acd77ebe6
2015-11-27 17:20:14 +01:00
Thomas Herve
63c3378b4f Fix wait condition doc sample
The snippet used to demonstrate wait conditions was incorrect, as it was
trying to use get_attr on the data attribute, which is a string and not
a mapping. Fn::Select can be used to handle it.

Change-Id: Ic9083087a155a37b85c36c0c0cbb53b654fd8b5c
2015-11-24 09:28:52 +01:00
Sergey Kraynev
88b76ab32a Add references on template versions in documentation
Change-Id: Id8a91483e1abf578542ff177fbfc270acafdb60a
2015-11-23 08:26:14 -05:00
Jenkins
dc21480a46 Merge "Deprecate heat-keystone-setup" 2015-11-17 19:41:23 +00:00
Ethan Lynn
267a4f076b Deprecate heat-keystone-setup
Keystone shell is deprecated in this release, use openstack client
in heat-keystone-setup. And add a deprecation warning to this
script.

Change-Id: I11334f0c8b035723a11f42bcfea054fc358a3e9f
Closes-Bug: #1460884
2015-11-13 10:28:42 +08:00
Bertrand Lallau
ef5a2976b2 Update instructions to generate GMR error reports
Guru Meditation Reports (GMR) code in oslo.reports was recently updated
to expect SIGUSR2 as opposed to SIGUSR1, because it is reserved by
Apache 'mod_wsgi' for its own use.

[1] https://review.openstack.org/#/c/223133/ -- guru_meditation_report:
    Use SIGUSR2 instead of SIGUSR1

Change-Id: I4dbf1a11d3737c4a8444b3a79de824acecb56d7d
2015-11-04 13:38:17 +01:00
Jenkins
9755629750 Merge "Implement new map_merge intrinsic function" 2015-10-22 13:07:02 +00:00
ricolin
11c69696ac replace git protocol by https
It will better to clone with https as "HTTPS works practically everywhere"
and 9418 port is blocked by many corporate firewalls.

Change-Id: I27edb8919af8ca3617bb50a305edfe7bbbe96836
2015-10-22 10:06:05 +08:00
Dan Prince
7f8e92ee00 Implement new map_merge intrinsic function
Adds a new map_merge function for Mitaka which can be used
to merge maps. Values in latter maps override those in earlier
ones.

Also, creates a new HOT template version for Mitaka which includes
the new map_merge function.

Implements: blueprint map-merge-function
Change-Id: I2bdfc70d04a4fa14cefcf928ea5947fbe7529cf9
2015-10-21 19:33:18 -04:00
ricolin
35047c131f Replace github with openstack git repo
git.openstack.org is our official server, github is just a
read-only mirror.

Linking to github might also raise the expectation that we use the usual
github workflow which is not the case.

Change-Id: I3b3e8213c264757838c8e5fd33221eebf219cdc8
2015-10-21 09:51:40 +08:00
Jenkins
205b163d08 Merge "Fix [H405] pep rule in doc/source" 2015-10-09 10:00:39 +00:00
Peter Razumovsky
00b2c9da15 Fix [H405] pep rule in doc/source
Implements bp docstring-improvements

Change-Id: I8a90a6fa677a89135cfad13984280e8fb94e8b0c
2015-10-08 15:13:52 +03:00
Hironori Shiina
e77c268e8c Fix typo in document
Fix 'anwsers' to 'answers'.

Change-Id: I3f876a023352362ce6495f1516f7a76330efe2a7
2015-10-08 04:12:22 +00:00
Steve Baker
98f687c1bc Organise doc links for Operating Heat
The second section of doc links is aimed at operators, so existing
content which affects operators has been moved here (package based
install, scaling, service man pages).

The yum/apt install pages have been simplified to point at
docs.openstack.org and any other community based installation resources
(RDO, Juju charms).

Change-Id: I3e89a288bf6b64ba286c11df1369e073d2c2a35e
2015-10-06 11:38:14 +13:00
Steve Baker
a2d1b7ee38 Aim first doc link list at end users
This change renames the first doc link section Getting Started to
Using Heat and makes the content relevant to end users of Heat.

End users author templates, create stacks, and use the heat CLI.
They are not necessarily interested in installing heat from packages or
devstack.

This change breaks out the basic create-stack content into its own page
and links to that from the first Using Heat contents list. The rest of
the getting started content is moved to the Developers section for now,
pending later changes aimed at developers and operators.

Change-Id: I79988e08864c5a87ebc4f8f5a39102d50b26f748
2015-10-06 11:38:14 +13:00
Steve Baker
3d440cd0dc Align the docs intro text with the old wiki page
This landing page is now aimed at users, operators and developers
(instead of just developers).

This change rewrites the intro section to also cover points made
in the old wiki landing page [1] which needs to be deprecated with
a link to this page instead.

[1] https://wiki.openstack.org/wiki/Heat

Change-Id: I452807a2d9a8821c4a81d63eb8e824e04b344ef5
2015-10-06 11:25:09 +13:00
Steve Baker
80ac4e3b0a Align update_policy section heading with HOT
Change-Id: I88f864b3a8624deafbf852c9cebe0cbf01f01821
2015-10-05 09:47:42 +13:00
huangtianhua
75048514a4 Add mitaka version '6.0.0' in doc
Change-Id: I55ab9dad186e757234f2e9e9f4eb28ac56d179ba
2015-09-25 16:40:00 +08:00
Dmitry Tyurnikov
1bb37b6857 Some lambda were replaced on def
Always use a def statement instead of an assignment statement that binds
a lambda expression directly to an identifier.

Yes:
def f(x): return 2*x

No:
f = lambda x: 2*x

https://www.python.org/dev/peps/pep-0008/

Change-Id: I776b80bb4bc2184125f461c801897f84d3f29254
2015-09-23 11:35:29 +01:00
Mark Vanderwiel
6b837a85ff Add table of custom constraints to hot spec
Added a generic sphinx extension to allow text from a file to
be pulled into the documentation in simple table format.
It allows flexibility to be used for other types of
list of heat configuration data in the future.

Change-Id: I96c936df3bc42c385e73a8dc76c0f9a29e17ea3f
Closes-Bug: #1453718
2015-09-18 18:53:16 -05:00
Steven Hardy
66f4178d28 Allow map/list items for str_replace
Currently any attempt to substitute placeholders using data from a
json/map or list parameter/attribute results in an error, which is
inconvenient if you wish to provide such data to an instance, e.g
so it can be used in a script via jq/python or whatever.

So, tolerate non-string parameter values, and attempt to serialize
them as json, then substitute the resulting json strings.

Change-Id: I362cc76ac3f68d4649a62459455c0dcae2dcd25d
Closes-Bug: #1489028
2015-09-16 19:07:18 +01:00
Jenkins
b8fb5c61e7 Merge "Allow map/list items for list_join" 2015-09-16 17:20:42 +00:00
Steven Hardy
ec2fd65174 Allow map/list items for list_join
Currently any attempt to join json/map or list parameters/attributes
results in an error, which is inconvenient if you wish to join
several paramters/attributes into a single string that may be easily
consumed in an instance (e.g by splitting each element on a delimiter
then using jq or python to process the json).

So, tolerate non-string list items, and attempt to serialize them
as json, then join the resulting json strings.

Partial-Bug: #1489028
Change-Id: I699fa2ec43d173fff1f06887aaa80e3fbac8d668
2015-09-16 00:35:05 +00:00
Jenkins
967528cc6b Merge "Enable ceilometer services using new plugin model" 2015-09-15 11:25:04 +00:00
venkatamahesh
ef2c4f9c1c Enable ceilometer services using new plugin model
when we enable ceilometer using plugin model, by default
all ceilometer services are enabled. so I replaced the
lines which will enable services with ceilometer
plugin model

Change-Id: I9a048f970441809d5062a59002c36e5c2ad2c667
Closes-Bug: #1494581
2015-09-14 14:39:36 +05:30
Ethan Lynn
d6b618be55 Add command to clean dead engine from service list
Add command 'service clean' to remove dead engines
from service list.

Closes-Bug: #1495374
Change-Id: I644eee717f8e76ab9d5d7d6847442740ea201e6b
2015-09-14 16:59:18 +08:00
Jenkins
b878014c1b Merge "Fix syntax in "Heat Orchestration Template (HOT) specification"" 2015-09-14 01:28:53 +00:00
Jenkins
9737eecbfb Merge "Fix url for image in getting_started doc" 2015-09-13 23:01:31 +00:00
Christian Berendt
3e2b480cf8 Fix syntax in "Heat Orchestration Template (HOT) specification"
Change-Id: I603099a13ddef26c6cd6fb1810e71b9cd63028e8
2015-09-13 20:08:53 +02:00
Peter Razumovsky
603745a8fd Fix url for image in getting_started doc
Current url for image is incorrect (doesn't exists),
so change it to correct, which satisfies specified image
in aws loadbalancer hardcoded template.

Change-Id: Ibdb9d421258cc8de866bafda09dc6f56fd29ba34
Closes-bug: #1494603
2015-09-11 10:05:46 +03:00
Steven Hardy
8bbb4f2970 Clarify hot_spec description of latest HOT version
Aligns the wording with previous summary blocks and highlights the
addition of the str_split function.  Also clarifies the new
support for multiple lists for list_join, which is new for liberty.

Change-Id: I3ed8f38e3246ac5407233204deee9569d0ef190f
2015-09-10 09:19:47 +01:00
Jenkins
6b1a76e5a1 Merge "Add immutable parameter for schema in pluginguide" 2015-09-09 23:58:20 +00:00
Jenkins
212c0fccc0 Merge "Change revision to version in heat-manage db_version command" 2015-09-09 09:36:12 +00:00