Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-311

Allow hpcloud-objectstorage to see regions with mixed api versions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.2
    • 1.6.3, 1.7.0
    • jclouds-core
    • None

    Description

      API versions for hpcloud objectstorage region-a.geo-1 and region-b.geo-1 differ, 1.0 and 1 respectively. This prevents multiple regions from being visible without creating contexts for each version.

      Let's configure hpcloud to ignore api versions until they can correct this mistake.

      See below for the server-side misconfiguration:

      2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " {[\n]"
      2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "name": "Object Storage",[\n]"
      2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "type": "object-store",[\n]"
      2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "endpoints": [[\n]"
      2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << "

      {[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "tenantId": "10448598368512",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1\/10448598368512",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "region": "region-a.geo-1",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "versionId": "1.0",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " }

      ,[\n]"
      2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << "

      {[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "tenantId": "10448598368512",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "publicURL": "https:\/\/region-b.geo-1.objects.hpcloudsvc.com:443\/v1\/10448598368512",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "region": "region-b.geo-1",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "versionId": "1",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "versionInfo": "https:\/\/region-b.geo-1.objects.hpcloudsvc.com:443\/v1\/",[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " "versionList": "https:\/\/region-b.geo-1.objects.hpcloudsvc.com:443"[\n]" 2013-09-30 14:16:18,397 DEBUG [jclouds.wire] [main] << " }

      [\n]"
      2013-09-30 14:16:18,398 DEBUG [jclouds.wire] [main] << " ][\n]"
      2013-09-30 14:16:18,398 DEBUG [jclouds.wire] [main] << " },[\n]"

      Attachments

        Activity

          People

            adriancole Adrian Cole
            adriancole Adrian Cole
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: