thrukadmin.passwd file shows bytestring on Bionic
Bug #1942630 reported by
Drew Freiberger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thruk Master Charm |
Fix Released
|
Medium
|
Diko Parvanov |
Bug Description
When installing thruk-master on a bionic system, the thrukadmin password ends up having the byte-string wrapper and \n encoded as part of the actual password.
ubuntu@
b'JG2CrQzRZB9Cs
ubuntu@
When logging into the web interface, you then must include the b' and \n' parts of this password to login.
This variable should be decoded properly in the code when python3 is the default python version.
Related branches
~dparv/charm-thruk-master:fix_password_generation
- James Troup (community): Needs Fixing
- BootStack Reviewers: Pending requested
-
Diff: 80 lines (+7/-8)3 files modifiedhooks/actions.py (+3/-7)
hooks/install.real (+1/-1)
hooks/services.py (+3/-0)
Changed in charm-thruk-master: | |
assignee: | nobody → Diko Parvanov (dparv) |
Changed in charm-thruk-master: | |
status: | Confirmed → Fix Committed |
Changed in charm-thruk-master: | |
status: | Fix Committed → Fix Released |
milestone: | none → 21.10 |
To post a comment you must log in.
also happens on fresh trusty deployments.