You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by 高橋海 <k-...@creationline.com> on 2019/03/29 01:20:42 UTC
[Trillian] generate-cloudconfig does not generate correct group_vars file.
Hello. I'm new to use Trillian.
As described in https://github.com/shapeblue/Trillian/wiki/Usage, I ran the
command:
# ansible-playbook generate-cloudconfig.yml -i localhost --extra-vars
"env_name=kvmtest-pga mgmt_os=7 kvm_os=7 env_version=cs411 env_accounts=all
hvtype=k hv=2 pri=2" -vvv
This generates group_vars/kvmtest-pga but its content is exactly same
as templates/nestedgroupvars.j2 and no template processing is done.
As a result, running deployvms.yml fails. Do you have any ideas?
My ansible host environment:
[root@cl-kenshou-ansible Ansible]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@cl-kenshou-ansible Ansible]# python --version
Python 2.7.5
[root@cl-kenshou-ansible Ansible]# ansible --version
ansible 2.7.9
config file = /root/Trillian/Ansible/ansible.cfg
configured module search path = [u'/usr/share/ansible',
u'/root/Trillian/Ansible/library']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5
20150623 (Red Hat 4.8.5-16)]
Kai Takahashi
Re: [Trillian] generate-cloudconfig does not generate
correct group_vars file.
Posted by Dag Sonstebo <Da...@shapeblue.com>.
Hi Takahashi-san,
Trillian is more of a ShapeBlue side project which we have chosen to open source rather than a CloudStack community project - I will respond to you off-list shortly.
Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue
On 29/03/2019, 01:21, "高橋海" <k-...@creationline.com> wrote:
Hello. I'm new to use Trillian.
As described in https://github.com/shapeblue/Trillian/wiki/Usage, I ran the
command:
# ansible-playbook generate-cloudconfig.yml -i localhost --extra-vars
"env_name=kvmtest-pga mgmt_os=7 kvm_os=7 env_version=cs411 env_accounts=all
hvtype=k hv=2 pri=2" -vvv
This generates group_vars/kvmtest-pga but its content is exactly same
as templates/nestedgroupvars.j2 and no template processing is done.
As a result, running deployvms.yml fails. Do you have any ideas?
My ansible host environment:
[root@cl-kenshou-ansible Ansible]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@cl-kenshou-ansible Ansible]# python --version
Python 2.7.5
[root@cl-kenshou-ansible Ansible]# ansible --version
ansible 2.7.9
config file = /root/Trillian/Ansible/ansible.cfg
configured module search path = [u'/usr/share/ansible',
u'/root/Trillian/Ansible/library']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5
20150623 (Red Hat 4.8.5-16)]
Kai Takahashi
Dag.Sonstebo@shapeblue.com
www.shapeblue.com
Amadeus House, Floral Street, London WC2E 9DPUK
@shapeblue