container build failing on grafana when trying to build

Bug #1801969 reported by Alex Schultz on 2018-11-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Critical
Alex Schultz

Bug Description

While adding a container image build CI job, the build started failing because grafana is not provided.

INFO:kolla.common.utils:===========================
INFO:kolla.common.utils:Images that failed to build
INFO:kolla.common.utils:===========================
ERROR:kolla.common.utils:grafana Failed with status: error

It appears that we're calling kolla-build to build the grafana container which wasn't previously being build (because we don't have packages). This might have been introduced by https://review.openstack.org/#/c/610663/

CalledProcessError: Command '['kolla-build', '--config-file', '/home/zuul/workspace/venv/share/tripleo-common/container-images/tripleo_kolla_config_overrides.conf', '--config-file', u'/home/zuul/workspace/kolla-build.conf', '--config-file', '/tmp/kolla_conf_6ATGfr', u'daemon', u'kubernetes', u'gluster-centos', u'glusterblock-provisioner', u'grafana', u'heketi', u'oauth-proxy', u'origin-ansible', u'origin-console', u'origin-control-plane', u'origin-deployer', u'origin-docker-builder', u'origin-docker-registry', u'origin-haproxy-router', u'origin-node', u'origin-pod', u'origin-web-console', u'prometheus-alertmanager', u'prometheus-node-exporter', u'prometheus', u'aodh-api', u'aodh-evaluator', u'aodh-listener', u'aodh-notifier', u'barbican-api', u'barbican-keystone-listener', u'barbican-worker', u'ceilometer-central', u'ceilometer-compute', u'ceilometer-ipmi', u'ceilometer-notification', u'cinder-api', u'cinder-backup', u'cinder-scheduler', u'cinder-volume', u'collectd', u'congress-api', u'cron', u'designate-api', u'designate-backend-bind9', u'designate-base', u'designate-central', u'designate-mdns', u'designate-producer', u'designate-sink', u'designate-worker', u'ec2-api', u'etcd', u'fluentd', u'glance-api', u'gnocchi-api', u'gnocchi-metricd', u'gnocchi-statsd', u'haproxy', u'heat-all', u'heat-api-cfn', u'heat-api', u'heat-engine', u'horizon', u'ironic-api', u'ironic-conductor', u'ironic-inspector', u'ironic-neutron-agent', u'ironic-pxe', u'iscsid', u'keepalived', u'keystone', u'manila-api', u'manila-base', u'manila-scheduler', u'manila-share', u'mariadb', u'memcached', u'mistral-api', u'mistral-engine', u'mistral-event-engine', u'mistral-executor', u'multipathd', u'neutron-dhcp-agent', u'neutron-l3-agent', u'neutron-metadata-agent-ovn', u'neutron-metadata-agent', u'neutron-openvswitch-agent', u'neutron-server-opendaylight', u'neutron-server-ovn', u'neutron-server', u'neutron-sriov-agent', u'nova-api', u'nova-compute-ironic', u'nova-compute', u'nova-conductor', u'nova-consoleauth', u'nova-libvirt', u'nova-novncproxy', u'nova-placement-api', u'nova-scheduler', u'novajoin-notifier', u'novajoin-server', u'octavia-api', u'octavia-base', u'octavia-health-manager', u'octavia-housekeeping', u'octavia-worker', u'opendaylight', u'ovn-base', u'ovn-controller', u'ovn-nb-db-server', u'ovn-northd', u'ovn-sb-db-server', u'panko-api', u'qdrouterd', u'rabbitmq', u'redis', u'rsyslog-base', u'sahara-api', u'sahara-engine', u'sensu-client', u'skydive-agent', u'skydive-analyzer', u'swift-account', u'swift-container', u'swift-object', u'swift-proxy-server', u'tempest', u'tripleo-ui', u'zaqar', u'cluster-monitoring-operator', u'configmap-reload', u'kube-rbac-proxy', u'kube-state-metrics', u'prometheus-config-reloader', u'prometheus-operator', u'etcd']' returned non-zero exit status 1

Alex Schultz (alex-schultz) wrote :

Adding promotion-blocker because it'll prevent containers from being built

tags: added: alert promotion-blocker
Changed in tripleo:
importance: High → Critical

Fix proposed to branch: master
Review: https://review.openstack.org/616022

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress

Reviewed: https://review.openstack.org/616022
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8abbdeb42300ed64f15f1041492ebc895e49dee9
Submitter: Zuul
Branch: master

commit 8abbdeb42300ed64f15f1041492ebc895e49dee9
Author: Alex Schultz <email address hidden>
Date: Tue Nov 6 15:39:53 2018 -0700

    Add image_source to containers

    Previously when containers were added to the upstream kolla project or
    added to our container list, the container build process might try and
    build them when we execute kolla-build. This change adds a image_source
    parameter that is used to understand when we should and should not
    attempt to build the container with kolla witht he 'overcloud container
    image build' command.

    Change-Id: I82d6e09c856f78c0b29d7324c59b5e00bf5ae04d
    Closes-BUg: #1801969

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-common 10.2.0 release.

Reviewed: https://review.openstack.org/644912
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=74ec63dc356a39ee11938c2e01f2c34dc0175e55
Submitter: Zuul
Branch: stable/rocky

commit 74ec63dc356a39ee11938c2e01f2c34dc0175e55
Author: Alex Schultz <email address hidden>
Date: Tue Nov 6 15:39:53 2018 -0700

    Add image_source to containers

    Previously when containers were added to the upstream kolla project or
    added to our container list, the container build process might try and
    build them when we execute kolla-build. This change adds a image_source
    parameter that is used to understand when we should and should not
    attempt to build the container with kolla witht he 'overcloud container
    image build' command.

    Change-Id: I82d6e09c856f78c0b29d7324c59b5e00bf5ae04d
    Closes-BUg: #1801969
    (cherry picked from commit 8abbdeb42300ed64f15f1041492ebc895e49dee9)

tags: added: in-stable-rocky

This issue was fixed in the openstack/tripleo-common 9.6.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers