Cannot deploy a charm that has no peers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Low
|
Jimmie Butler |
Bug Description
% cat ../metadata.yaml
name: juju-development
summary: A Juju development environment
maintainer: David Cheney <email address hidden>
description: |
juju-development deploys a complete development environment for Juju.
categories:
- misc
subordinate: false
provides:
requires:
peers:
% juju deploy --repository=
WARNING unknown config field "public-bucket"
WARNING failed to load charm at "/home/
ERROR charm not found in "/home/
Related branches
- Juju Engineering: Pending requested
-
Diff: 219 lines (+59/-24)5 files modifiedcharm/meta.go (+9/-9)
charm/meta_test.go (+15/-6)
schema/schema.go (+20/-0)
schema/schema_test.go (+9/-9)
testing/repo/quantal/empty-fields/metadata.yaml (+6/-0)
- Juju Engineering: Pending requested
-
Diff: 198 lines (+52/-17)5 files modifiedcharm/meta.go (+2/-2)
charm/meta_test.go (+15/-6)
schema/schema.go (+20/-0)
schema/schema_test.go (+9/-9)
testing/repo/quantal/empty-fields/metadata.yaml (+6/-0)
Changed in juju-core: | |
status: | Triaged → Won't Fix |
If you just delete the "peers:" line, I believe the charm will work fine. It is just that we don't support an empty field for peers.
It would probably be good to fix this, but I don't think it is High priority