Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11028

Handle controller service 'Scheduled State' after upgrade to NiFi 1.16

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.0
    • 1.20.0
    • NiFi Registry
    • None

    Description

      It is not possible to revert local changes on an upgraded flow if the controller services are enabled. The following error is reported: "Cannot modify Controller Service configuration because it is currently enabled. Please disable the Controller Service first."

      The "Scheduled State" of a controller service was not stored prior to 1.16.
      When NiFi is upgraded from an earlier version to 1.16, the stored "Scheduled State" of  controller services in the flow is "null", while the actual (local) scheduled state is ENABLED/DISABLED (both is mapped to DISABLED at comparison).

      When "Revert local changes" is selected, the "Scheduled State" change is noted as a difference between the proposed and currently loaded flow. 

       

      Controller Service 10f21a4c-194f-34c2-8cfc-97892f73d3ec has a Scheduled State of null in Proposed Flow but DISABLED in Currently Loaded Flow

      Since it's considered a local change, the controller service is not disabled before the flow is synchronized and when synchronization takes place, the "Cannot modify Controller Service configuration because it is currently enabled. Please disable the Controller Service first." occurs.

       

       

      Attachments

        Activity

          People

            kzsihovszki Zsihovszki Krisztina
            kzsihovszki Zsihovszki Krisztina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h