saharaclient should check the input param when cluster-create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python client library for Sahara |
Won't Fix
|
Low
|
warewang |
Bug Description
I excute the shell command--sahara cluster-create, I wait a long time, but it return nothing. I look at the cold, found that :
@utils.
def do_cluster_
"""Create a cluster."""
# TODO(mattf): improve template validation, e.g. template w/o name key
template = json.loads(
# The neutron_
# called net_id. Therefore, we must translate before invoking
# create w/ **template. It may be desirable to simple change
# clusters.create in the future.
remap = {'neutron_
_filter_
_show_
I think, if args is none, the default is stdin, so the thread is wait the user's input. I think it need to judge the args shoud not be empty.
Changed in sahara: | |
assignee: | nobody → warewang (wangguangcai) |
summary: |
- saharaclient should check the input parama whencluster-create + saharaclient should check the input param when cluster-create |
Changed in sahara: | |
status: | Triaged → Confirmed |
affects: | sahara → python-saharaclient |
Changed in python-saharaclient: | |
importance: | Undecided → Low |
As I remember it was done intentionally. I'm not sure what the right behavior, a good topic to discuss on weekly meeting.