Skip to content

Test acceptance of x-shellscript as cloud-config.#290

Merged
raharper merged 5 commits into
canonical:masterfrom
garloff:tolerate-more-cconfig-mimetypes2
Mar 31, 2020
Merged

Test acceptance of x-shellscript as cloud-config.#290
raharper merged 5 commits into
canonical:masterfrom
garloff:tolerate-more-cconfig-mimetypes2

Conversation

@garloff
Copy link
Copy Markdown
Contributor

@garloff garloff commented Mar 30, 2020

Don't pull just yet -- this is the testcase first, adding the fix as second step (TDD).
So this will fail the CI and the subsequent patch should fix it ...

Test case from Ryan Harper in discussion of PR#234
(#234).
This should demonstrate that cloud-init (without the subsequent
patches) will fail to accept multipart user-data documents
with the cloud-config piece (mis)declared as text/x-shellscript.

This happens on old heat on OpenTelekomCloud.

Let's watch this fail the CI and then add the fix ...

Signed-off-by: Kurt Garloff kurt@garloff.de

Test case from Ryan Harper in discussion of PR#234
(canonical#234).
This should demonstrate that cloud-init (without the subsequent
patches) will fail to accept multipart user-data documents
with the cloud-config piece (mis)declared as text/x-shellscript.

This happens on old heat on OpenTelekomCloud.

Let's watch this fail the CI and then add the fix ...

Signed-off-by: Kurt Garloff <kurt@garloff.de>
garloff added 3 commits March 30, 2020 19:19
This patch if from Ryan Harper (inspired by my bug report and a
suggestion from Scott Moser) from the discussion on PR canonical#234.

cloud-init would not accept unexpected mime-types in multipart user-data
for the cloud-config piece before; now it does. Problem was observed
and reproduced with old heat on OTC and is now fixed.

Signed-off-by: Kurt Garloff <kurt@garloff.de>
@garloff garloff marked this pull request as ready for review March 31, 2020 06:14
@garloff
Copy link
Copy Markdown
Contributor Author

garloff commented Mar 31, 2020

This is ready for review now.
Test case is run and passes the CI.

@raharper raharper merged commit d00126c into canonical:master Mar 31, 2020
@garloff
Copy link
Copy Markdown
Contributor Author

garloff commented Mar 31, 2020

Thanks, Ryan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants