Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38668

Return a valid error message to UI when initial refresh isn't finished

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • XDCR
    • None
    • Untriaged
    • No

    Description

      When XDCR starts up, it now will need to wait for the first refresh to finish before a pipeline can be created.
      The UI message isn't clear - the correct log message needs to be populated to the UI

      2020-04-07T20:09:14.409-07:00 ERRO GOXDCR.RemClusterSvc: Refresh err The initial reference update hasn't finished yet, refresh is not enabled
      2020-04-07T20:09:14.409-07:00 WARN GOXDCR.RemClusterSvc: Error occured while doing refresh during getting remote cluster reference for 32a5a3fe83d9f903bcf55ade47abaa6f: The initial reference update hasn't finished yet, refresh is not enabled
      2020-04-07T20:09:14.409-07:00 ERRO GOXDCR.PipelineMgr: Error validating remote cluster with uuid 32a5a3fe83d9f903bcf55ade47abaa6f for pipeline 32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1. err=Invalid remote cluster. Failed to resolve address for "". The hostname may be incorrect or not resolvable.
      2020-04-07T20:09:14.409-07:00 ERRO GOXDCR.PipelineMgr: Failed to update pipeline 32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1, err=pipelineMgr.validatePipeline(32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1) : Invalid remote cluster. Failed to resolve address for "". The hostname may be incorrect or not resolvable.
      2020-04-07T20:09:14.409-07:00 ERRO GOXDCR.PipelineMgr: Update of pipeline 32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1 failed with errors=pipelineMgr.validatePipeline(32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1) : Invalid remote cluster. Failed to resolve address for "". The hostname may be incorrect or not resolvable.
      2020-04-07T20:09:14.409-07:00 INFO GOXDCR.PipelineMgr: Replication 32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1 update experienced error(s): pipelineMgr.validatePipeline(32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1) : Invalid remote cluster. Failed to resolve address for "". The hostname may be incorrect or not resolvable.. Scheduling a redo.
      2020-04-07T20:09:14.409-07:00 INFO GOXDCR.PipelineMgr: Replication status is updated with error(s) pipelineMgr.validatePipeline(32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1) : Invalid remote cluster. Failed to resolve address for "". The hostname may be incorrect or not resolvable., current status=name={32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1}, status={Pending}, errors={[{"time":"2020-04-07T20:09:14.409180369-07:00","errMsg":"pipelineMgr.validatePipeline(32a5a3fe83d9f903bcf55ade47abaa6f/standard_bucket_1/standard_bucket_1):Invalid remote cluster. Failed to resolve address for \"\". The hostname may be incorrect or not resolvable."}]}, oldProgress={}, progress={}
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              neil.huang Neil Huang
              neil.huang Neil Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty