Clean up debug logs when building images

Bug #1513904 reported by Diogo Monteiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Wishlist
Sajauddin

Bug Description

When debug mode is set while building the images from source some logs state that it wasn't able to find the source for some services. However, the source for those services are coming from other base service images.
To avoid confusion the logs should be omitted for services that depend on the base image of other services.

Example: tools/build.py --type source

Logs:
DEBUG:__main__:Found /nova/nova-consoleauth
DEBUG:__main__:Found /nova/nova-network
DEBUG:__main__:Found /nova/nova-conductor
DEBUG:__main__:Found /nova/nova-scheduler
DEBUG:__main__:Found /nova/nova-compute
DEBUG:__main__:Found /nova/nova-api
DEBUG:__main__:Found /nova/nova-base
DEBUG:__main__:Found /nova/nova-libvirt
DEBUG:__main__:Found /nova/nova-novncproxy
DEBUG:__main__:Found /gnocchi/gnocchi-api
DEBUG:__main__:Found /gnocchi/gnocchi-base
DEBUG:__main__:Found /gnocchi/gnocchi-statsd
DEBUG:__main__:Found /rabbitmq
DEBUG:__main__:Found /kolla-ansible
DEBUG:__main__:Found /mongodb
DEBUG:__main__:Found /haproxy
DEBUG:__main__:Found /openstack-base
DEBUG:__main__:Found /keystone
DEBUG:__main__:Found /cinder/cinder-backup
DEBUG:__main__:Found /cinder/cinder-volume
DEBUG:__main__:Found /cinder/cinder-api
DEBUG:__main__:Found /cinder/cinder-scheduler
DEBUG:__main__:Found /cinder/cinder-base
DEBUG:__main__:Found /heat/heat-base
DEBUG:__main__:Found /heat/heat-api
DEBUG:__main__:Found /heat/heat-api-cfn
DEBUG:__main__:Found /heat/heat-engine
DEBUG:__main__:Found /mariadb
DEBUG:__main__:Found /openvswitch/openvswitch-base
DEBUG:__main__:Found /openvswitch/openvswitch-db-server
DEBUG:__main__:Found /openvswitch/openvswitch-vswitchd
DEBUG:__main__:Found /logging/rsyslog
DEBUG:__main__:Found /base
DEBUG:__main__:Found /swift/swift-object-server
DEBUG:__main__:Found /swift/swift-account-reaper
DEBUG:__main__:Found /swift/swift-account-auditor
DEBUG:__main__:Found /swift/swift-container-auditor
DEBUG:__main__:Found /swift/swift-object-auditor
DEBUG:__main__:Found /swift/swift-object-replicator
DEBUG:__main__:Found /swift/swift-proxy-server
DEBUG:__main__:Found /swift/swift-object-base
DEBUG:__main__:Found /swift/swift-object-expirer
DEBUG:__main__:Found /swift/swift-base
DEBUG:__main__:Found /swift/swift-container-replicator
DEBUG:__main__:Found /swift/swift-account-server
DEBUG:__main__:Found /swift/swift-object-updater
DEBUG:__main__:Found /swift/swift-account-replicator
DEBUG:__main__:Found /swift/swift-rsyncd
DEBUG:__main__:Found /swift/swift-container-updater
DEBUG:__main__:Found /swift/swift-container-server
DEBUG:__main__:Found /memcached
DEBUG:__main__:Found /neutron/neutron-agents
DEBUG:__main__:Found /neutron/neutron-openvswitch-agent
DEBUG:__main__:Found /neutron/neutron-linuxbridge-agent
DEBUG:__main__:Found /neutron/neutron-server
DEBUG:__main__:Found /neutron/neutron-base
DEBUG:__main__:Found /murano/murano-api
DEBUG:__main__:Found /murano/murano-base
DEBUG:__main__:Found /murano/murano-engine
DEBUG:__main__:Found /data
DEBUG:__main__:Found /designate/designate-api
DEBUG:__main__:Found /designate/designate-base
DEBUG:__main__:Found /designate/designate-backend-bind9
DEBUG:__main__:Found /designate/designate-poolmanager
DEBUG:__main__:Found /designate/designate-central
DEBUG:__main__:Found /designate/designate-mdns
DEBUG:__main__:Found /designate/designate-sink
DEBUG:__main__:Found /zaqar
DEBUG:__main__:Found /keepalived
DEBUG:__main__:Found /horizon
DEBUG:__main__:Found /magnum/magnum-conductor
DEBUG:__main__:Found /magnum/magnum-api
DEBUG:__main__:Found /magnum/magnum-base
DEBUG:__main__:Found /ceilometer/ceilometer-alarm
DEBUG:__main__:Found /ceilometer/ceilometer-collector
DEBUG:__main__:Found /ceilometer/ceilometer-base
DEBUG:__main__:Found /ceilometer/ceilometer-api
DEBUG:__main__:Found /ceilometer/ceilometer-notification
DEBUG:__main__:Found /ceilometer/ceilometer-central
DEBUG:__main__:Found /ceilometer/ceilometer-compute
DEBUG:__main__:Found /ironic/ironic-api
DEBUG:__main__:Found /ironic/ironic-discoverd
DEBUG:__main__:Found /ironic/ironic-conductor
DEBUG:__main__:Found /ironic/ironic-pxe
DEBUG:__main__:Found /ironic/ironic-base
DEBUG:__main__:Found /ceph/ceph-base
DEBUG:__main__:Found /ceph/ceph-osd
DEBUG:__main__:Found /ceph/ceph-mon
DEBUG:__main__:Found /glance/glance-registry
DEBUG:__main__:Found /glance/glance-api
DEBUG:__main__:Found /glance/glance-base
DEBUG:__main__:Found 91 Dockerfiles
DEBUG:__main__:Set atime and mtime to 0 for all content in working dir
DEBUG:__main__:nova-consoleauth:No source location found
DEBUG:__main__:nova-network:No source location found
DEBUG:__main__:nova-conductor:No source location found
DEBUG:__main__:nova-scheduler:No source location found
DEBUG:__main__:nova-compute:No source location found
DEBUG:__main__:nova-api:No source location found
DEBUG:__main__:nova-libvirt:No source location found
DEBUG:__main__:gnocchi-api:No source location found
DEBUG:__main__:gnocchi-statsd:No source location found
DEBUG:__main__:rabbitmq:No source location found
DEBUG:__main__:kolla-ansible:No source location found
DEBUG:__main__:mongodb:No source location found
DEBUG:__main__:haproxy:No source location found
DEBUG:__main__:cinder-backup:No source location found
DEBUG:__main__:cinder-volume:No source location found
DEBUG:__main__:cinder-api:No source location found
DEBUG:__main__:cinder-scheduler:No source location found
DEBUG:__main__:heat-api:No source location found
DEBUG:__main__:heat-api-cfn:No source location found
DEBUG:__main__:heat-engine:No source location found
DEBUG:__main__:mariadb:No source location found
DEBUG:__main__:openvswitch-base:No source location found
DEBUG:__main__:openvswitch-db-server:No source location found
DEBUG:__main__:openvswitch-vswitchd:No source location found
DEBUG:__main__:rsyslog:No source location found
DEBUG:__main__:base:No source location found
DEBUG:__main__:swift-object-server:No source location found
DEBUG:__main__:swift-account-reaper:No source location found
DEBUG:__main__:swift-account-auditor:No source location found
DEBUG:__main__:swift-container-auditor:No source location found
DEBUG:__main__:swift-object-auditor:No source location found
DEBUG:__main__:swift-object-replicator:No source location found
DEBUG:__main__:swift-proxy-server:No source location found
DEBUG:__main__:swift-object-base:No source location found
DEBUG:__main__:swift-object-expirer:No source location found
DEBUG:__main__:swift-container-replicator:No source location found
DEBUG:__main__:swift-account-server:No source location found
DEBUG:__main__:swift-object-updater:No source location found
DEBUG:__main__:swift-account-replicator:No source location found
DEBUG:__main__:swift-rsyncd:No source location found
DEBUG:__main__:swift-container-updater:No source location found
DEBUG:__main__:swift-container-server:No source location found
DEBUG:__main__:memcached:No source location found
DEBUG:__main__:neutron-agents:No source location found
DEBUG:__main__:neutron-openvswitch-agent:No source location found
DEBUG:__main__:neutron-linuxbridge-agent:No source location found
DEBUG:__main__:neutron-server:No source location found
DEBUG:__main__:murano-api:No source location found
DEBUG:__main__:murano-engine:No source location found
DEBUG:__main__:data:No source location found
DEBUG:__main__:designate-api:No source location found
DEBUG:__main__:designate-backend-bind9:No source location found
DEBUG:__main__:designate-poolmanager:No source location found
DEBUG:__main__:designate-central:No source location found
DEBUG:__main__:designate-mdns:No source location found
DEBUG:__main__:designate-sink:No source location found
DEBUG:__main__:keepalived:No source location found
DEBUG:__main__:magnum-conductor:No source location found
DEBUG:__main__:magnum-api:No source location found
DEBUG:__main__:ceilometer-alarm:No source location found
DEBUG:__main__:ceilometer-collector:No source location found
DEBUG:__main__:ceilometer-api:No source location found
DEBUG:__main__:ceilometer-notification:No source location found
DEBUG:__main__:ceilometer-central:No source location found
DEBUG:__main__:ceilometer-compute:No source location found
DEBUG:__main__:ironic-api:No source location found
DEBUG:__main__:ironic-discoverd:No source location found
DEBUG:__main__:ironic-conductor:No source location found
DEBUG:__main__:ironic-pxe:No source location found
DEBUG:__main__:ceph-base:No source location found
DEBUG:__main__:ceph-osd:No source location found
DEBUG:__main__:ceph-mon:No source location found
DEBUG:__main__:glance-registry:No source location found
DEBUG:__main__:glance-api:No source location found

