Subnet ID query can fail, leading to NoneType error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AWS Integrator Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Opened by johnsca on 2018-08-13 15:26:41+00:00 at https:/
-------
I'm not at all clear on how or why this might happen. First pass may be to add additional debug logging.
unit-aws-
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
request.
File "lib/charms/
_apply_
File "lib/charms/
['--tags'] + tags))
File "lib/charms/
output = subprocess.
File "/usr/lib/
**kwargs)
File "/usr/lib/
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/
restore_
File "/usr/lib/
restore_
TypeError: Can't convert 'NoneType' object to str implicitly
=======
Comment created by hatched on 2018-08-13 15:45:03+00:00
It turns out that because JAAS doesn't currently support `juju trust` I was manually adding the access/secret keys. While they keys were valid they were different keys than the ones used to deploy the model. If I used the same keys then the error goes away.
This of course is a non-issue if using `juju trust` but without it, you have to create new keys on aws, deploy the model with those, and set the config with those new credentials.