<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tests/cloud_tests, branch 20.1</title>
<subtitle> (mirror of https://github.com/marekm72/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=20.1</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=20.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/'/>
<updated>2020-02-13T20:11:17+00:00</updated>
<entry>
<title>azurecloud: fix issues with instances not starting (#205)</title>
<updated>2020-02-13T20:11:17+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2020-02-13T20:11:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=ecffd25df840277ab1fa7d5372659abe833cacbe'/>
<id>urn:sha1:ecffd25df840277ab1fa7d5372659abe833cacbe</id>
<content type='text'>
The azurecloud platform did not always start instances
during collect runs.  This was a result of two issues. First
the image class _instance method did not invoke the start()
method which then allowed collect stage to attempt to run
scripts without an endpoint.  Second, azurecloud used the
image_id as both an instance handle (which is typically
vmName in azure api) as well as an image handle (for image
capture).  Resolve this by adding a .vm_name property to
the AzureCloudInstance and reference this property in
AzureCloudImage.

Also in this branch

- Fix error encoding user-data when value is None
- Add additional logging in AzureCloud platform
- Update logging format to print pathname,funcName and line number
  This greatly eases debugging.

LP: #1861921</content>
</entry>
<entry>
<title>util: rename get_architecture to get_dpkg_architecture (#173)</title>
<updated>2020-01-16T18:30:12+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2020-01-16T18:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=651e24066ba4b9464c7843553f60d17a459cf06e'/>
<id>urn:sha1:651e24066ba4b9464c7843553f60d17a459cf06e</id>
<content type='text'>
This makes it clearer that we should only use this in code paths that
will definitely have dpkg available to them.

- Rename get_architecture -&gt; get_dpkg_architecture
- Add docstring to get_dpkg_architecture</content>
</entry>
<entry>
<title>ssh_auth_key_fingerprints_disable test: fix capitalization (#165)</title>
<updated>2020-01-10T14:56:03+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-01-10T14:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=3f6192b39894761e8ddecefa3736ea0abbc35b90'/>
<id>urn:sha1:3f6192b39894761e8ddecefa3736ea0abbc35b90</id>
<content type='text'>
Adapt the test to the new capitalization introduced in
8116493950e7c47af0ce66fc1bb5d799ce5e477a.</content>
</entry>
<entry>
<title>modules: drop cc_snap_config config module (#134)</title>
<updated>2019-12-20T20:34:30+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2019-12-20T20:34:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=c7dca877c1fa3dc8b63486bb88022ee23a31bebe'/>
<id>urn:sha1:c7dca877c1fa3dc8b63486bb88022ee23a31bebe</id>
<content type='text'>
cloud-init has moved to cc_snap module and a top-level
config key 'snap'. cc_snap_config was deprecated in
cloud-init version 18.2

Co-authored-by: Daniel Watkins &lt;daniel@daniel-watkins.co.uk&gt;
</content>
</entry>
<entry>
<title>cc_snappy: remove deprecated module (#127)</title>
<updated>2019-12-20T00:00:27+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2019-12-20T00:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=87f2cb0acc7e802f93fa71ff3432dfd6708717ca'/>
<id>urn:sha1:87f2cb0acc7e802f93fa71ff3432dfd6708717ca</id>
<content type='text'>
* cc_snappy: remove deprecated module
* cloud_tests: remove cc_snappy tests (and references)

This module was deprecated in favor of cc_snap in cloud-init v.18.2</content>
</entry>
<entry>
<title>cloud_tests: add azure platform support to integration tests</title>
<updated>2019-11-26T18:36:00+00:00</updated>
<author>
<name>ahosmanmsft</name>
<email>ahosman@microsoft.com</email>
</author>
<published>2019-11-26T18:36:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=aa3e4961ceae5a5c5b5cf13221b5f6721991fe75'/>
<id>urn:sha1:aa3e4961ceae5a5c5b5cf13221b5f6721991fe75</id>
<content type='text'>
Added Azure to cloud tests supporting upstream integration testing.

Implement the inherited platform classes, Azure configurations
to release/platform, and docs on how to run Azure CI.
</content>
</entry>
<entry>
<title>cloud_test/lxd: Retry container delete a few times</title>
<updated>2019-10-11T16:52:13+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2019-10-11T16:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=823708ea031290c864e3aef67f60f6eb495f281d'/>
<id>urn:sha1:823708ea031290c864e3aef67f60f6eb495f281d</id>
<content type='text'>
LXD integration tests fail sometimes due to failure to delete the
container, usually related to ZFS backend.  This is a transient
issue unrelated to the test itself.  Teach LXD platform to retry
this a few times before returning an error.
</content>
</entry>
<entry>
<title>cloud_tests: updates and fixes</title>
<updated>2019-07-18T19:53:50+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2019-07-18T19:53:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=a02c0c9aa24a16f1983a81fe5dbfadac3d7e0ad3'/>
<id>urn:sha1:a02c0c9aa24a16f1983a81fe5dbfadac3d7e0ad3</id>
<content type='text'>
- Update paramiko and cryptography module versions (2.4.2) to
  address issues with algo and deprecation warnings.
- Modify ssh keypair generation to work with updated paramiko
- tools/xkvm sync with newer version from curtin
- Update NoCloudKvm instance.py to work with updated xkvm
  - pass -name to instance, useful for debugging on shared host
  - Add cache_mode platform config; default to cache=none,aio=native
- Switch to yaml.safe_load() in platforms.py
</content>
</entry>
<entry>
<title>tests: add Eoan release</title>
<updated>2019-05-09T18:05:25+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>pl@ninthfloor.org</email>
</author>
<published>2019-05-09T18:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=ce5fe3a20e86c4745d0310bb9c344d1344d9684c'/>
<id>urn:sha1:ce5fe3a20e86c4745d0310bb9c344d1344d9684c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cloud_tests: fix apt_pipelining test-cases</title>
<updated>2019-04-01T14:24:26+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2019-04-01T14:24:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=47c53002ea7a661c674c3e409357db7e8a00297a'/>
<id>urn:sha1:47c53002ea7a661c674c3e409357db7e8a00297a</id>
<content type='text'>
The apt_pipelining test-cases were broken but until cloud-init
changed it's default behavior to not disable, these silently passed
as both only ever checked if pipelinging was disabled.

First, the tests used the 'apt' namespace, which is not for
configuring pipelining, rather that requires 'apt_pipelining'
 as the namespace.

Second, the 'os' variant needs to check that cloud-init does not
write a configuration file; it was a copy-and-paste error from the
disable test-case.

This branch fixes the config and collection to validate both
scenarios.
</content>
</entry>
</feed>
