Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30755

Fix ES manage alias feature in HF55 with MongoDB

    Details

    • Release Notes Summary:
      ES manage alias feature works fine with MongoDB.
    • Backlog priority:
      900
    • Sprint:
      nxplatform #51
    • Story Points:
      5

      Description

      When setting up a 10.10-HF55 Nuxeo instance with the manage alias feature enabled and MongoDB, The startup fails when accessing the key value store.

      How to reproduce:

      • fire up a 10.10 Nuxeo instance with:
        • HF55
        • MongoDB
        • the ES manage alias feature enbaled:
          elasticsearch.manageAlias.enabled=true
          
      • drop the 2 nuxeo ES indexes (to have the aliases defined on the proper index):
        curl -XDELETE http://localhost:9200/nuxeo-0000
        curl -XDELETE http://localhost:9200/nuxeo
        
      • restart the Nuxeo instance
      • after restart, list the elasticsearch indexes:
        curl http://localhost:9200/_aliases?pretty
        {
          "nuxeo-0000" : {
            "aliases" : {
              "nuxeo" : { },
              "nuxeo-write" : { }
            }
          },
          "nuxeo-audit" : {
            "aliases" : { }
          },
          "nuxeo-uidgen" : {
            "aliases" : { }
          }
        }
        
      • launch a full re-index with this command:
        curl -X POST -su Administrator:Administrator -H 'Content-Type:application/json' -d '{}' http://localhost:8080/nuxeo/api/v1/automation/Elasticsearch.BulkIndex
        
      • after the re-index, list the elasticsearch indexes:
        curl http://localhost:9200/_aliases?pretty
          "nuxeo-0000" : {
            "aliases" : { }
          },
          "nuxeo-0001" : {
            "aliases" : {
              "nuxeo" : { },
              "nuxeo-write" : { }
            }
          },
          "nuxeo-audit" : {
            "aliases" : { }
          },
          "nuxeo-uidgen" : {
            "aliases" : { }
          }
        }
        
      • restart the Nuxeo instance

      Expected result: the Nuxeo instance started successfully
      Actual result: the Nuxeo startup failed. See the errors in the attached server.log.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.