Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16272

bin/solr package install is not repeatable if first install fails with key error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.11.2
    • None
    • Package Manager
    • None

    Description

      I've tried to add a package to Solr, but none of the available public keys matches for my signature. This fails as expected:

      Posting manifest...
      Posting artifacts...
      org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteExecutionException: Error from server at http://search-solrcloud-0.search-solrcloud-headless.search:8983: Signature does not match any public key :  

      Trying to add the same version again will always fail after that since the manifest.json is not cleaned up:

      Posting manifest... org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteExecutionException: Error from server at http://search-solrcloud-0.search-solrcloud-headless.search:8983: Path already exists /package/solr-dispatchx/1.0.1-SNAPSHOT/manifest.json: 

      At the same time uninstall doesn't work cause Solr (correctly) states that the package hasn't been installed:

      Package solr-dispatchx:1.0.1-SNAPSHOT doesn't exist. Use the install command to install this package version first. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            sgift Sebastian Gift
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: