-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adu-agent 1.1.0 failed to process PPR base deployment string #661
Comments
That error is iot-hub-device-update/src/inc/aduc/result.h Line 1665 in b96895b
That extended result code (ERC) is set when the "rootkeyPackageUrl" JSON Property is empty or missing in the C2D message(Cloud to Device) as can be seen here:
The C2D message is clearly missing the '''json
|
@GauravChoube, could you please share the twin of your agent? |
@jw-msft We created new deployment for PPR-Group as well as GA-Group and which mean both group has different deployment OTA with same firmware version but targeting devices are different.
@xinanqiu |
@GauravChoube, which model id did the agent report to? If you don't know about it, could you please share me ADU account & instance id and the test device id? |
Hi @GauravChoube, |
@eshashah-msft |
@eshashah-msft @jw-msft 0.8.1
1.1.0
Below screenshot of twins after upgrade to 1.1.0
|
I am facing the problem when device with version 0.8.1 or lower get update to latest adu-agent[1.1.0].
Found the problem in deployment string missing with parameter of 'rootkeypackage' url.
As this parameter mandatory for latest agent which get fail to report completion of deployment from PPR to GA.
Below is logs clearly showing error 0x80300011
Oct 1 15:55:13 vetscan AducIotAgent[5027]: 2024-10-01T15:55:13.6316Z 5027[5027] [I] ADU-Custom: Main : workflow.action: 3 [ADUC_PnP_ComponentClient_PropertyUpdate_Callback:559] Oct 1 15:55:13 vetscan AducIotAgent[5027]: 2024-10-01T15:55:13.6318Z 5027[5027] [I] ADU-Custom: OTAhealthcheck : Version[2024.10.1] not found [Is_entry_OTAHealthCheckup_File:389] Oct 1 15:55:13 vetscan AducIotAgent[5027]: 2024-10-01T15:55:13.6320Z 5027[5027] [D] Update Action info string ({"workflow":{"action":3,"id":"1aac00a9-ab06-4987-a73a-77832ceecce7"},"updateManifest":"{\"manifestVersion\":\"5\",\"updateId\":{\"provider\":\"Zoetis\",\"name\":\"Hub\",\"version\":\"2024.10.1\"},\"compatibility\":[{\"manufacturer\":\"Zoetis\",\"model\":\"Hub\"}],\"instructions\":{\"steps\":[{\"type\":\"reference\",\"detachedManifestFileId\":\"f09eaaf591e5c2d10\"},{\"type\":\"reference\",\"detachedManifestFileId\":\"fe2e28d7b8449c3f7\"}]},\"files\":{\"f09eaaf591e5c2d10\":{\"fileName\":\"zoetis.vetscan-hub.1.3.0.1727787352.updatemanifest5.json\",\"sizeInBytes\":1004,\"hashes\":{\"sha256\":\"d45tzDljvS5mD68fGS2309NXNikG\/5XbyXJG0XpcJkc=\"}},\"fe2e28d7b8449c3f7\":{\"fileName\":\"zoetis.vetscan-opticell.1.1.2.1727787352.updatemanifest5.json\",\"sizeInBytes\":1037,\"hashes\":{\"sha256\":\"FoQP8k+Ddl0+COOvOfxPcgVqjt4MQ6dOggEzWt8eRbE=\"}}},\"createdDateTime\":\"2024-09-30T12:57:59Z\"}","updateManifestSignature":null,"fileUrls":null}), property version (3) [OrchestratorUpdateCallback:433] Oct 1 15:55:13 vetscan AducIotAgent[5027]: 2024-10-01T15:55:13.6322Z 5027[5027] [E] Parse failed for unprotected properties, erc: 0x80300011[OrchestratorUpdateCallback:439] Oct 1 15:55:13 vetscan AducIotAgent[5027]: 2024-10-01T15:55:13.6323Z 5027[5027] [I] OrchestratorPropertyUpdateCallback ended [OrchestratorUpdateCallback:537]
Step to recreate
Note: I am using script handler type update to install firmware file into partition.
The text was updated successfully, but these errors were encountered: