Hi,
I think the only place where we keep architecture (i386, x86_64)
information in warehouse is in a template XML. This is not ideal because
then we are not able to effectively check if user chose hardware profile
with same architecture when launching an instance - it's described in
this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=723680
If I want to check hwp architecture matching for a deployable, I need to
fetch first Deployable -> first assembly -> first image -> first build
-> template and parse architecture from xml. And this works only if it's
not imported image (imported images has not template association at all).
So question is - could we keep architecture as an attribute of image
object in warehouse (alternatively attribute of image build, but
architecture is set in template so all builds has same architecture)?
And second question, could we set image architecture when importing an
image?
Jan