[2.4.3] action argument with an asterisk causes "ERROR yaml: did not find expected alphabetic or numeric character"

Bug #1790226 reported by Dmitrii Shcherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

While testing a charm I tried using a wildcard syntax which includes an asterisk and that caused juju (not the charm) to return "ERROR yaml: did not find expected alphabetic or numeric character". Removing the asterisk made juju to return 0 as an exit code.

juju run-action vault/0 upload-signed-csr pem=`base64 -w0 vault.csr` root-ca=`base64 -w0 ca.crt` allow-any-name=true allow-subdomains=true allowed-domains='*.maas' --debug
17:21:13 INFO juju.cmd supercommand.go:56 running juju [2.4.3 gc go1.10]
17:21:13 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/5139/bin/juju", "run-action", "vault/0", "upload-signed-csr", "pem=LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQzJ6Q0NBY01DQVFBd2daVXhDekFKQmdOVkJBWVRBbFZUTVFzd0NRWURWUVFJRXdKRFFURVpNQmNHQTFVRQpDaE1RUm1sbGJHUkZibWRwYm1WbGNtbHVaekVaTUJjR0ExVUVDeE1RUm1sbGJHUkZibWRwYm1WbGNtbHVaekZECk1FRUdBMVVFQXhNNlZtRjFiSFFnU1c1MFpYSnRaV1JwWVhSbElFTmxjblJwWm1sallYUmxJRUYxZEdodmNtbDAKZVNBb1kyaGhjbTB0Y0d0cExXeHZZMkZzS1RDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQwpnZ0VCQU5zeHNYSndMbzJ1R3hoZG9MdFppMzlWSk1jSUFaT2RCbkgwQ1Z4VGc0R0xMNWpNTlBjRzcrUG5RNER1CjhmWVlZZEpabzd1dE1MOGx4RHNOVzdwVmFtZCtpYTA0NDRydkRXMlFIaDZ5RFRpTzVEd09IR2MzUjlEUHZwd1oKRURkWjE0YlpCbDdWZ1JZUkFva1BUNk9QVkVpOWlsNTFFMGNoZFJmY2J4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G8rNW96MWpFeUpjR0M2TDAveStMCnJNN2htb2krVFdvdGFBZ1oKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", "allow-any-name=true", "allow-subdomains=true", "allowed-domains=*.maas", "--debug"}
17:21:13 INFO juju.juju api.go:67 connecting to API addresses: [10.232.1.60:17070 10.232.6.228:17070 10.232.6.227:17070]
17:21:13 DEBUG juju.api apiclient.go:877 successfully dialed "wss://10.232.1.60:17070/model/93933e99-8037-4392-80e1-ef2f5306074d/api"
17:21:13 INFO juju.api apiclient.go:599 connection established to "wss://10.232.1.60:17070/model/93933e99-8037-4392-80e1-ef2f5306074d/api"
17:21:14 DEBUG juju.api monitor.go:35 RPC connection died
ERROR yaml: did not find expected alphabetic or numeric character

juju run-action vault/0 upload-signed-csr pem=`base64 -w0 vault.csr` root-ca=`base64 -w0 ca.crt` allow-any-name=true allow-subdomains=true allowed-domains='.maas' --debug
17:21:26 INFO juju.cmd supercommand.go:56 running juju [2.4.3 gc go1.10]
17:21:26 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/5139/bin/juju", "run-action", "vault/0", "upload-signed-csr", "pem=LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQzJ6Q0NBY01DQVFBd2daVXhDekFKQmdOVkJBWVRBbFZUTVFzd0NRWURWUVFJRXdKRFFURVpNQmNHQTFVRQpDaE1RUm1sbGJHUkZibWRwYm1WbGNtbHVaekVaTUJjR0ExVUVDeE1RUm1sbGJHUkZibWRwYm1WbGNtbHVaekZECk1FRUdBMVVFQXhNNlZtRjFiSFFnU1c1MFpYSnRaV1JwWVhSbElFTmxjblJwWm1sallYUmxJRUYxZEdodmNtbDAKZVNBb1kyaGhjbTB0Y0d0cExXeHZZMkZzS1RDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQwpnZ0VCQU5zeHNYSndMbzJ1R3hoZG9MdFppMzlWSk1jSUFaT2RCbkgwQ1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ZCQm11NWNPUTNraHFKS3FqbEhUQmwzT3EKeDJUdHZqVXRZbkRFQm1TMW82R2RydjFxeDZ5d0FhUzVxWU5peVhOSVNVWVJza3RhY1JWaDZVSWs4ZlBRblhPcQpkV2NyYzFLQmU0aENBVWwrQ1o3UTBOZGluWUM5dGFlSkVDNXpndll6eUYzcG8rNW96MWpFeUpjR0M2TDAveStMCnJNN2htb2krVFdvdGFBZ1oKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=", "allow-any-name=true", "allow-subdomains=true", "allowed-domains=.maas", "--debug"}
17:21:26 INFO juju.juju api.go:67 connecting to API addresses: [10.232.1.60:17070 10.232.6.228:17070 10.232.6.227:17070]
17:21:26 DEBUG juju.api apiclient.go:877 successfully dialed "wss://10.232.1.60:17070/model/93933e99-8037-4392-80e1-ef2f5306074d/api"
17:21:26 INFO juju.api apiclient.go:599 connection established to "wss://10.232.1.60:17070/model/93933e99-8037-4392-80e1-ef2f5306074d/api"
Action queued with id: 5ca67384-22d7-478e-8818-274db7662bd8
17:21:26 DEBUG juju.api monitor.go:35 RPC connection died
17:21:26 INFO cmd supercommand.go:465 command finished

Revision history for this message
Tim Penhey (thumper) wrote :

That is indeed very weird.

Changed in juju:
importance: Undecided → High
milestone: none → 2.4.4
status: New → Triaged
Changed in juju:
milestone: 2.4.4 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: High → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.