stackhpc / alaska-kayobe-config Goto Github PK
View Code? Open in Web Editor NEWKayobe configuration for the SKA SDP performance prototype platform ALaSKA
License: Apache License 2.0
Kayobe configuration for the SKA SDP performance prototype platform ALaSKA
License: Apache License 2.0
After fixing the kolla built type config option (stackhpc/kayobe#178 naming in kolla-build.conf (stackhpc/kayobe#178) the following error occurs during image build via Kayobe:
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"]}
If you comment out the related var in in etc/kayobe/kolla.yml
the image build proceeds as normal:
# 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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.