Skip to content

Conversation

@danielclowers
Copy link
Contributor

@danielclowers danielclowers commented Dec 17, 2025

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 17, 2025
@danielclowers danielclowers changed the title CNV#57055: RN - Deprecate syntax - new virtctl port-forward / ssh / scp syntax CNV#57055: RN 4.21 - Deprecate syntax - new virtctl port-forward / ssh / scp syntax Dec 17, 2025
@ocpdocs-previewbot
Copy link

🤖 Wed Dec 17 19:16:19 - Prow CI generated the docs preview:

https://104093--ocpdocs-pr.netlify.app/openshift-enterprise/latest/virt/release_notes/virt-4-20-release-notes.html

@openshift-ci
Copy link

openshift-ci bot commented Dec 17, 2025

@danielclowers: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@danielclowers danielclowers changed the title CNV#57055: RN 4.21 - Deprecate syntax - new virtctl port-forward / ssh / scp syntax CNV#57055: RN 4.20 - Deprecate syntax - new virtctl port-forward / ssh / scp syntax Dec 17, 2025
@geetikakay
Copy link

lgtm

@jcanocan
Copy link

jcanocan commented Jan 5, 2026

I may be wrong, but IIUC the original PR of this: kubevirt/kubevirt#13939
What has changed is how the namespace information is specified, i.e., a / for a . symbol.

== Bug fixes

// CNV-71711
* The `virtctl ssh` command now requires specifying an explicit resource type when targeting a virtual machine. You must prefix the target name with `vmi/` or `vm/`. Scripts that relied on the previous syntax without a resource type might fail after upgrading. (link:https://issues.redhat.com/browse/CNV-71711[*CNV-71711*])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be under the "Deprecated features" section instead of "Bug fixes"?

== Bug fixes

// CNV-71711
* The `virtctl ssh` command now requires specifying an explicit resource type when targeting a virtual machine. You must prefix the target name with `vmi/` or `vm/`. Scripts that relied on the previous syntax without a resource type might fail after upgrading. (link:https://issues.redhat.com/browse/CNV-71711[*CNV-71711*])
Copy link
Contributor

@sjhala-ccs sjhala-ccs Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest rewording this to say something like the virtctl ssh type/name[.namespace] command syntax is now deprecated. Instead, use the virtctl ssh type/name[/namespace] syntax to access a VM via SSH.
It might be helpful to describe what the type, name, and namespace attributes specify in this context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants