ERROR cannot deploy bundle, invalid fields
Bug #1984133 reported by
Felipe Reyes
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Heather Lanigan |
Bug Description
There is a pull request that was recently merged[0], this change breaks the deployment of the bundles used by Zaza and FCE at the very least
$ juju deploy -m openidc ./tests/
ERROR cannot deploy bundle, invalid fields: unmarshal document 0: yaml: unmarshal errors:
line 1: field variables not found in bundle
line 4: field local_overlay_
line 8: field comment not found in bundle
Over the years it has become a common practice to keep a section at the top of the bundles with variables that are referenced later, for example see https:/
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is the relevant section of the bundle, and the full bundle can be found at https:/ /paste. ubuntu. com/p/YRxftNBpV S/
The key "local_ overlay_ enabled" is used by zaza ( https:/ /github. com/openstack- charmers/ zaza/blob/ b393baaaaf4f716 90a6a762f041af9 353b8ca6b7/ zaza/charm_ lifecycle/ deploy. py#L45 )
```
variables:
openstack-origin: &openstack-origin cloud:focal-yoga
local_overlay_ enabled: False
series: focal
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
applications:
...
```