Uploaded image for project: 'Opencast'
  1. MH-12164

Updating serviceregistry config while running leaves Opencast in a non-functional state

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.3
    • Component/s: Backend Software
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:

      1. Start Opencast
      2. Update a configuration value in etc/org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.cfg
       
       Actual Results:

      After many errors in the log, Opencast continues runnning but the Admin UI endpoints like

      /admin-ng/event/events.json?filter=status:EVENTS.EVENTS.STATUS.SCHEDULED&limit=1

      fail with 404 errors so filters don't work.
       
       Expected Results:
       
      ServiceRegistry config should be updated without any other failures.

        Workaround (if any):
       
      Don't edit this file in a runnning system.

      From the log, it appears that the CM calls the updated() method, then deactivate() then activate().

      It doesn't seem necessary to deactivate then activate the component again, as the updated method can deal with any updates without further disruption.
      Show
      Steps to reproduce: 1. Start Opencast 2. Update a configuration value in etc/org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.cfg    Actual Results: After many errors in the log, Opencast continues runnning but the Admin UI endpoints like /admin-ng/event/events.json?filter=status:EVENTS.EVENTS.STATUS.SCHEDULED&limit=1 fail with 404 errors so filters don't work.    Expected Results:   ServiceRegistry config should be updated without any other failures.   Workaround (if any):   Don't edit this file in a runnning system. From the log, it appears that the CM calls the updated() method, then deactivate() then activate(). It doesn't seem necessary to deactivate then activate the component again, as the updated method can deal with any updates without further disruption.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              smarquard Stephen Marquard
              Reporter:
              smarquard Stephen Marquard
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases