drop netcat dependency

Bug #1855890 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netcat (Ubuntu)
Undecided
Unassigned
nova (Ubuntu)
High
Unassigned

Bug Description

nova depends on netcat, which is no longer in Ubuntu main, but there are no references in the code to this tool.

Revision history for this message
James Page (james-page) wrote :

diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py
index 064c2688fa..29ddfa184b 100644
--- a/nova/virt/libvirt/connection.py
+++ b/nova/virt/libvirt/connection.py
@@ -704,7 +704,7 @@ class LibvirtConnection(driver.ComputeDriver):
         token = str(uuid.uuid4())
         host = instance['host']

- ajaxterm_cmd = 'sudo socat - %s' \
+ ajaxterm_cmd = 'sudo netcat - %s' \
                        % get_pty_for_instance(instance['name'])

         cmd = ['%s/tools/ajaxterm/ajaxterm.py' % utils.novadir(),

Revision history for this message
James Page (james-page) wrote :

Used to be used; no longer needed.

Changed in netcat (Ubuntu):
status: Incomplete → Invalid
Changed in nova (Ubuntu):
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → High
milestone: none → ubuntu-19.12
summary: - [MIR] netcat?
+ drop netcat dependency
Revision history for this message
James Page (james-page) wrote :

Committed to packaging git repo, will be included in the next upload.

Changed in nova (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

James, sorry I messed this up a bit. I just uploaded a new snapshot without your change. The snapshot drops nova-network though so this bug is fixed in it.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Moving this to fix released. The nova-network binary package was dropped in focal and netcat was a direct dependency of it.

Changed in nova (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers