CSCfi / pouta-ansible-cluster

Ansible playbook and role examples for deploying a cluster in CSC's cPouta cloud
MIT License
0 stars 2 forks source link

Provisioning fails against cPouta #94

Open tourunen opened 7 years ago

tourunen commented 7 years ago

There is a problem with current version of shade against cPouta nova API when creating servers with server groups. The underlying problem seems to be this shade issue:

https://storyboard.openstack.org/#!/story/2001174

Using shade 1.21 works, so a workaround is to install that specific version when populating the virtual environment for provisioning:

    pip install 'shade==1.21' dnspython funcsigs functools32

If your application can live with the increased risk of data loss, another possible workaround is to disable server groups in tasks/vm_group_provisioning.yml by commenting out scheduler_hints:

    volume_size: 50
#    scheduler_hints: "{{ scheduler_hints | default({}) }}"
    wait: no
tourunen commented 7 years ago

Looks like shade==1.21 works. Workaround updated