Unclear and inexplicable linting error "found undefined alias 'operations-openstack-mandatory-release'".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Fix Released
|
Medium
|
Gabriel Cocenza |
Bug Description
Running juju lint on an Openstack model (status) json output, outputs the following error message:
$ juju-lint -c /snap/juju-
-t openstack \
./tests/
> tests/juju-
$ cat openstack-
Traceback (most recent call last):
File "/snap/
sys.
File "/snap/
cli.
File "/snap/
linter.
File "/snap/
self.lint_rules = self._process_
File "/snap/
return yaml.safe_
File "/snap/
return load(stream, SafeLoader)
File "/snap/
return loader.
File "/snap/
node = self.get_
File "/snap/
document = self.compose_
File "/snap/
node = self.compose_
File "/snap/
node = self.compose_
File "/snap/
item_value = self.compose_
File "/snap/
node = self.compose_
File "/snap/
node.
File "/snap/
raise ComposerError(None, None, "found undefined alias %r"
yaml.composer.
in "<unicode string>", line 256, column 5:
- *operations-
It's unclear where the alias 'operations-
Related branches
- Eric Chen: Needs Information
- BootStack Reviewers: Pending requested
- Martin Kalcok: Pending requested
-
Diff: 83 lines (+37/-0)4 files modifiedcontrib/includes/operations/bionic.yaml (+3/-0)
contrib/includes/operations/focal.yaml (+4/-0)
tests/unit/conftest.py (+9/-0)
tests/unit/test_jujulint.py (+21/-0)
Changed in juju-lint: | |
status: | New → Fix Committed |
milestone: | none → 1.0.4 |
assignee: | nobody → Gabriel Angelo Sgarbi Cocenza (gabrielcocenza) |
importance: | Undecided → Medium |
Changed in juju-lint: | |
status: | Fix Committed → Fix Released |
subscribed ~field-high