)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"ad5562326c45fa4fa7d4b4e763ae93f8bc026134","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix for ssh disallow not working in amphora image"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently openssh-server package is not getting uninstalled even after passing \"-n\" flag as per the process while generating amphora image. So the generated image still allows ssh. Removing package-installs.yaml file from remove-sshd element as openssh-server is unable to uninstall using this file as this package is getting installed by amphora-agent element https://opendev.org/openstack/octavia/src/branch/master/elements/amphora-agent/package-installs.yaml#L76. So moving the openssh-server package removal part to post installation section of remove-sshd element."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I17d3725fabdfce4b0d1bafe301e435992e1d5e13"},{"line_number":12,"context_line":"Signed-off-by: Manoja Kumar Sahu \u003cmanoja.sahu@rackspace.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"65dd9afc_22a001f7","line":9,"range":{"start_line":9,"start_character":245,"end_line":9,"end_character":298},"updated":"2025-05-07 08:47:15.000000000","message":"any ideas why it doesn\u0027t work?","commit_id":"985843b2b2f9976bfb9a5587162ec7e10adb7adc"},{"author":{"_account_id":37981,"name":"Manoja Kumar Sahu","display_name":"Manoja Kumar Sahu","email":"manoja.sahu@rackspace.com","username":"manojacloud"},"change_message_id":"120d3c3014d06cc407e9e75fe02d141fe1717adb","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix for ssh disallow not working in amphora image"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently openssh-server package is not getting uninstalled even after passing \"-n\" flag as per the process while generating amphora image. So the generated image still allows ssh. Removing package-installs.yaml file from remove-sshd element as openssh-server is unable to uninstall using this file as this package is getting installed by amphora-agent element https://opendev.org/openstack/octavia/src/branch/master/elements/amphora-agent/package-installs.yaml#L76. So moving the openssh-server package removal part to post installation section of remove-sshd element."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: I17d3725fabdfce4b0d1bafe301e435992e1d5e13"},{"line_number":12,"context_line":"Signed-off-by: Manoja Kumar Sahu \u003cmanoja.sahu@rackspace.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fc120931_f7d92b79","line":9,"range":{"start_line":9,"start_character":245,"end_line":9,"end_character":298},"in_reply_to":"65dd9afc_22a001f7","updated":"2025-05-07 13:33:14.000000000","message":"@gthiemon@redhat.com - I have pasted the logs of amphora image creation logs (used -n to disable ssh) here https://gist.github.com/manojacloud/8fdfdce707937c1e6e4bfc2e1e951438. openssh-server is getting installed as part of amphora-agent element (line no. 2122 in the gist) and it is trying to uninstall the same package using remove-sshd element (line no. 2170 in gist). However, in final_dict (line no. 2171) the installation part takes precedence somehow and openssh-server comes under install part and it is getting installed. Ans uninstall doesn\u0027t happen for openssh-server. So I am moving openssh-server uninstall part to post-install section as it will execute after package installation. Hence please take a look and let me know.","commit_id":"985843b2b2f9976bfb9a5587162ec7e10adb7adc"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":37981,"name":"Manoja Kumar Sahu","display_name":"Manoja Kumar Sahu","email":"manoja.sahu@rackspace.com","username":"manojacloud"},"change_message_id":"ff987eb306aaa25ee6c50fd8fdc99ffc0285efe6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"7499709d_afb68e68","updated":"2025-05-08 06:11:25.000000000","message":"@johnsomor@gmail.com - We are using Ubuntu 22.04 OS to generate the amphora image. I have raised a bug https://bugs.launchpad.net/octavia/+bug/2110186 as suggested by you.","commit_id":"985843b2b2f9976bfb9a5587162ec7e10adb7adc"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"e48ed483d63784bfb26a6a0b22838784b2b36f3a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"d0d80239_65370801","updated":"2025-05-08 00:44:19.000000000","message":"I want to investigate this further.\nThe function we are using is provided by the diskimage-builder project, so if this is not working DIB may need a fix or the package name may have changed in the distro and we need to add an alias.\nCan you open a launchpad bug for this and include which operating system you are using for the amphora? Name and version please.","commit_id":"985843b2b2f9976bfb9a5587162ec7e10adb7adc"}]}
