"kolla-ansible deploy" throws HTTPError when starting rsyslog container

Bug #1546863 reported by Vikram Hosakote
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Invalid
Undecided
Unassigned

Bug Description

"kolla-ansible deploy" throws the following HTTPError when starting syslog container.

TASK: [common | Starting rsyslog container] ***********************************
failed: [localhost] => {"changed": true, "failed": true}
msg: APIError(HTTPError(u'500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.22/images/create?tag=2.0.0&fromImage=192.168.122.45%3A4000%2Fkollaglue%2Fubuntu-source-rsyslog',),)

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/home/kolla/site.retry

localhost : ok=17 changed=0 unreachable=0 failed=1

Command failed ansible-playbook -i /usr/local/share/kolla/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e action=deploy /usr/local/share/kolla/ansible/site.yml

=========================================================

Below is /etc/kolla/globals.yml. Host OS is Ubuntu 14.04.

kolla_base_distro: "ubuntu"
kolla_install_type: "source"
kolla_internal_address: "192.168.122.45"
kolla_external_address: "{{ kolla_internal_address }}"
enable_haproxy: "yes"
docker_registry: "192.168.122.45:4000"
network_interface: "eth0"
api_interface: "{{ network_interface }}"
neutron_external_interface: "eth1"

Revision history for this message
Vikram Hosakote (vhosakot) wrote :

Fixing this bug.

Changed in kolla:
assignee: nobody → Vikram Hosakote (vhosakot)
status: New → In Progress
summary: - If kolla_base_distro and kola_install_type are commented in
- /etc/kolla/globals.yml, "kolla-ansible deploy" throws HTTPError
+ "kolla-ansible deploy" throws HTTPError for syslog container
description: updated
description: updated
summary: - "kolla-ansible deploy" throws HTTPError for syslog container
+ "kolla-ansible deploy" throws HTTPError when starting syslog container
summary: - "kolla-ansible deploy" throws HTTPError when starting syslog container
+ "kolla-ansible deploy" throws HTTPError when starting rsyslog container
Revision history for this message
Vikram Hosakote (vhosakot) wrote :

This issue is not seen if the "--registry 192.168.122.41:4000" argument is used with kolla-buid.

On Ubuntu:

sudo kolla-build --base ubuntu --type source --threads 2 --debug --registry 192.168.122.41:4000

Changed in kolla:
assignee: Vikram Hosakote (vhosakot) → nobody
status: In Progress → Invalid
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.