Project

General

Profile

Feature #30777

re-attach serial console device

Added by Vaibhav Chauhan about 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
Category:
GUI (new)
Estimated time:
(Total: 0.00 h)
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

as https://redmine.ixsystems.com/issues/30225 requests ability to add serial console via a new UI shell, I have run into issue of reattaching to already running serial console as described as a comment in #30225

erin and i have decided to create a python script which is executed by the front end, which kills serial console and reruns cu -l /dev/<vmid> to reattach to the console.

please let us know if this is the right approach or not, or if there are any changes needed to be done.


Subtasks

Bug #30870: Ensure shell is killed on connection closeDoneWilliam Grzybowski

Related issues

Related to FreeNAS - Feature #30225: VNC button for VMs should be Connect button with multiple connection protocolsDone2018-03-19

Associated revisions

Revision 87f273c0 (diff)
Added by vaibhav-rbs about 2 years ago

added attachconsole.py script for serial console. ticket: #30777

History

#1 Updated by Vaibhav Chauhan about 2 years ago

  • Related to Feature #30225: VNC button for VMs should be Connect button with multiple connection protocols added

#2 Updated by Vaibhav Chauhan about 2 years ago

  • Status changed from In Progress to Not Started
  • Assignee changed from Vaibhav Chauhan to Marcelo Araujo
  • Priority changed from Nice to have to Expected
  • Target version changed from Master - FreeNAS Nightlies to 11.2-BETA1

I think this needs work from middleware side to determine what needs to be done to enable re-attach serial console device.

#3 Updated by Vaibhav Chauhan about 2 years ago

  • Related to deleted (Feature #30225: VNC button for VMs should be Connect button with multiple connection protocols)

#4 Updated by Vaibhav Chauhan about 2 years ago

  • Blocks Feature #30225: VNC button for VMs should be Connect button with multiple connection protocols added

#5 Avatar?id=13649&size=24x24 Updated by Ben Gadd about 2 years ago

  • Due date set to 03/29/2018

#6 Updated by Marcelo Araujo about 2 years ago

  • Status changed from Not Started to In Progress

There is an issue with the UI webshell, it left the process hang in the system.

How to simulate this issue:
1) Connect on FreeNAS using the new UI.
2) Click in "Display System Processes"
3) click in any other menu option.
4) Do steps 2 and 3 several times.
5) Connect via ssh into FreeNAS.
6) Run: ps ax | grep top | wc -l

Also it happens when you open the "Shell", you can do the exactly same steps above running any other command in the shell as an example: gstat(8)
So, the problem here is, when we launch the shell and run 'cu' to connect on VM guest console, right after we close the shell, the process is hanging there for forever.

I have spoke with vb@ already, it seems to be a Webshell issue and not direct related with 'cu'

I will hold this ticket to make a follow up with vb@, but the issue should be fixed at webshell side.

Br,

#7 Updated by Vaibhav Chauhan about 2 years ago

  • Status changed from In Progress to Not Started
  • Assignee changed from Marcelo Araujo to Dru Lavigne

this ticket is not applicable anymore as a result of fix of https://redmine.ixsystems.com/issues/30870. please mark this ticket as closed.

#8 Updated by Vaibhav Chauhan about 2 years ago

  • Blocks deleted (Feature #30225: VNC button for VMs should be Connect button with multiple connection protocols)

#9 Updated by Dru Lavigne about 2 years ago

  • Assignee changed from Dru Lavigne to Vaibhav Chauhan
  • Target version changed from 11.2-BETA1 to 11.2-RC2

Notes this ticket can not be closed until the subtask is complete.

#10 Updated by Vaibhav Chauhan about 2 years ago

  • Assignee changed from Vaibhav Chauhan to Dru Lavigne

subtask is now complete please close

#11 Updated by Dru Lavigne about 2 years ago

  • Related to Feature #30225: VNC button for VMs should be Connect button with multiple connection protocols added

#12 Updated by Dru Lavigne about 2 years ago

  • Category changed from Middleware to GUI (new)
  • Status changed from Not Started to Done
  • Assignee changed from Dru Lavigne to Vaibhav Chauhan
  • Target version changed from 11.2-RC2 to Master - FreeNAS Nightlies
  • Needs Merging changed from Yes to No

Also available in: Atom PDF