Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1610657 - TripleO needs to support tagging images with architecture and platform information
TripleO needs to support tagging images with architecture and platform inform...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
13.0 (Queens)
ppc64le Linux
high Severity high
: z2
: 13.0 (Queens)
Assigned To: Tony Breeds
Artem Hrechanychenko
: Triaged, ZStream
: 1578651 (view as bug list)
Depends On:
Blocks: RHOS-13-ppc64le
  Show dependency treegraph
 
Reported: 2018-08-01 02:50 EDT by Tony Breeds
Modified: 2018-08-29 12:40 EDT (History)
8 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-8.0.4-9.el7ost openstack-tripleo-common-8.6.3-7.el7ost python-tripleoclient-9.2.3-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-08-29 12:39:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 535614 None master: MERGED tripleo-common: Allow platform in instackenv.json (Id82de41e7a49c2d8124fc74125ed51031579aa80) 2018-08-02 16:08 EDT
OpenStack gerrit 535615 None master: MERGED python-tripleoclient: Allow passing an agent-name as a command line argument (Ib8c6f944eb2fe492bfc561f543d5b3cd030e9907) 2018-08-02 16:08 EDT
OpenStack gerrit 535616 None master: MERGED python-tripleoclient: Introduce trivial helpers to manage image_files and names (If9b115880e9755f2753a2e53a5869e12a17722... 2018-08-02 16:08 EDT
OpenStack gerrit 535617 None master: MERGED python-tripleoclient: Always define properties for image even if empty (I136ae6c59bb4a4b3e12eb6a96bfbce732554bb4c) 2018-08-02 16:08 EDT
OpenStack gerrit 535618 None master: MERGED python-tripleoclient: Add --architecture support when uploading images (I352759014ce4c249d8391b03317012000221f96f) 2018-08-02 16:08 EDT
OpenStack gerrit 535619 None master: MERGED python-tripleoclient: Add --platform support when uploading images (Ia56d22b244cfa5dddb5d110b54a525dfd80a7aaf) 2018-08-02 16:08 EDT
OpenStack gerrit 535620 None master: MERGED python-tripleoclient: Actually use the arch and platform to select appropriate images (I7c84f3035853d8ee7b8d45895e7acce8... 2018-08-02 16:08 EDT
OpenStack gerrit 535621 None master: MERGED python-tripleoclient: Switch to using assert_has_calls() instead of assertEqual() (I996248f06ff47a7e20398848ae047eb4c222... 2018-08-02 16:08 EDT
OpenStack gerrit 540241 None master: MERGED tripleo-heat-templates: Add a ComputePPC64LE role (I9912139048fa11df447c0985e7d53fbcfee7e252) 2018-08-02 16:08 EDT
OpenStack gerrit 581545 None master: MERGED python-tripleoclient: Always set a hardware architecture on uploaded images (I082dfe34cf192f76f87e348aecb67e984e0c8ae9) 2018-08-02 16:07 EDT
OpenStack gerrit 587305 None stable/queens: NEW python-tripleoclient: Allow passing an agent-name as a command line argument (Ib8c6f944eb2fe492bfc561f543d5b3cd030e9907) 2018-08-02 16:07 EDT
OpenStack gerrit 587306 None stable/queens: NEW python-tripleoclient: Introduce trivial helpers to manage image_files and names (If9b115880e9755f2753a2e53a5869e12a17722... 2018-08-02 16:07 EDT
OpenStack gerrit 587307 None stable/queens: NEW python-tripleoclient: Always define properties for image even if empty (I136ae6c59bb4a4b3e12eb6a96bfbce732554bb4c) 2018-08-02 16:07 EDT
OpenStack gerrit 587308 None stable/queens: NEW python-tripleoclient: Add --architecture support when uploading images (I352759014ce4c249d8391b03317012000221f96f) 2018-08-02 16:07 EDT
OpenStack gerrit 587309 None stable/queens: NEW python-tripleoclient: Add --platform support when uploading images (Ia56d22b244cfa5dddb5d110b54a525dfd80a7aaf) 2018-08-02 16:07 EDT
OpenStack gerrit 587310 None stable/queens: NEW python-tripleoclient: Actually use the arch and platform to select appropriate images (I7c84f3035853d8ee7b8d45895e7acce8... 2018-08-02 16:07 EDT
OpenStack gerrit 587311 None stable/queens: NEW python-tripleoclient: Switch to using assert_has_calls() instead of assertEqual() (I996248f06ff47a7e20398848ae047eb4c222... 2018-08-02 16:07 EDT
OpenStack gerrit 587312 None stable/queens: NEW python-tripleoclient: Always set a hardware architecture on uploaded images (I082dfe34cf192f76f87e348aecb67e984e0c8ae9) 2018-08-02 16:07 EDT
OpenStack gerrit 587329 None stable/queens: NEW tripleo-common: Allow platform in instackenv.json (Id82de41e7a49c2d8124fc74125ed51031579aa80) 2018-08-02 16:07 EDT
OpenStack gerrit 587509 None master: MERGED python-tripleoclient: Fixup hard-coded hw_architecture in unittest (I344a4e660d29d73058623a7856e5835aa2b7c82d) 2018-08-02 16:07 EDT
OpenStack gerrit 587701 None stable/queens: NEW tripleo-heat-templates: Add a ComputePPC64LE role (I9912139048fa11df447c0985e7d53fbcfee7e252) 2018-08-02 16:06 EDT
OpenStack gerrit 588128 None stable/queens: NEW python-tripleoclient: Fixup hard-coded hw_architecture in unittest (I344a4e660d29d73058623a7856e5835aa2b7c82d) 2018-08-02 16:06 EDT
RDO 15131 None None None 2018-08-03 10:13 EDT
Red Hat Product Errata RHBA-2018:2574 None None None 2018-08-29 12:40 EDT

  None (edit)
Description Tony Breeds 2018-08-01 02:50:39 EDT
Currently tripleo works well on x86_64 systems as newer computing platforms gain trivial support for virtualisation more OpenStack services are expected to run on non-intel CPUS (ppc64le and aarch64 come to mind). This blueprint covers the work items to enable an x86_64 tripleo install to deploy/manage overcloud nodes running on these alternate architectures.
Comment 2 Tony Breeds 2018-08-02 01:19:57 EDT
*** Bug 1578651 has been marked as a duplicate of this bug. ***
Comment 8 Artem Hrechanychenko 2018-08-13 10:11:20 EDT
VERIFIED

(undercloud) [stack@undercloud-0 ~]$ rpm -qa "python-tripleoclient"
python-tripleoclient-9.2.3-4.el7ost.noarch

(undercloud) [stack@undercloud-0 ~]$ rpm -qa "openstack-tripleo-heat-templates"
openstack-tripleo-heat-templates-8.0.4-10.el7ost.noarch

(undercloud) [stack@undercloud-0 ~]$ rpm -qa "openstack-tripleo-common"
openstack-tripleo-common-8.6.3-7.el7ost.noarch


(undercloud) [stack@undercloud-0 ~]$ openstack overcloud image upload --image-path /home/stack/images/ --os-image-name overcloud-full.vmlinuz --architecture ppc64le
Image "ppc64le-overcloud-full-vmlinuz" was uploaded.
+--------------------------------------+--------------------------------+-------------+---------+--------+
|                  ID                  |              Name              | Disk Format |   Size  | Status |
+--------------------------------------+--------------------------------+-------------+---------+--------+
| 788b1213-881b-4441-a0b2-6ef214537e2d | ppc64le-overcloud-full-vmlinuz |     aki     | 6385968 | active |
+--------------------------------------+--------------------------------+-------------+---------+--------+
Image "ppc64le-overcloud-full-initrd" was uploaded.
+--------------------------------------+-------------------------------+-------------+----------+--------+
|                  ID                  |              Name             | Disk Format |   Size   | Status |
+--------------------------------------+-------------------------------+-------------+----------+--------+
| 39742b71-8435-46c3-a3f3-0ee8027256b9 | ppc64le-overcloud-full-initrd |     ari     | 62492359 | active |
+--------------------------------------+-------------------------------+-------------+----------+--------+
Image "ppc64le-overcloud-full" was uploaded.
+--------------------------------------+------------------------+-------------+------------+--------+
|                  ID                  |          Name          | Disk Format |    Size    | Status |
+--------------------------------------+------------------------+-------------+------------+--------+
| 5e7e661f-003f-45be-857e-05f85099baa3 | ppc64le-overcloud-full |    qcow2    | 1411252224 | active |
+--------------------------------------+------------------------+-------------+------------+--------+
Image "ppc64le-bm-deploy-kernel" was uploaded.
+--------------------------------------+--------------------------+-------------+---------+--------+
|                  ID                  |           Name           | Disk Format |   Size  | Status |
+--------------------------------------+--------------------------+-------------+---------+--------+
| 3136c749-847f-44be-a1c8-f40a18b783aa | ppc64le-bm-deploy-kernel |     aki     | 6385968 | active |
+--------------------------------------+--------------------------+-------------+---------+--------+
Image "ppc64le-bm-deploy-ramdisk" was uploaded.
+--------------------------------------+---------------------------+-------------+-----------+--------+
|                  ID                  |            Name           | Disk Format |    Size   | Status |
+--------------------------------------+---------------------------+-------------+-----------+--------+
| dc7f6521-f453-4240-aaba-ca64c4b2ca4d | ppc64le-bm-deploy-ramdisk |     ari     | 425530268 | active |
+--------------------------------------+---------------------------+-------------+-----------+--------+
Image file "/httpboot/agent.kernel" is up-to-date, skipping.
Image file "/httpboot/agent.ramdisk" is up-to-date, skipping.
(undercloud) [stack@undercloud-0 ~]$ openstack image show   ppc64le-bm-deploy-ramdisk |grep hw_architecture
| properties       | hw_architecture='ppc64le'
Comment 9 Joanne O'Flynn 2018-08-15 03:56:26 EDT
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Comment 10 Tony Breeds 2018-08-15 03:59:55 EDT
The docs associated with this bug are going to be delivered outside of the Errata process and are being tracked at: https://bugzilla.redhat.com/show_bug.cgi?id=1599782
Comment 12 errata-xmlrpc 2018-08-29 12:39:18 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2574

Note You need to log in before you can comment on or make changes to this bug.