Closed renebrandel closed 11 years ago
Which branch are you using? Could you try using the "master" branch?
it seems that the master branch fized it. i used to use the fix_security_terms branch, because at that time the master branch was not working. THANKS!
When i try to create a new Instance through curl it throws this issue
'module' object has no attribute 'get_instance_type_by_flavor_id'
CURL:
curl -v -X POST 141.52.208.91:8787/compute/ -H 'Category: compute; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind"' -H 'Content-Type: text/occi' -H 'X-Auth-Token: '$KID -H 'Category: cirros-0-3-1-x86_64-uec; scheme="http://schemas.openstack.org/template/os#"; class="mixin"; title="This is an OS cirros-0.3.1-x86_64-uec VM image"; rel="http://schemas.ogf.org/occi/infrastructure#os_tpl"; location="http://141.52.208.91:8787/cirros-0-3-1-x86_64-uec/"' -H 'Category: m1-xlarge; scheme="http://schemas.openstack.org/template/resource#"; class="mixin"; title="This is an openstack m1.xlarge flavor."; rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl"; location="http://141.52.208.91:8787/m1-xlarge/"'
Creating a new VM works through Horizon, so i presume, that it might be an issue with occi.