While creating container, error is thrown due to invalid argument.
Error
--------
2016-07-06 14:00:38.781 DEBUG nova.compute.manager [req-1d6b18c3-20d7-4f21-947e-49147a8e4506 admin admin] [instance: b795835c-670f-40b8-940e-41d27cd80f74] Start spawning the instance on the hypervisor. from (pid=17574) _build_and_run_instance /opt/stack/nova/nova/compute/manager.py:1905
2016-07-06 14:00:38.783 DEBUG novadocker.virt.docker.driver [req-1d6b18c3-20d7-4f21-947e-49147a8e4506 admin admin] Image name "tutum/wordpress" does not exist, fetching it... from (pid=17574) _pull_missing_image /usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py:388
2016-07-06 14:00:38.784 DEBUG novadocker.virt.docker.driver [req-1d6b18c3-20d7-4f21-947e-49147a8e4506 admin admin] Fetching image with id f7697e67-1dc3-483e-bebc-2beb7952e610 from glance from (pid=17574) _pull_missing_image /usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py:419
2016-07-06 14:00:38.784 WARNING novadocker.virt.docker.driver [req-1d6b18c3-20d7-4f21-947e-49147a8e4506 admin admin] [instance: b795835c-670f-40b8-940e-41d27cd80f74] Cannot load repository file: fetch() takes at most 4 arguments (5 given)
2016-07-06 14:00:38.784 TRACE novadocker.virt.docker.driver [instance: b795835c-670f-40b8-940e-41d27cd80f74] Traceback (most recent call last):
2016-07-06 14:00:38.784 TRACE novadocker.virt.docker.driver [instance: b795835c-670f-40b8-940e-41d27cd80f74] File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 421, in _pull_missing_image
2016-07-06 14:00:38.784 TRACE novadocker.virt.docker.driver [instance: b795835c-670f-40b8-940e-41d27cd80f74] instance['user_id'], instance['project_id'])
2016-07-06 14:00:38.784 TRACE novadocker.virt.docker.driver [instance: b795835c-670f-40b8-940e-41d27cd80f74] TypeError: fetch() takes at most 4 arguments (5 given)
2016-07-06 14:00:38.784 TRACE novadocker.virt.docker.driver [instance: b795835c-670f-40b8-940e-41d27cd80f74]
2016-07-06 14:00:38.785 ERROR nova.compute.manager [req-1d6b18c3-20d7-4f21-947e-49147a8e4506 admin admin] [instance: b795835c-670f-40b8-940e-41d27cd80f74] Instance failed to spawn
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] Traceback (most recent call last):
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] File "/opt/stack/nova/nova/compute/manager.py", line 2066, in _build_resources
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] yield resources
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] File "/opt/stack/nova/nova/compute/manager.py", line 1910, in _build_and_run_instance
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] block_device_info=block_device_info)
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 530, in spawn
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] image = self._pull_missing_image(context, image_meta, instance)
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 435, in _pull_missing_image
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] instance_id=image_meta.name)
2016-07-06 14:00:38.785 TRACE nova.compute.manager [instance: b795835c-670f-40b8-940e-41d27cd80f74] NovaException: Cannot load repository file: fetch() takes at most 4 arguments (5 given)