bypass-url no longer works
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python client library for Sahara |
Fix Released
|
Medium
|
Khanh-Toan TRAN |
Bug Description
From version 0.9.1 "--bypass-url" no longers work.
Up until version 0.9.0, if Sahara endpoint is not declared in Keystone, user can still use sahara client by specifying Sahara URL at "--bypass-url". It is really useful in the case that the client wants to create a VM Sahara in its tenant and use the cloud provider's infrastructure without relying on Sahara service of the cloud provider (or in the case of the lack of the latter). In this case the Saraha VM is a client programme of the cloud provider.
From 0.9.1 forward, it is no longer the case:
class Client(object):
def __init__ (...):
...
service_type = self._determine
which searches data_processing endpoint in Keystone catalog and finds none, resulting in error (if Sahara endpoint is not declared in Keystone):
"ERROR: Could not find Sahara endpoint in catalog"
Correcting this error is rather simple: determining service_type only if sahara_url is not supplied in the call.
Changed in python-saharaclient: | |
assignee: | nobody → Khanh-Toan TRAN (toan-tran) |
description: | updated |
description: | updated |
Changed in python-saharaclient: | |
importance: | Undecided → Medium |
milestone: | none → 0.12.0 |
Changed in python-saharaclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/241997
Review: https:/