)]}'
{"doc/source/admin/raid.rst":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fc6f40dff8ad718fec4c431745ba963a8bb8383f","unresolved":false,"context_lines":[{"line_number":384,"context_line":"Since Ironic needs to perform some additional steps when deploying nodes"},{"line_number":385,"context_line":"with software RAID, there are some requirements the deployed images need"},{"line_number":386,"context_line":"to fulfill. Up to and including the Train release, the image needs to"},{"line_number":387,"context_line":"have its root file system on the first partition. Starting with Train,"},{"line_number":388,"context_line":"this is no longer a restriction, but the image needs to have metadata to"},{"line_number":389,"context_line":"point Ironic to the partition with the root file system: the image needs"},{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_4def581b","line":387,"updated":"2020-01-10 18:58:40.000000000","message":"Ussuri?","commit_id":"21a720ec686c655454375b168c839ba0836ef7f8"},{"author":{"_account_id":11292,"name":"Arne Wiebalck","email":"Arne.Wiebalck@cern.ch","username":"wiebalck"},"change_message_id":"190e6546f702bfbbb06f23770aef4aec2e4b9712","unresolved":false,"context_lines":[{"line_number":384,"context_line":"Since Ironic needs to perform some additional steps when deploying nodes"},{"line_number":385,"context_line":"with software RAID, there are some requirements the deployed images need"},{"line_number":386,"context_line":"to fulfill. Up to and including the Train release, the image needs to"},{"line_number":387,"context_line":"have its root file system on the first partition. Starting with Train,"},{"line_number":388,"context_line":"this is no longer a restriction, but the image needs to have metadata to"},{"line_number":389,"context_line":"point Ironic to the partition with the root file system: the image needs"},{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_2420f29a","line":387,"in_reply_to":"3fa7e38b_4def581b","updated":"2020-01-14 11:06:21.000000000","message":"Oh, yes, absolutely, will fix.","commit_id":"21a720ec686c655454375b168c839ba0836ef7f8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fc6f40dff8ad718fec4c431745ba963a8bb8383f","unresolved":false,"context_lines":[{"line_number":389,"context_line":"point Ironic to the partition with the root file system: the image needs"},{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"},{"line_number":391,"context_line":"file system. Alternatively, the ``root_uuid_or_disk_id`` in the node\u0027s"},{"line_number":392,"context_line":"\u0027internal_driver_info\u0027 needs to be populated with the UUID. This is the"},{"line_number":393,"context_line":"same place this information is taken from for partition images."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"Using RAID in nova flavor for scheduling"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_edd96483","line":392,"updated":"2020-01-10 18:58:40.000000000","message":"This sounds like an operator can populate internal_driver_info, which is not possible. Let us rephrase in terms of something actionable.","commit_id":"21a720ec686c655454375b168c839ba0836ef7f8"},{"author":{"_account_id":11292,"name":"Arne Wiebalck","email":"Arne.Wiebalck@cern.ch","username":"wiebalck"},"change_message_id":"190e6546f702bfbbb06f23770aef4aec2e4b9712","unresolved":false,"context_lines":[{"line_number":389,"context_line":"point Ironic to the partition with the root file system: the image needs"},{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"},{"line_number":391,"context_line":"file system. Alternatively, the ``root_uuid_or_disk_id`` in the node\u0027s"},{"line_number":392,"context_line":"\u0027internal_driver_info\u0027 needs to be populated with the UUID. This is the"},{"line_number":393,"context_line":"same place this information is taken from for partition images."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"Using RAID in nova flavor for scheduling"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_041b766f","line":392,"in_reply_to":"3fa7e38b_edd96483","updated":"2020-01-14 11:06:21.000000000","message":"How is this populated for partition images? I could not find in our docs how this is done.\n\nOr this is an admin vs operator role question?\n\nI rephrased now to give less of an impression this can be done by the admin, but I agree it would be much better if we could point to something how things are actually working.","commit_id":"21a720ec686c655454375b168c839ba0836ef7f8"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7dd8852a811d4bd018d019e894a17d2807fcac5e","unresolved":false,"context_lines":[{"line_number":385,"context_line":"with software RAID, there are some requirements the deployed images need"},{"line_number":386,"context_line":"to fulfill. Up to and including the Train release, the image needs to"},{"line_number":387,"context_line":"have its root file system on the first partition. Starting with Ussuri,"},{"line_number":388,"context_line":"this is no longer a restriction, but the image needs to have metadata to"},{"line_number":389,"context_line":"point Ironic to the partition with the root file system: the image needs"},{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"},{"line_number":391,"context_line":"file system. If not provided via the image metadata, the root fs UUID"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df33271e_22b1c790","line":388,"range":{"start_line":388,"start_character":33,"end_line":388,"end_character":69},"updated":"2020-04-07 12:48:22.000000000","message":"Let\u0027s make it clear that we\u0027re talking about the glance case. For standalone ironic it still has to be the first partition, unless we accept an explicit instance_info field (we probably should).","commit_id":"975f8c6be8eeee4768fe628e9f34fc45c348ad95"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7dd8852a811d4bd018d019e894a17d2807fcac5e","unresolved":false,"context_lines":[{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"},{"line_number":391,"context_line":"file system. If not provided via the image metadata, the root fs UUID"},{"line_number":392,"context_line":"will be taken from the ``root_uuid_or_disk_id`` field in the node\u0027s"},{"line_number":393,"context_line":"\u0027internal_driver_info\u0027, i.e. from the same place this information is taken"},{"line_number":394,"context_line":"from for partition images."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"Using RAID in nova flavor for scheduling"}],"source_content_type":"text/x-rst","patch_set":2,"id":"df33271e_22038744","line":393,"range":{"start_line":393,"start_character":0,"end_line":393,"end_character":22},"updated":"2020-04-07 12:48:22.000000000","message":"Let\u0027s not mention internal_driver_info, it\u0027s not writeable by users.","commit_id":"975f8c6be8eeee4768fe628e9f34fc45c348ad95"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"4fe5801470077b99adcaa2a1e9897ef2f9d9daca","unresolved":false,"context_lines":[{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"},{"line_number":391,"context_line":"file system. If not provided via the image metadata, the root fs UUID"},{"line_number":392,"context_line":"will be taken from the ``root_uuid_or_disk_id`` field in the node\u0027s"},{"line_number":393,"context_line":"\u0027internal_driver_info\u0027, i.e. from the same place this information is taken"},{"line_number":394,"context_line":"from for partition images."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"Using RAID in nova flavor for scheduling"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_7981a1c2","line":393,"updated":"2020-01-13 20:35:48.000000000","message":"so ironic stashes this value into internal_driver_info. This value comes from our ramdisk/IPA. And that code gets it from... hmm.. Is it correct to say that if the image doesn\u0027t have a \u0027rootfs_uuid\u0027 property, then we use/assume that the root file system is on the first partition (as per Train or earlier)?\n\nNote -- I\u0027m being lazy; don\u0027t know what changes were made to support software raid so just guessing here :)\n\nI\u0027d like to avoid using internal_driver_info since that is internal. I am ok mentioning it as a side note or in parenthesis.  (And I see that our release notes explicitly mention that it comes from internal_driver_info: releasenotes/notes/sofware_raid_use_rootfs_uuid-f61eb671d696d251.yaml)","commit_id":"975f8c6be8eeee4768fe628e9f34fc45c348ad95"},{"author":{"_account_id":11292,"name":"Arne Wiebalck","email":"Arne.Wiebalck@cern.ch","username":"wiebalck"},"change_message_id":"190e6546f702bfbbb06f23770aef4aec2e4b9712","unresolved":false,"context_lines":[{"line_number":390,"context_line":"to have a ``rootfs_uuid`` property with the file system UUID of the root"},{"line_number":391,"context_line":"file system. If not provided via the image metadata, the root fs UUID"},{"line_number":392,"context_line":"will be taken from the ``root_uuid_or_disk_id`` field in the node\u0027s"},{"line_number":393,"context_line":"\u0027internal_driver_info\u0027, i.e. from the same place this information is taken"},{"line_number":394,"context_line":"from for partition images."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"Using RAID in nova flavor for scheduling"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_361b2b1e","line":393,"in_reply_to":"3fa7e38b_7981a1c2","updated":"2020-01-14 11:06:21.000000000","message":"There are two points here: where does the conductor get the root fs UUID from to pass it to the IPA, and what does the IPA try to find the root partition.\n\nThe proposed change for ironic tries to get the UUID from the image metadata and falls back to internal_driver_info (which was the default before).\n\nThe proposed change for the IPA tries to use the info passed from the conductor and falls back to the first partition if that fails (which is the current behaviour).","commit_id":"975f8c6be8eeee4768fe628e9f34fc45c348ad95"}]}
