-
Notifications
You must be signed in to change notification settings - Fork 47
Conversation
Signed-off-by: James Slagle <[email protected]>
94875b0
to
934bc9f
Compare
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-rpms.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-rpms.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-rpms.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-rpms.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-rpms.adoc
Outdated
Show resolved
Hide resolved
docs/assemblies/proc_hotfixing-the-data-plane-container-content-rpms.adoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi James, this looks really good. I've added some suggestions to align your content with our style guidance, and to add some punctuation. No deal-breakers ;-)
Thank you!
docs/assemblies/proc_hotfixing-the-data-plane-container-content-rpms.adoc
Show resolved
Hide resolved
Co-authored-by: igallagh-redhat <[email protected]>
8cbf701
to
a956816
Compare
Signed-off-by: James Slagle <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+2
+ | ||
---- | ||
$ ssh <ssh_user>@<data_plane_node> | ||
$ sudo rpm -F /tmp/hotfix-rpms/*.rpm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is diffrent dir path, then in scp command above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
|
||
. Update the affected `OpenStackDataPlaneNodeSet` resources by customizing the container locations to the hotfixed container locations. For more information about how to set the hotfixed container locations, see <<_customizing_container_image_locations>>. | ||
|
||
. Create a new `OpenStackDataPlaneDeployment` resource that deploys the affected `OpenStackDataPlaneNodeSet` resources. For more information about how to create `OpenStackDataPlaneDeployment` resources, see <<proc_deploying-the-data-plane_{context}>>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make more sense to update openstackdataplanenodeset instead? Hotfixed image may be gone away on next 'normal' openstackdataplanedeployment run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does say to update OpenStackDataPlaneNodeSet
+ | ||
* Replace `<hotfix_id>` with a hotfix identifier such as a Jira issue, for example `osprh-0000`. | ||
|
||
. Create a container image tagged with your registry account details and a hotfix identifier: | ||
---- | ||
$ updated_container="<updated_container_registry>/<updated_container_project>/<container_image>:<hotfix_id>" | ||
$ container=$(buildah from <container_registry>/<container_project>/<container_image>:<container_tag>) | ||
$ buildah run --user root $container mkdir -p /<hotfix_id>/rpms | ||
$ buildah copy --user root $container <hotfix_id>/rpms/*.rpm /hotfix_id/rpms | ||
$ buildah run --user root rpm -F /<hotfix_id/rpms/*.rpm | ||
$ buildah commit $container $updated_container | ||
$ buildah push $updated_container | ||
---- | ||
+ | ||
* Replace `<hotfix_id>` with a hotfix identifier such as a Jira issue, for example `osprh-0000`. | ||
* Replace `<updated_container_registry>` with a container registry to serve the updated container image. The OCP internal container image registry can be used. | ||
* Replace `<updated_container_project>` with a container project to use for the updated container image. | ||
* Replace `<container_project>` with the container project for the container being updated. | ||
* Replace `<container_registry>` with the container registry for the container being updated. | ||
* Replace `<container_image>` with the container image being updated. | ||
* Replace `<container_tag>` with the container tag being updated. | ||
+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, thanks.
Signed-off-by: James Slagle <[email protected]>
docs/assemblies/proc_hotfixing-the-data-plane-container-content-images.adoc
Show resolved
Hide resolved
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: igallagh-redhat, slagle The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: James Slagle [email protected]