Contrail R3.0/47 error with v1 templates: availability_zone_enable: true/false expected instead of True
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
In Progress
|
Undecided
|
Ganesha HV | |||
Trunk |
In Progress
|
Undecided
|
Ganesha HV | |||
OpenContrail |
New
|
Undecided
|
Ganesha HV |
Bug Description
We want to generate v1 style service instance objects using the same yaml templates used with Contrail R2.0. When we tried R3.0/47 build, we got the following error:
availability_
template has the below field;
vSRX_
properties:
availabil
flavor:
get_attr: [vSRX_Firewall-
image_name: vSRX-img
name:
Fn::Join:
- '-'
- - {get_param: nsid}
- vSRX_Firewall-
ordered_
service_
service_mode: in-network
service_type: firewall
shared_
static_
type: OS::Contrail:
Logs:
| 7f056bcf-
| stack_status_reason | Resource CREATE failed: BadRequest: |
| | resources.
| | 400 Content: Bad property in create: Error validating |
| | property service_
| | {'instance_data': None, 'availability_
| | 'True', 'service_
| | machine', 'interface_type': [{'static_
| | False, 'shared_ip': False, 'service_
| | 'management'}, {'static_
| | 'shared_ip': False, 'service_
| | {'static_
| | 'service_
| | 'vSRX-img', 'service_mode': 'in-network', 'version': 1, |
| | 'service_type': 'firewall', 'flavor': 'm1.medium', |
| | 'service_scaling': False, 'vrouter_
| | None, 'ordered_
| | availability_
| | of True
Fix suggested by Praneet:
if you delete the line
in /usr/lib/
and restart heat-engine, you won’t see the error then.
Changed in opencontrail: | |
assignee: | nobody → Ganesha HV (ganeshahv) |
Review in progress for https:/ /review. opencontrail. org/20988
Submitter: Ganesha HV (<email address hidden>)