Tuesday, January 11, 2022

Openstack: Heat with error "create() got an unexpected keyword argument 'policies' "

 


  • In OSP16 the Nova API has changed the policies field to policy

  • You can work around this issue by specify the compute API --os-compute-api-version 2.63 in your command.


openstack server group create --os-compute-api-version 2.63 --policy affinity demo


Edit file: /etc/heat/heat.conf  add the lines below and restart heat service:

[DEFAULT]

...

max_nova_api_microversion = 2.63


No comments:

Post a Comment

Install and use xorg-server on macOS via Homebrew

  The instructions to install and use xorg-server on macOS via Homebrew: Install Homebrew (if you haven't already): /bin/bash -c ...