Skip to content
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

Control pipeline remains active when disabled. Only stops when deleted. #43

Open
jude-adam opened this issue Nov 6, 2023 · 4 comments

Comments

@jude-adam
Copy link

The control pipeline continues running after disabled, even after a restart of Fledge.

Log after disabling pipeline and after restart (Control pipeline filter still being used)

Nov 6 15:02:09 GRIDCORE-002 Fledge south61[97423]: DEBUG: This service 'south61' has AuthenticatedCaller flag set 0 caller service is scheduler-north, type Northbound

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: INFO: Control filter pipeline 104pivotcontrol removed control request

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: iec104_pivot_filter - IEC104PivotFilter::ingest - converted Reading: ({"asset_code":"IEC104Command","user_ts":"2023-11-06 15:02:09.010429+00:00","ts":"2023-11-06 15:02:09.010429+00:00","reading":{}})

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: ERROR: iec104_pivot_filter - IEC104PivotFilter::ingest - Failed to convert Pivot operation object

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: ERROR: iec104_pivot_filter - IEC104PivotFilter::convertReadingToIEC104OperationObject - Failed to convert pivot operation object: No pivot object

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: iec104_pivot_filter - IEC104PivotFilter::ingest - original Reading: ({"asset_code":"PivotCommand","user_ts":"2023-11-06 15:02:09.010429+00:00","ts":"2023-11-06 15:02:09.010429+00:00","reading":{"PIVOTTC":"{\"GTIC\":{\"ComingFrom\":\"iec61850\", \"ApcTyp\":{\"q\":{\"test\":0}, \"t\":{\"SecondSinceEpoch\":1699282929, \"FractionOfSecond\":134217}, \"ctlVal\":7.0}, \"Identifier\":\"TS1\"}}"}})

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: Filtering control request for piepline '104pivotcontrol', {"asset_code":"PivotCommand","user_ts":"2023-11-06 15:02:09.010429+00:00","ts":"2023-11-06 15:02:09.010429+00:00","reading":{"PIVOTTC":"{\"GTIC\":{\"ComingFrom\":\"iec61850\", \"ApcTyp\":{\"q\":{\"test\":0}, \"t\":{\"SecondSinceEpoch\":1699282929, \"FractionOfSecond\":134217}, \"ctlVal\":7.0}, \"Identifier\":\"TS1\"}}"}}

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: INFO: Using shared context for control pipeline '104pivotcontrol' from 'Any' to 'Broadcast'

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: 104pivotcontrol matches pipelines for source Any to destination (ANY) Broadcast

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: Parameter: PIVOTTC is {"GTIC":{"ComingFrom":"iec61850", "ApcTyp":{"q":{"test":0}, "t":{"SecondSinceEpoch":1699282929, "FractionOfSecond":134217}, "ctlVal":7.0}, "Identifier":"TS1"}}

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: verifyURL 'scheduler-north', type 'Northbound', the ACL is not set: allow any URL from any service type

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: verifyService 'scheduler-north', type 'Northbound', the ACL is not set: allow any service

Nov 6 15:02:09 GRIDCORE-002 Fledge dispatcher[97415]: DEBUG: Service 'dispatcher' has AuthenticatedCaller flag set 1

Configuration:
pipelineissue-02

@MarkRiddoch
Copy link
Contributor

A fix for this is now in the develop branch and will be included in the next release

@MarkRiddoch
Copy link
Contributor

I beleive this issue is now resolved. Can we close this issue?

@aklira
Copy link

aklira commented Apr 12, 2024

Hi Mark, I think you can close this issue.

@FlorentP42
Copy link

This seems fixed in Fledge 2.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants