You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
vaclient was updated to use the new "instance only" REST api calls (see "What's Changed" section of release notes). These calls are not supported by older versions of the service so vaclient will fail as follows:
./vaclient/vaclient.sh run object_detection/person_vehicle_bike https://github.com/intel-iot-devkit/sample-videos/blob/master/person-bicycle-car-detection.mp4?raw=true
<snip>
Starting pipeline object_detection/person_vehicle_bike, instance = 1
Got unsuccessful status code: 400
"Invalid Pipeline or Version"
Error in pipeline, please check pipeline-server log messages
Sever log from v0.7.0 or earlier will show the following
vaclient has started the pipeline successfully and it will run to completion, it's the status call that has failed.
The simplest workaround is ensure vaclient and the service are using the same container version.
Any client, such as vaclient, that has been updated to use the new "instance only" call (GET /pipelines/status/{instance_id}) will fail in a similar way. As a workaround update client to use legacy status call (GET /pipelines/{name}/{version}/{instance_id}/status) if "instance only" call fails.
For vaclient, this can be done by updating get_pipleline_status as follows. More elegant solutions are possible.
whbruce
changed the title
vaclient incompatible with older versions of the service
vaclient incompatible with v0.70 and older versions of the service
Aug 18, 2022
whbruce
changed the title
vaclient incompatible with v0.70 and older versions of the service
Client incompatible with v0.70 and older versions of the service
Aug 18, 2022
whbruce
changed the title
Client incompatible with v0.70 and older versions of the service
v0.7.1 client incompatible with v0.70 and older versions of the service
Aug 18, 2022
whbruce
changed the title
v0.7.1 client incompatible with v0.70 and older versions of the service
v0.7.1 client incompatible with earlier versions of the service
Aug 18, 2022
vaclient was updated to use the new "instance only" REST api calls (see "What's Changed" section of release notes). These calls are not supported by older versions of the service so vaclient will fail as follows:
Sever log from v0.7.0 or earlier will show the following
vaclient has started the pipeline successfully and it will run to completion, it's the status call that has failed.
The simplest workaround is ensure vaclient and the service are using the same container version.
Any client, such as vaclient, that has been updated to use the new "instance only" call (
GET /pipelines/status/{instance_id}
) will fail in a similar way. As a workaround update client to use legacy status call (GET /pipelines/{name}/{version}/{instance_id}/status
) if "instance only" call fails.For vaclient, this can be done by updating get_pipleline_status as follows. More elegant solutions are possible.
The text was updated successfully, but these errors were encountered: