[dependencies] Wrong DSL implementation of deps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fuel-ccp |
In Progress
|
Medium
|
Kirill Bespalov |
Bug Description
A few facts before:
1) DSL not support containers as deps, only services and jobs:
https:/
2) Entrypoints scripts can do report to etcd only by containers names (or jobs), not whole service.
3) Currently fuel-ccp works just because in any fuel-ccp-{project} repository the container name the SAME that service name (service: nova-api == container: nova-api) and all services has exactly one container or several, but not used as dependency.
STEPS TO REPRODUCE:
1) fetch all fuel-ccp-* repos
2) go to fuel-ccp-
service:
name: nova-libvirt
host-net: true
daemonset: true
containers:
- name: nova-libvirt-
image: nova-libvirt
3) go to fuel-ccp-
service:
name: nova-compute
host-net: true
daemonset: true
containers:
- name: nova-compute
image: nova-compute
privileged: true
...
daemon:
command: nova-compute --config-file /etc/nova/nova.conf
- nova-db-migrations
- nova-libvirt-
4) ccp --debug -v show-dep nova-compute
EXPECTED RESULT:
all is OK
ACTUAL RESULT:
2016-10-03 05:59:53,541 ERROR cli 'nova-libvirt-
Traceback (most recent call last):
File "/usr/local/
result = cmd.run(
File "/usr/local/
return self.take_
File "/home/
dependencie
File "/home/
deps = get_deps(
File "/home/
deps, job_parents = _calculate_
File "/home/
next_
KeyError: 'nova-libvirt-
Traceback (most recent call last):
File "/home/
main()
File "/home/
CCPApp(
File "/home/
return super(CCPApp, self).run(argv)
File "/usr/local/
result = self.run_
File "/usr/local/
result = cmd.run(
File "/usr/local/
return self.take_
File "/home/
dependencie
File "/home/
deps = get_deps(
File "/home/
deps, job_parents = _calculate_
File "/home/
next_
KeyError: 'nova-libvirt-
Changed in fuel-ccp: | |
assignee: | nobody → Kirill Bespalov (k-besplv) |
Changed in fuel-ccp: | |
status: | New → In Progress |
Changed in fuel-ccp: | |
importance: | Undecided → Medium |
Change abandoned by Kirill Bespalov (<email address hidden>) on branch: master /review. openstack. org/379861 /review. openstack. org/#/c/ 420012/
Review: https:/
Reason: Can not be implemented due https:/