sefsigned certificate is not creating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-haproxy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When deploying revision 73 of the charm with the SELFSIGNED option the hook fails not being able to create the certificate:
root@landscapeh
Generating a RSA private key
...........+++++
.......
writing new private key to '/var/lib/
-----
Cannot write random bytes:
139901954950464
./hooks/
sysctl_dict = yaml.load(
Generating a RSA private key
........+++++
.......+++++
writing new private key to '/var/lib/
-----
Cannot write random bytes:
140448263198016
Traceback (most recent call last):
File "./hooks/
main(hook_name)
File "./hooks/
reverseprox
File "./hooks/
config_
File "./hooks/
update_
File "./hooks/
write_
File "./hooks/
f.write(
AttributeError: 'str' object has no attribute 'decode'
I was able to reproduce this bug again with this bundle: https:/
Related branches
- 🤖 Canonical IS Review Bot: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedhooks/hooks.py (+1/-1)
This has been fixed in revision 74, which has been released to the stable channel