| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).
Change-Id: I3aed7c0b74dd64264a92f577985f8d51ebe5f96d
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.
Change-Id: I67479804e02fea28a28a446660c32a412b3ba7c4
Closes-Bug: #1277495
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cfn-init will now fail immediately if a command with the key
ignoreErrors='false' or without that key fails (eg it returns an exit
code other than 0). This is similar to what the AWS cfn-init script is
doing.
Change-Id: I41bfa36154fa8b16541a6abb489495739b772376
Closes-Bug: #1269476
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unless the parameter is provided, cfn-signal will use the instance UUID
from the Nova metadata as the id sent back to the WaitCondition.
In case the Nova metadata isn't available, it will use the hostname as a
fallback.
Change-Id: I1e5847c7babd7c6295d8c3e21f6cfa110a9b3026
Closes-bug: 1223429
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
This helps troubleshooting failures when running cfn-init.
Change-Id: I601506ab05d372307bb160b198a675f048e2e9ff
Closes-Bug: #1269470
|
|/
|
|
|
|
|
| |
This helps with debugging signal connectivity issues
Change-Id: I686f832cea0a4b397499824936df18444c7c472c
Closes-Bug: #1273010
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
logging.getLogger() was called with a wrong name in the cfn scripts. As
a result, the cfn_helper module logged everything to stderr.
Change-Id: I3447291b202887aa09b0f0cb01764708683e7821
Closes-Bug: #1269355
|
|/
|
|
|
|
|
|
| |
And fix pep8 issues discovered by hacking update. Remove dependencies
on pep8, pyflakes and flake8. They should be determined by the hacking
dependency implicitely.
Change-Id: I3fefdabcfdc09c28756f5ab0f5a99d12de2d8a3a
|
|
|
|
|
|
| |
setup.cfg is no executable code, it'S pure config.
Change-Id: Ia87fcd3e85e0d3bec53399b02496a52fb763f428
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before we would get this:
yum install a
yum install a b
yum install a b c
Now we just get
yum install a b c
Change-Id: I2067922ab03de9488a0cd4e08c8d44c00296cd6a
Closes-bug: #1235796
|
|
|
|
|
| |
Change-Id: I96e3bdc2566222fb4926e8a8f88a7f6b822e16f7
Partial-bug: #1235796
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use on-demand yum metadata caching to avoid downloading
50MB (Fedora 19) of extra metadata that is not necessary
for correct cfn-init operation.
Reduces time to orchestration by about 23% and cpu
utilization by about 50%.
Full detailed analsys in the launchpad bug.
Change-Id: Id51d6d506d6051b5e83f550ef318f86d84f3c7a7
Closes-Bug: 1235824
|
|
|
|
| |
Change-Id: I3b7082fd2c1c7c13c9d6db824f8e7011544bd7e3
|
|
|
|
|
|
|
|
|
|
|
|
| |
The -k argument can be a top-level key or a nested key in which case
the keys are separated by dots (eg "foo.bar"). In case a key contains a
dot character, it needs to be surrounded by single quotes (eg
"foo.'bar.1'.fred).
If the -k option is not provided, the command prints out the full
metadata structure as before.
Change-Id: Ib05d39672086001b83e8d7f56bc42cc4ba75751c
Fixes: bug #1183299
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
According cfn user guide, the long option of cfn-signal -e should be
--exit-code.
Fixes bug #1220080
Change-Id: Id4e9feefd387a744f5e933aa4e9ea8a6f6f02a7c
|
|/
|
|
|
|
|
|
|
| |
Add argparse into requirements.txt and heat_cfntools.egg-info
requires.txt
Fixes bug #1220071
Change-Id: I6147a8f14ac110d8dcdc1643ced5d32594322041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description of command in CFN User Guide:
Either an array or a string specifying the command to run. If you use
an array, you do not need to escape space characters or enclose
command parameters in quotes.
So we escape double quote first, and enclose each array value in
double quote.
Fixes bug #1211605
Change-Id: I28ecdb0d4b8a12690dddeac4e2398264c6d6f212
|
|
|
|
|
|
|
|
|
| |
Promote get cwd before test command running and pass cwd to test
command.
Fixes bug #1211606
Change-Id: I2e4d3258f6d591d3d0aadffcefa36487c9122023
|
|
|
|
|
|
|
|
| |
After requirements/update.py was run, the boto entry was
manually restored to:
boto==2.5.2
Change-Id: Icd43ee5e1fee473ab21d59b1a17235317f5d751c
|
|
|
|
|
|
| |
Required to pass pep8 H233.
Change-Id: I136dd2aa9fa567208a2fe1660b7a9085fde2927e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to stop creating templates with circular dependancies.
So we can change:
cfn-push-stats --watch {Ref: TheAlarm}
to:
cfn-push-stats
This makes it closer to AWS and actually better as users can add their
own dimensions via the tags.
Change-Id: I365ae57c2275a2d064075eb1b3e14aa1e418d1ee
|
|
|
|
|
|
|
|
|
|
| |
Tags are not properly implemented in nova so we pass the tags
to nova as metadata. So we now [w]get the nova metadata.
Since this is called repeatedly we cache the metadata.
We also add the nova instance id (uuid) as a guest tag.
Change-Id: I599f22fd5166e88cb3d21a71ead5f48c5c5a9269
|
|
|
|
|
|
| |
Fixes bug #1205378
Change-Id: Ie55725e04aa6045b52c33a5cdd4d2be4ac1a6cc3
|
|
|
|
|
|
|
|
| |
Github tarball and zipball support was removed in the change set to
pipe handing in sources. The changeset add it in and restructured.
Change-Id: I107f42e9961cd8776161d1f6a2efe9d103aea125
Fixes: bug #1195622
|
|
|
|
|
|
|
|
|
| |
Test cases running depends on `discover' package, but in python 2.6,
`discover' package is not there. So need to add `discover' in
test-requirements.txt.
Change-Id: I1129bc50c97861c9fca3894261ea1b831cd3f6cc
Fixes: bug #1193349
|
|
|
|
|
|
|
|
|
| |
For tgz(or tar.bz2) sources, use pipe like `wget -O -
http://www.example.com/a.tar.gz | tar -xvf -` to save disk space
usage.
Change-Id: I59663aed098e8c96d8a41b2d84200f2a1e43a927
Fixes: bug #1192135
|
|
|
|
|
|
| |
Fix the Pep8/hacking/pyflakes warnings in bin/cfn-*.
Change-Id: Ie21b3909c80d33adc712c2f3c9494d0fdbd90608
|
|
|
|
|
|
|
|
| |
Register a hook to delete the temporary directory created by sources
handler at program cfn-init exit.
Change-Id: I821195cf510d35f94b1e7656dacc0dfe308ceeb1
Fixes: bug #1191674
|
|
|
|
|
| |
Change-Id: I1d4f7f9a935d037e3b9f75f3b9627b2eaa560179
Fixes: bug #1192486
|
|
|
|
|
|
|
|
| |
Python 3.x deprecated octal literals in the form
0755. Use 0o755 instead which works at least
with Python 2.6 and newer
Change-Id: I70dc33cb674499548732408924aa2ae728e17ea3
|
|
|
|
|
|
|
|
|
| |
Add display() method to the Metadata class that prints the metadata to
standard output if the metdata has been successfully retrieved (either
from local cache or from the remote server).
Change-Id: Idf6c1aecf2a5204d7cf7fbf3c8d826f750a72785
Fixes: bug #1183298
|
|
|
|
|
|
|
| |
Similar to how other OpenStack components are built,
include a ChangeLog and AUTHORS file.
Change-Id: I28037aa3daf32e7e02dc2545ed3adf4227860d96
|
|
|
|
|
|
| |
Fixes bug 1179007
Change-Id: Iaa8a2722938d0b25df1041695f3c1c8dbf563b47
|
|
|
|
|
|
|
|
| |
This allows the user to specify an arbitrary metric in their
template, and send the number based on some data they can
generate, e.g for openshift node occupancy data
Change-Id: Iaa38614b8db3665f9fb340fd92b67b6f7a47b206
|
|
|
|
|
|
|
|
|
|
| |
From bug report:
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files and tools in the
general world are growing intelligence about them.
Change-Id: I5d3bad7654e4ce101d19b40215d8c1cc93dd9832
Fixes: Bug #1179008
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Each test run was producing 5 abandoned temp files.
Change-Id: I1c682b8e5a8782b1123b4a1bdb06dddca534e84b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes bug 1172444
Change-Id: I68d5e58f6992f7357e3bb4f72ae40d0ebe076d4b
|
|\ \ \
| |/ / |
|
| |/
| |
| |
| | |
Change-Id: I6c364240d9e336fc4f38c2f4bc1fea2ae5e91511
|
|/
|
|
| |
Change-Id: I6e567442cbc346b711b445c986095f1330131359
|
|
|
|
|
|
|
|
|
|
| |
When we don't have AWS::CloudFormation::Init in Metadata, this just
means that cfn-init cannot do anything. However, cfn-hup still has hooks
which are just scheduled to be run on any change in the Metadata.
Fixes bug #1155999
Change-Id: I21c4f2137f8045128a86278b4d90768ea97455d1
|
|
|
|
| |
Change-Id: Ibf69f99171c2c8316a0ea0a377e2fb186d5837b7
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Python 2.6, SafeConfigParser defaults to "dict", which
does not preserve section order. The testsuite was expecting
insertion order to be preserved, which is the case with
Python 2.7. According to Clint Byrum the actual code does
not worry about section ordering, so I reworked the tests
to sort sections into a welldefined order and run tests
then, which makes it pass for all Python versions.
Change-Id: Ia4e14018ae70c465b0b56d406d29fbb3c2ea280c
|