Improve registration check
Bug #1772064 reported by
Jacek Nykis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client-charm |
New
|
Undecided
|
Unassigned |
Bug Description
I have an environment where something went wrong with registration. I'm not sure how that happened but current state is:
* landscape-client is configured to run
* the system is NOT registered with LS
* the charm workload status says "System successfully registered"
I think it's to do with try_to_register function which uses sysvconfig.
If possible please improve the check so that we let users know something went wrong. Or even better retry registration on failures.
Related branches
lp://staging/~alitvinov/landscape-client-charm/Improve-reporting-lp1800687
Ready for review
for merging
into
lp://staging/landscape-client-charm
- 🤖 Landscape Builder: Needs Fixing (test results)
- Landscape: Pending requested
-
Diff: 37 lines (+17/-1)1 file modifiedhooks/common.py (+17/-1)
Changed in landscape-client-charm: | |
assignee: | nobody → Alexander Litvinov (alitvinov) |
Changed in landscape-client-charm: | |
assignee: | Alexander Litvinov (alitvinov) → nobody |
To post a comment you must log in.
Proposed patch fixes landscape- client- charm false-positive registration result with server.