Bug 1610657 - TripleO needs to support tagging images with architecture and platform information
Summary: TripleO needs to support tagging images with architecture and platform inform...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: ppc64le
OS: Linux
high
high
Target Milestone: z2
: 13.0 (Queens)
Assignee: Tony Breeds
QA Contact: Artem Hrechanychenko
URL:
Whiteboard:
: 1578651 (view as bug list)
Depends On:
Blocks: RHOS-13-ppc64le
TreeView+ depends on / blocked
 
Reported: 2018-08-01 06:50 UTC by Tony Breeds
Modified: 2018-12-24 11:40 UTC (History)
8 users (show)

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:
Clone Of:
Environment:
Last Closed: 2018-08-29 16:39:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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

Description Tony Breeds 2018-08-01 06:50:39 UTC
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 05:19:57 UTC
*** Bug 1578651 has been marked as a duplicate of this bug. ***

Comment 8 Artem Hrechanychenko 2018-08-13 14:11:20 UTC
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 07:56:26 UTC
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 07:59:55 UTC
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 16:39:18 UTC
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.