Revision history for this message
Steven Dake (sdake) wrote :

Really low priority since its a debug message imo.

Changed in kolla:
importance: Undecided → Low
status: New → Triaged
milestone: none → mitaka-1
importance: Low → Wishlist
importance: Wishlist → Low
Revision history for this message
Sam Yaple (s8m) wrote :

Im not even sure I would call this a bug. This was a decision that was explicitly made to show that output (because it is debug). That way the gate has enough information for us to determine issues.

Steven Dake (sdake)
Changed in kolla:
milestone: mitaka-1 → mitaka-2
Steven Dake (sdake)
Changed in kolla:
milestone: mitaka-2 → mitaka-3
Steven Dake (sdake)
Changed in kolla:
milestone: mitaka-3 → mitaka-rc1
Steven Dake (sdake)
Changed in kolla:
milestone: mitaka-rc1 → mitaka-rc2
Steven Dake (sdake)
Changed in kolla:
importance: Low → Wishlist
milestone: mitaka-rc2 → newton-1
Changed in kolla:
milestone: newton-1 → newton-2
tags: added: low-hanging-fruit
Changed in kolla:
milestone: newton-2 → newton-3
Changed in kolla:
assignee: nobody → Sajauddin (sajauddin-mohammad)
status: Triaged → In Progress
Revision history for this message
Sajauddin (sajauddin-mohammad) wrote :
Changed in kolla:
status: In Progress → Fix Committed
Changed in kolla:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0b3

This issue was fixed in the openstack/kolla 3.0.0.0b3 development milestone.

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.