Provision failed due to the error "prepare.yml is not found"

Bug #1795792 reported by musharani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Critical
Alexandre Levine

Bug Description

Provision got failed for master branch after this fix https://review.opencontrail.org/46595.

Issue1: Getting error prepare.yml is not found.

TASK [contrail_deployer : Prepare host to certs generation] ***********************************************************************************
fatal: [localhost]: FAILED! => {"reason": "Unable to retrieve file contents\nCould not find or access '/root/contrail-ansible-deployer/playbooks/prepare.yml'"}
        to retry, use: --limit @/root/contrail-ansible-deployer/playbooks/configure_instances.retry

PLAY RECAP ************************************************************************************************************************************
localhost : ok=26 changed=1 unreachable=0 failed=1

Issue2: If the issue1 gone through seen the below issue while installing openstack. The version is getting appended twice if we mentioned the openstack version in instances.yml like contrail-openstack-compute-init:ocata-ocata-master-300. The same instances.yml was working before this commit

Instances.yml
  CLOUD_ORCHESTRATOR: openstack
  CONFIG_API_VIP: 10.204.216.64
  CONTAINER_REGISTRY: 10.204.217.152:5000
  CONTRAIL_VERSION: ocata-master-300
  CONTROLLER_NODES: 10.204.216.64,10.204.216.65,10.204.216.153
  CONTROL_NODES: 192.168.192.6,192.168.192.5,192.168.192.7
  ENCAP_PRIORITY: VXLAN,MPLSoUDP,MPLSoGRE
  IPFABRIC_SERVICE_HOST: 10.204.216.130
  KEYSTONE_AUTH_ADMIN_PASSWORD: c0ntrail123
  KEYSTONE_AUTH_HOST: 10.204.216.130
  KEYSTONE_AUTH_URL_VERSION: /v3
  OPENSTACK_NODES: 10.204.216.64,10.204.216.65,10.204.216.153
  RABBITMQ_NODE_PORT: 5673
  REGISTRY_PRIVATE_INSECURE: true
  VROUTER_GATEWAY: 192.168.192.253
  XMPP_SSL_ENABLE: true

work around for issue2: Changed CONTRAIL_VERSION: ocata-master-300 as CONTRAIL_VERSION: master-300.

'Traceback (most recent call last):\n File "/tmp/ansible_QAMfy1/ansible_module_kolla_docker.py", line 801, in main\n result = bool(getattr(dw, module.params.get(\'action\'))())\n File "/tmp/ansible_QAMfy1/ansible_module_kolla_docker.py", line 610, in start_container\n self.pull_image()\n File "/tmp/ansible_QAMfy1/ansible_module_kolla_docker.py", line 452, in pull_image\n repository=image, tag=tag, stream=True\n File "/usr/lib/python2.7/site-packages/docker/api/image.py", line 399, in pull\n self._raise_for_status(response)\n File "/usr/lib/python2.7/site-packages/docker/api/client.py", line 231, in _raise_for_status\n raise create_api_error_from_http_exception(e)\n File "/usr/lib/python2.7/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception\n raise cls(e, response=response, explanation=explanation)\nNotFound: 404 Client Error: Not Found ("manifest for 10.204.217.152:5000/contrail-openstack-compute-init:ocata-ocata-master-300 not found")

musharani (musharani)
tags: added: sanityblocker
Changed in juniperopenstack:
milestone: none → r5.1.1
musharani (musharani)
description: updated
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :
Changed in juniperopenstack:
status: New → Incomplete
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.