stackanetes: Example deploy command failing
The default kpm deploy as demonstrated in the README is failing for me, complaining about a malformed variable.
[openshift@test-cluster-master-0 stackanetes]$ kpm deploy stackanetes/stackanetes --namespace openstack --variables stackanetes/parameters.yaml -H https://beta.kpm.sh
Traceback (most recent call last):
File "/usr/bin/kpm", line 8, in <module>
args.func(args)
File "/usr/lib/python2.7/site-packages/kpm/command.py", line 40, in install
variables = parse_cmdline_variables(options.variables)
File "/usr/lib/python2.7/site-packages/kpm/utils.py", line 18, in parse_cmdline_variables
raise ValueError("Malformed variable: %s" % v)
ValueError: Malformed variable: stackanetes/parameters.yaml
This happened with the stackanetes/parameters.yaml file as provided in the current head.
[openshift@test-cluster-master-0 stackanetes]$ git rev-parse HEAD
859c94ff25495bac0d4386c871a4e0b82b34ea9a
The yaml file is valid according to yamllint
Also, for what it’s worth the kpm install command as shown in the readme didn’t work for me either. I had to install using this method as described in the kpm docs:
[root@test-cluster-master-0 kpm]# sudo pip install kpm -U
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 50 (17 by maintainers)
@dougbtv It looks like that minion_interface_name you provoded in parameters.yaml is not found on this node. Can you check that ?
Hmm 0.16.1 is very old, that explains error you see 😛 Unfortunatley you need something much more recent, ie: https://pypi.python.org/pypi/kpm/0.21.1rc2
Cheers