Juniper / contrail-ansible

Ansible scripts used by server manager
Apache License 2.0
5 stars 10 forks source link

Code refactor #7

Closed hkumarmk closed 7 years ago

hkumarmk commented 7 years ago
hkumarmk commented 7 years ago

@ramprackash @nitishkrishna this code is tested with agent container, but as I dont have a SM setup, I could not test it against baremetal agent, please test it and let me know if you see issues.

ramprackash commented 7 years ago

Tried running SM with this changes. Looks like the contrail_compute_mode=bare_metal that is set in the inventory loses its value in the node role and it tries to start agent container.

Also, global_config is not available in bare_metal role even though its defined in inventory.

hkumarmk commented 7 years ago

Lets sit tomorrow and see what is happening - it should not happen