Comment 0 for bug 1527224

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

1. Deploy Fuel cluster with SSL on services and horizon
2. Try to create image using v1 api and public endpoints with insecure True (I use ostf that was switched to public endpoints, but it is now in master yet)
3. Request image list over v1 and public endpoint

Expected Result:
Image created

Actual Result:
Get list passed without any of error
and Image creation fails with:
keystoneclient.auth.identity.v2: DEBUG: Making authentication request to https://10.109.3.3:5000/v2.0/tokens fuel_health.common.test_mixins: INFO: STEP:1, verify action: 'Image creation' glanceclient.common.http: DEBUG: curl -g -i -X POST -H 'Accept-Encoding: gzip, deflate' -H 'x-image-meta-container_format: bare' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}9f765ed4c5b59c57bbcacd86126e335317036a28' -H 'x-image-meta-size: 1024' -H 'Connection: keep-alive' -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/octet-stream' -H 'x-image-meta-disk_format: raw' -H 'x-image-meta-name: ostf_test-image_glance-400860815' -k --cert None --key None https://10.109.3.3:9292/v1/images fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/fuel_health/common/test_mixins.py", line 177, in verify result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/fuel_health/glancemanager.py", line 68, in image_create disk_format=disk_format, **kwargs) File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 324, in create data=image_data) File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 283, in post return self._request('POST', url, **kwargs) File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 261, in _request raise exc.CommunicationError(message=message) CommunicationError: Error finding address for https://10.109.3.3:9292/v1/images: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:765) fuel_health.glancemanager: DEBUG: Deleting images created by Glance test

At the same time all those tests with the same endpoints passed (so v2 do not have any issues with that)

http://paste.openstack.org/show/482179/

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "297"
  build_id: "297"
  fuel-nailgun_sha: "8930b95bf889ad6fbb7fa3218013aebf15f288b6"
  python-fuelclient_sha: "8013333fdbe69df41f665b4b31c731e8d4982a07"
  fuel-agent_sha: "3a568b454b496a07639c188c428a5e10e1a61253"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "c56dfde2da034151a7e707b381c4cf9d213b4ba2"
  fuel-library_sha: "ce7315bcaec88cf21c0d54485c9d1e402d20e8dc"
  fuel-ostf_sha: "9910a4726cbd038c257582b429527e40c4c3cb20"
  fuel-mirror_sha: "c1c856f49c9fc228b6a00c9c9b4bcbac9c49468f"
  fuelmenu_sha: "680b720291ff577f4c058cee25f85e563c96312e"
  shotgun_sha: "a0bd06508067935f2ae9be2523ed0d1717b995ce"
  network-checker_sha: "67d4954c92ec0001032f732fea5da6cb32037371"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "7702258023b34e67e94594aef0d679a67fd844c5"