Chaffelson / nipyapi

A convenient Python wrapper for Apache NiFi
Other
245 stars 76 forks source link

nipyapi.versioning.update_flow_ver: Could not find a Request with identifier ... #260

Closed whkmp-dsanchez closed 1 week ago

whkmp-dsanchez commented 3 years ago

Description

When using update_flow_ver i get the following error:

Exception has occurred: ValueError Could not find a Request with identifier d61c25cb-ac7e-4e5f-b83d-01c023f131c4 File "/Users/username/Documents/GitHub/", line 1, in

Setup is having 1 Central registry for dev and prod. In this registry i have 2 buckets; deployment-staging and deployment-production.

Thru nipyapi i export the flow from staging and import this to production. so far so good. Then after this i try to merge the flow on the production using update_flow_ver. But then i get the error above. Everytime with a different identifier. Can't seem to find out where this is coming from.

What I Did

prod_pg = nipyapi.canvas.get_process_group(prod_pg_name) nipyapi.versioning.update_flow_ver( process_group=prod_pg, target_version=None )

image

Urgency

It's not super urgent or blocking, but would like to know what is happening. So we can proceed with setting up our scripts for user testing.

Thank you very much.

Chaffelson commented 1 week ago

Closing old ticket. Please reopen if you still require assistance.