Invalid JSON input type raises incorrect exceptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Medium
|
Graham Hayes | ||
Kilo |
Fix Committed
|
Undecided
|
Kiall Mac Innes |
Bug Description
Traces:
File "/opt/stack/
for m in masters:
TypeError: 'bool' object is not iterable
Steps to reproduce:
token=$(keystone token-get | grep ' id ' | awk '{ print $4 }')
endpoint=http://
curl -H "Content-Type: application/json" -H "X-Auth-
Traces:
File "/opt/stack/
algorithm, fp_type, fingerprint = value.split(' ')
AttributeError: 'NoneType' object has no attribute 'split'
Steps to reproduce:
token=$(keystone token-get | grep ' id ' | awk '{ print $4 }')
endpoint=http://
zone_id=$(designate domain-list | awk '{ print $2 }' | grep -- -)
curl -H "Content-Type: application/json" -H "X-Auth-
Traces:
File "/usr/local/
raise dns.exception.
Steps to reproduce:
token=$(keystone token-get | grep ' id ' | awk '{ print $4 }')
endpoint=http://
zone_id=$(designate domain-list | awk '{ print $2 }' | grep -- - | head -n 1)
zone_name=
curl -H "Content-Type: application/json" -H "X-Auth-
Changed in designate: | |
assignee: | nobody → Graham Hayes (grahamhayes) |
Changed in designate: | |
milestone: | none → liberty-2 |
importance: | Undecided → Medium |
Changed in designate: | |
status: | Fix Committed → Fix Released |
Changed in designate: | |
milestone: | liberty-2 → 1.0.0 |
Fix proposed to branch: master /review. openstack. org/201535
Review: https:/