Allow building images if parent was skipped
Allow building images if parent was skipped

This fixes a bug where if an image had a parent that was skipped, it
would never get built. Normally when a parent finishes building it
triggers the build of its children. This process is kicked off by Kolla
finding the grandparents that have no parents above them. However,
sometimes parents should be skipped, and in this case they would never
get scheduled, and so their children would never build, producing a
strange error without much information.

Fix is to allow building an image if its parent is explicitly marked as
having been skipped.

The use-case for this is when you want to iterate on building an
image without going through the cost of re-running the parent builds. In
particular, if your builds are using Git sources, which break Docker
caches, the cost of parent builds is high and the feedback loop during
development has a much higher latency. Allowing some way for images
to be rebuilt in a targeted manner is helpful when in the development
phase.

Change-Id: I6b6897d20626825bcd235b9a85859644effbd222
Closes-Bug: #1810979

openstack/kolla,stackforge/kolla,rahulunair/kolla,openstack/kolla,stackforge/kolla,stackforge/kolla,rahulunair/kolla