Consistently Failing - Deploy OpenStack all in one node using Ansible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
Wishlist
|
Manoj |
Bug Description
I have tried all the alternatives provided to Deploy OpenStack all in one node using Ansible
I build the images "with and without" setting up docker registry.
I want to just deploy Binary docker images and deploy OpenStack using Ansible.
So I don't have to build images locally.
I am using following command to deploy
sudo tools/kolla-ansible -i ansible/
It Always failes with Following ERROR
TASK: [common | Starting log_data container] *******
failed: [localhost] => {"changes": ["{\"stream\
msg: Unrecognized status from pull.
Please document all the steps and configuration at one place.
And give me pointers to resolve this issue.
I can see all the images in docker repository using docker images, so why ansible is not able to find those images.
Deploying Playbook : ansible-playbook -i ansible/
PLAY [ceph-mon;ceph-osd] *******
GATHERING FACTS *******
ok: [localhost]
TASK: [ceph | Ensuring templates config directory exists] *******
skipping: [localhost]
TASK: [ceph | Ensuring config directory exists] *******
skipping: [localhost]
TASK: [ceph | Copying over config(s)] *******
skipping: [localhost] => (item=[
skipping: [localhost] => (item=[
TASK: [ceph | Merging the config files and saving to the final destination] ***
skipping: [localhost]
TASK: [ceph | Ensuring templates config directory exists] *******
skipping: [localhost]
TASK: [ceph | Ensuring config directory exists] *******
skipping: [localhost]
TASK: [ceph | Copying over config(s)] *******
skipping: [localhost] => (item=[
skipping: [localhost] => (item=[
TASK: [ceph | Merging the config files and saving to the final destination] ***
skipping: [localhost]
TASK: [ceph | Cleaning up temp file on localhost] *******
ASK: [ceph | Generating Initial Ceph keyrings and monmap] *******
skipping: [localhost]
TASK: [ceph | Waiting for a few settings for cluster to generate keys] ********
skipping: [localhost]
TASK: [ceph | Setting host for cluster files] *******
skipping: [localhost]
TASK: [ceph | Fetching Ceph keyrings] *******
skipping: [localhost]
TASK: [ceph | Reading json from variable] *******
skipping: [localhost]
TASK: [ceph | Pushing Ceph keyring for OSDs] *******
skipping: [localhost] => (item={# ceph_files[
TASK: [ceph | Pushing Ceph keyrings for Mons] *******
skipping: [localhost] => (item={# ceph_files[
skipping: [localhost] => (item={# ceph_files[
skipping: [localhost] => (item={# ceph_files[
TASK: [ceph | Starting ceph-mon container] *******
skipping: [localhost]
TASK: [ceph | Looking up disks to bootstrap for Ceph] *******
skipping: [localhost]
TASK: [ceph | Bootstrapping Ceph OSDs] *******
skipping: [localhost]
TASK: [ceph | Waiting for bootstrap containers to exit] *******
TASK: [ceph | Cleaning up bootstrap containers] *******
skipping: [localhost]
TASK: [ceph | Looking up OSDs for Ceph] *******
skipping: [localhost]
TASK: [ceph | Mounting Ceph OSD volumes] *******
skipping: [localhost] => (item=osds.disks)
TASK: [ceph | Gathering OSD IDs] *******
skipping: [localhost] => (item=osds.disks)
TASK: [ceph | Starting ceph-osds container] *******
skipping: [localhost] => (item=[{u'skipped': True, u'changed': False}, 'osds.disks'])
PLAY [haproxy;
GATHERING FACTS *******
ok: [localhost]
TASK: [common | Ensuring config directory exists] *******
ok: [localhost]
TASK: [common | Copying over config(s)] *******
ok: [localhost]
TASK: [common | Starting log_data container] *******
failed: [localhost] => {"changes": ["{\"stream\
msg: Unrecognized status from pull.
FATAL: all hosts have already failed -- aborting
FATAL: all hosts have already failed -- aborting
PLAY RECAP *******
to retry, use: --limit @/root/site.retry
localhost : ok=11 changed=0 unreachable=0 failed=1
Command failed ansible-playbook -i ansible/
Changed in kolla: | |
status: | New → Triaged |
Changed in kolla: | |
importance: | Undecided → Wishlist |
milestone: | none → liberty-rc3 |
assignee: | nobody → Manoj (manoj-kumar-jainman) |
Changed in kolla: | |
milestone: | liberty-rc3 → mitaka-1 |
Changed in kolla: | |
milestone: | mitaka-1 → mitaka-2 |
Changed in kolla: | |
milestone: | mitaka-2 → mitaka-3 |
With the output you have in this ticket it shows you are trying to fetch images from the Docker Hub rather than use locally build images. If you want to use locally built images for an AIO you have to set the value 'docker_ pull_policy: "missing"' in the globals.yml
If you are pushing to a local registry you must configure your registry connection in the globals.yml There is an example in the file that you can reference.