Users tab doesn't work as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Benji York | ||
landscape-client (Ubuntu) |
Fix Released
|
High
|
Andreas Hasenack | ||
Precise |
Won't Fix
|
High
|
Unassigned | ||
Trusty |
New
|
High
|
Unassigned | ||
Wily |
New
|
High
|
Unassigned |
Bug Description
Computer users tab doesn't show users anymore. For example:
https:/
On a different computer is shows only some users but not the main ones. On this computer there should be the user alex(1000) for example:
https:/
However, creating new users works and they do show up:
https:/
[Impact]
Computers registered with landscape no longer send their users list to the server, leaving the computer users tab empty. This is a regression.
[Test Case]
1. Install landscape-client on a computer (vm, lxc, etc)
2. Register with landscape.
3. On the client computer, tail -f /var/log/
4. On the server, select the client computer and go to the "users" tab.
5. With the broken version of landscape-client, the users tab will remain empty even after several exchanges. With the fixed version, that tab will populate after a few minutes.
[Regression Potential]
The feature isn't working already, so there is no new regression in that area. The patch is very localized, has unit tests and was manually tested as well.
It has been observed in a previous non-approved version of the patch that it triggered server resynchronization requests every 5 minutes for the user listing. You could say this is a potential regression², but it was caught by QA and the fix was rejected.
[Other Info]
Free trial accounts can be obtained on https:/
Sometimes you may get a false test result in the sense that the broken client will send the users list to the server, but this has been rare.
Related branches
- Alberto Donato: Approve
- Free Ekanayaka (community): Approve
-
Diff: 161 lines (+61/-13)4 files modifiedlandscape/monitor/tests/test_usermonitor.py (+22/-0)
landscape/monitor/usermonitor.py (+12/-8)
landscape/user/changes.py (+12/-5)
landscape/user/tests/test_changes.py (+15/-0)
- Chad Smith: Approve
- Free Ekanayaka (community): Approve
- Benji York (community): Approve
-
Diff: 249 lines (+64/-25)4 files modifiedlandscape/broker/client.py (+2/-2)
landscape/broker/tests/test_client.py (+11/-0)
landscape/monitor/tests/test_usermonitor.py (+44/-20)
landscape/monitor/usermonitor.py (+7/-3)
- Chad Smith: Approve
- Simon Poirier (community): Approve
-
Diff: 259 lines (+134/-5)4 files modifieddebian/landscape-client.postinst (+7/-0)
landscape/monitor/tests/test_usermonitor.py (+69/-0)
landscape/monitor/usermonitor.py (+52/-1)
landscape/user/tests/helpers.py (+6/-4)
Changed in landscape: | |
status: | New → Confirmed |
Changed in landscape: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
Changed in landscape: | |
assignee: | nobody → Fernando Correa Neto (fcorrea) |
importance: | Undecided → High |
Changed in landscape: | |
status: | Confirmed → In Progress |
tags: | added: kanban |
tags: | removed: kanban |
Changed in landscape: | |
status: | In Progress → Fix Committed |
information type: | Proprietary → Public |
affects: | landscape → landscape-client |
Changed in landscape-client (Ubuntu): | |
assignee: | nobody → Free Ekanayaka (free.ekanayaka) |
importance: | Undecided → High |
Changed in landscape-client (Ubuntu): | |
status: | New → In Progress |
assignee: | Free Ekanayaka (free.ekanayaka) → Andreas Hasenack (ahasenack) |
Changed in landscape-client: | |
status: | Fix Committed → In Progress |
Changed in landscape-client (Ubuntu): | |
status: | Fix Released → New |
assignee: | Andreas Hasenack (ahasenack) → nobody |
Changed in landscape-client: | |
milestone: | none → 13.06.1 |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
milestone: | 13.06.1 → 16.01 |
description: | updated |
tags: | added: bug-squad kanban |
Changed in landscape-client: | |
assignee: | Free Ekanayaka (free.ekanayaka) → Benji York (benji) |
Changed in landscape-client (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in landscape-client (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in landscape-client (Ubuntu Vivid): | |
importance: | Undecided → High |
Changed in landscape-client (Ubuntu Wily): | |
importance: | Undecided → High |
Changed in landscape-client: | |
status: | Confirmed → Fix Committed |
tags: | removed: bug-squad kanban |
Changed in landscape-client (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | Confirmed → In Progress |
no longer affects: | landscape-client (Ubuntu Vivid) |
Changed in landscape-client: | |
milestone: | 16.01 → 16.03 |
status: | Fix Committed → Fix Released |
tags: | added: lds-squad |
Please attach: landscape/ * from the client
- /var/log/
- /etc/nsswitch.conf from the client
- /etc/passwd from the client
- output of "sudo ls -la /etc/passwd" from the client