cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Summary

When the lightweight Kubernetes agent uploads an inventory file to a beacon, the agent's logging incorrectly suggests the upload has failed if the beacon returns an HTTP 201 CREATED status code.

Despite this, the inventory is actually successfully uploaded.

Details

Logging from the lightweight Kubernetes agent shows details similar to the following when this issue occurs:

lwk 2021-11-24T17:19:24.384104218Z INFO – inv: producing initial inventory
lwk 2021-11-24T17:19:24.42259509Z INFO – inv: uploading k8s-inventory-1e0369a0-20211124T171924.ndi
lwk 2021-11-24T17:19:32.490747497Z ERROR – inv: error producing inventory: inv: failed upload: upload: bad status code 201: 

Despite the logging referring to a "failed upload", the status code 201 can generally be trusted to indicate a successful upload.

Fix details

This issue has been fixed by updating the lightweight Kubernetes agent to correctly handle HTTP status codes representing success.

 

Fix status

This issue has been fixed in the following FlexNet Manager Suite releases: 2021 R1.4 / Mar 2022 (Cloud), 2022 R1 (On Premises)

Other information

Affected components: Agent, Containers, Inventory

Master issue ID: IOJ-2233879

Also known as: FNML-74782

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jun 12, 2022 03:52 AM
Updated by:
Knowledge base article header content