kayobe overcloud container image build monasca -e kolla_install_type=source --push
<snip>
TASK [Ensure Kolla container images are built] ***********************************************************************************************************************************************************************************************
failed: [alaska-seed] (item={u'regexes': u'monasca'}) => {"changed": true, "cmd": "set -o pipefail && source /opt/kayobe/venvs/kolla/bin/activate && kolla-build --config-dir /opt/kayobe/etc/kolla --push monasca 2>&1 | tee --append /var/log/kolla-build.log", "delta": "0:00:09.796546", "end": "2018-09-28 15:27:20.025520", "failed": true, "item": {"regexes": "monasca"}, "rc": 1, "start": "2018-09-28 15:27:10.228974", "stderr": "", "stderr_lines": [], "stdout": "INFO:kolla.common.utils:Image squash is disabled\nINFO:kolla.common.utils:Found the docker image folder at /opt/kayobe/venvs/kolla/share/kolla/docker\nTraceback (most recent call last):\n File \"/opt/kayobe/venvs/kolla/bin/kolla-build\", line 10, in <module>\n sys.exit(main())\n File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/cmd/build.py\", line 30, in main\n statuses = build.run_build()\n File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/image/build.py\", line 1262, in run_build\n kolla.create_dockerfiles()\n File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/image/build.py\", line 901, in create_dockerfiles\n content = template.render(values, env=os.environ)\n File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/jinja2/environment.py\", line 1008, in render\n return self.environment.handle_exception(exc_info, True)\n File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/jinja2/environment.py\", line 780, in handle_exception\n reraise(exc_type, exc_value, tb)\n File \"<template>\", line 82, in top-level template code\n File \"/tmp/kolla-2018-09-28_15-27-10_GXJ4It/docker/ironic-inspector/Dockerfile.j2\", line 27, in top-level template code\n {{ macros.install_packages(ironic_inspector_packages | customizable(\"packages\")) }}\n File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/template/filters.py\", line 24, in customizable\n val_list.extend(context[name + \"append\"])\njinja2.exceptions.UndefinedError: 'ironic_inspector_packages' is undefined", "stdout_lines": ["INFO:kolla.common.utils:Image squash is disabled", "INFO:kolla.common.utils:Found the docker image folder at /opt/kayobe/venvs/kolla/share/kolla/docker", "Traceback (most recent call last):", " File \"/opt/kayobe/venvs/kolla/bin/kolla-build\", line 10, in <module>", " sys.exit(main())", " File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/cmd/build.py\", line 30, in main", " statuses = build.run_build()", " File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/image/build.py\", line 1262, in run_build", " kolla.create_dockerfiles()", " File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/image/build.py\", line 901, in create_dockerfiles", " content = template.render(values, env=os.environ)", " File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/jinja2/environment.py\", line 1008, in render", " return self.environment.handle_exception(exc_info, True)", " File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/jinja2/environment.py\", line 780, in handle_exception", " reraise(exc_type, exc_value, tb)", " File \"<template>\", line 82, in top-level template code", " File \"/tmp/kolla-2018-09-28_15-27-10_GXJ4It/docker/ironic-inspector/Dockerfile.j2\", line 27, in top-level template code", " {{ macros.install_packages(ironic_inspector_packages | customizable(\"packages\")) }}", " File \"/opt/kayobe/venvs/kolla/lib/python2.7/site-packages/kolla/template/filters.py\", line 24, in customizable", " val_list.extend(context[name + \"append\"])", "jinja2.exceptions.UndefinedError: 'ironic_inspector_packages' is undefined"]}
# Each variable takes the form:
# <image name>_<customization>_<operation>
# Hyphens in the image name are replaced with underscores. The customization is
# most commonly packages. The operation should be one of override, append or
# remove. The value should be a list.
#kolla_build_customizations:
kolla_build_customizations:
# Use our own repo server to install the monasca-grafana fork
base_yum_repo_files_remove:
- 'grafana.repo'
influxdb_packages_override:
- 'influxdb-1.3.3'
# ironic_inspector_packages_append:
# # Allow custom packages to be installed via pip.
# - 'python-pip'