I am respawning some old code that creates multi-level service hierarchy. And it does not work...
It worked a year ago, so something must have changed. I remembered @pemcg had a chapter about it in his book , so I thought I might have missed something, but I don't know what.
I have there levels of services:
- [svc] Top Level
- [svc] VM Service
- [svc] Resource Group
When I go to 'My Services', I only see the top level service, with all the VM in this service, no tree.
I checked with rails console and the parent_service of each service is correct. So I checked VMs: vm.service gives me the top level, vm.direct_service gives me the actual service. So it looks like the tree only uses 'service' and not 'direct_service'...
Has the behaviour changed recently ? How would I create such a service tree ?