New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 799433 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Aug 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

ChromeOS issue: device disabled, no pop-up window

Project Member Reported by marcore@chromium.org, Jan 5 2018

Issue description

ChromeOS version: 62.0.3202.97
ChromeOS device model: ASUS Chromebook Flip C302
Case#: 14432604
Customer Info: https://drive.google.com/open?id=1MkQ0oPy0Zm16-eaEvTiYZZRTm6zN6ODbIe5vZ5kM5bs

Description: the customer has disabled a device but the pop-up is not displayed and they are able to continue to use the device

Steps to reproduce: 
1. disable device in the admin console
2. wait
Current Behavior / Reproduction: 
the device is not disabled
the chrome://policy displays: “device policy not found”
https://screenshot.googleplex.com/mexnJbdbCEf

Expected Behavior: 
display disabled pop-up

Drive link to logs: https://drive.google.com/open?id=1-4fdl-Tk7ouK33M07XTxeQZGQfoAkFsc
policy:
json: https://drive.google.com/open?id=1JWRRLC2KoAQcpXgu4gDwKuSDy9Atc_MS
pdf: https://drive.google.com/open?id=1R-6tBNl_ZhAZk7jHOn-yZFhWmZqEeyKI

 
Labels: M-62
Owner: bhthompson@chromium.org
Bernie, could you help triage this issue ?
Owner: atwilson@chromium.org
Andrew, do you know whom would be best to investigate this?
Cc: atwilson@chromium.org
Owner: igorcov@chromium.org
Igor, I'm guessing what we have here is an enrolled device (ownership in install attributes) but device policy file is unreadable (maybe due to disk corruption)?

I think we should probably be handling this case with a stateful partition clear (driving device through FRE) - WDYT?
Cc: dkalin@google.com
+dkalin

Doesn't look like a disk corruption, according to logs the device went through re-enrollment on Dec 13 and the first policy fetch returned an error:
[1295:1295:1213/162459.518228:WARNING:device_management_service.cc(300)] DMServer sent an error response: 902

I'm checking why the device still managed to enroll, since the policy fetch failed.

Denis, could you help with understanding what error 902 for server means?
Status: Assigned (was: Untriaged)
Error is kPolicyNotFound. I have no idea what this means though and how that could ever happen for a newly-enrolled device, but definitely seems like this should map to an enrollment error.
The device policy fetch that fails happens after enrollment actually. It's triggered after the device is enrolled:
https://cs.chromium.org/chromium/src/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc?l=333

Also the session manager saved the policy on disk as result of enrollment process:
2017-12-13T16:24:58.770141+09:00 INFO cryptohomed[1482]: Firmware Management Parameters created.
2017-12-13T16:24:59.189751+09:00 INFO cryptohomed[1482]: Encrypted partition finalized.
2017-12-13T16:24:59.195016+09:00 INFO cryptohomed[1482]: InstallAttributes have been finalized.
2017-12-13T16:24:59.212999+09:00 INFO session_manager[1268]: [INFO:policy_service.cc(108)] Attempting to install new policy key.
2017-12-13T16:24:59.220333+09:00 INFO session_manager[1268]: [INFO:policy_service.cc(143)] Persisted policy key to disk.
2017-12-13T16:24:59.225764+09:00 INFO session_manager[1268]: [INFO:policy_store.cc(71)] Persisted policy to disk.

Hard to tell now why the next fetch after enrollment fails.

Comment 8 by ryutas@chromium.org, Jan 11 2018

The Customer(14432604) who reported about the affected device can be disabled when they moved the device to the organization “Chromebook”.
The device policy cannot be found only when the device is located in the specific organization. 

ref: 
-Organization name info.
https://drive.google.com/open?id=1WhdPKO5exTFbZGrQ0Mh24H3kkNWmzZwru-hTXxdPZmU

-Chrome policy (when the affected device is located in “Chromebook”) 
https://drive.google.com/open?id=1-efCWFrBsgsztILPyhPRvlQAULXLsEeS
*chrome://chrome shows that “Policy cache is OK” (Screenshot of Chrome policy above) 
https://drive.google.com/open?id=1mV7Id-i6DHwI8havm7l_Qg7_I5tVGrHF


-Chrome policy (when the affected device is located in the specific organization) 
https://drive.google.com/open?id=1i0J--l5KS601rfg3AYTLZN8I7oo8xjqw
*chrome://chrome still shows that “device policy not found” (Screenshot of Chrome policy above) 
https://drive.google.com/open?id=1VU-pj7ZwcTBVbZSkuJanXQIrAtohZivX


Please let me know if there is any updates I can provide to the customer and please also let me know if you have any additional questions. 

Comment 9 by ryutas@chromium.org, Jan 19 2018

igorcov@
the customer has reported and commented "This issue was resolved by deprovisioning the old Chromebook which he purchased in January 2017 with a cancelled license."

Comment 10 by yban@chromium.org, Jan 19 2018

I will be glad if you could let us know if the reported behavior is an expected behavior in this situation.
Any information I can update to the customer will be truly appreciated.
Cc: ryutas@chromium.org
I don't understand what the situation is. ryutas@ can you clarify? They bought a chromebook in Jan 2017, but was it provisioned or not? If the license was "cancelled" what does it mean to deprovision it? I guess I don't 100% understand all of the states under which a license can be, but if you've "cancelled" a license such that the device is no longer managed, then of course you can't put it in device disabled mode - it's not managed!

Dennis, can you clarify what you think was going on here in eng-speak? But at this point I'm pretty sure this is WAI.

Comment 12 by yban@google.com, Jan 25 2018

atwilson@
I would like to clarify the situation.

Customer has 3 Chromebooks (Chromebook A, Chromebook B, Chromebook C).

First, he bought Chromebook A and one license on January 2017 and cancelled the license without deprovisioning the device.

After that, customer bought Chromebook B and Chromebook C and provisioned them successfully.

However, when trying to disable Chromebook B, the configuration to disable the device was not pushed into the device. After moving Chromebook B to a different OU, the configuration was pushed into the device and it was successfully disabled. 

Lastly, this issue was resolved by deprovisioning the Chromebook A. Chromebook B can be disabled in any OU.

Cc: -dkalin@google.com mdrasner@chromium.org igorcov@chromium.org
Owner: dkalin@google.com
+mdrasner

Matt, what does it mean to "cancel the license without deprovisioning the device"?

At this point, this is either customer confusion, or a server-side issue - only Dennis can confirm what happened on the server, so reassigning to him.

Comment 14 by yban@chromium.org, Jan 31 2018

Customer would like to know if the behavior is an expected behavior and the Admin console is working as intended.
Please let me know if there are any updates regarding this case.
Thank you for your help.
I'd suggest reaching out to dkalin@ directly via chat if you want an update - this probably isn't on his radar.
Status: Archived (was: Assigned)
Resolving the old bug. It looks like the policy was not applying to the device so the disabled signal was not received. The SLA for policy is 24 hours.

Sign in to add a comment