Author Topic: Troubleshooting sshd openbmc host via port 2200 after upgrading to 2.0  (Read 6615 times)

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
After upgrading BMC to 2.0, I could no longer ssh into port 2200 to see serial port output.

I can see that `obmc-console-ssh@0-192.168.1.102:2200-192.168.1.146:56308.service` failed to start in openbmc.

Wondering if it is related to the issue...


Code: [Select]
$ systemctl | grep ssh
● obmc-console-ssh@0-192.168.1.102:2200-192.168.1.146:56308.service   loaded failed failed    Phosphor Host Console SSH Per-Connection (192.168.1.146:56308)


$ journactl -u obmc-console-ssh@0-192.168.1.102:2200-192.168.1.146:56308.service
-- Logs begin at Sun 2020-02-23 07:38:52 UTC, end at Sun 2020-02-23 07:47:44 UTC. -
-
Feb 23 07:43:32 blackbird systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mobmc-console-ssh@0
-192.168.1.102:2200-192.168.1.146:56308.service: Failed to load environment files:
No such file or directory[[0m
Feb 23 07:43:32 blackbird systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mobmc-console-ssh@0
-192.168.1.102:2200-192.168.1.146:56308.service: Failed to run 'start' task: No suc
h file or directory[[0m
Feb 23 07:43:32 blackbird systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mobmc-console-ssh@0
-192.168.1.102:2200-192.168.1.146:56308.service: Failed with result 'resources'.[[0
m
Feb 23 07:43:33 blackbird systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start Ph
osphor Host Console SSH Per-Connection (192.168.1.146:56308).[[0m
Feb 23 07:46:59 blackbird systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mobmc-console-ssh@0
-192.168.1.102:2200-192.168.1.146:56308.service: Got no socket.[[0m
Feb 23 07:46:59 blackbird systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mobmc-console-ssh@0
-192.168.1.102:2200-192.168.1.146:56308.service: Failed to run 'start' task: Invali
d argument[[0m
Feb 23 07:46:59 blackbird systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mobmc-console-ssh@0
-192.168.1.102:2200-192.168.1.146:56308.service: Failed with result 'resources'.[[0
m
Feb 23 07:46:59 blackbird systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start Ph
osphor Host Console SSH Per-Connection (192.168.1.146:56308).[[0m
Faithful Linux enthusiast

My Raptor Blackbird

SiteAdmin

  • Administrator
  • *****
  • Posts: 41
  • Karma: +15/-0
  • RCS Staff
    • View Profile
Re: Troubleshooting sshd openbmc host via port 2200 after upgrading to 2.0
« Reply #1 on: February 23, 2020, 05:03:39 am »
We're aware of the port 2200 regression.  It's not something we had officially supported before (thus was not tested prior to release), but since it seems to be popular we're fixing it up and making it an official feature.

The patch re-enabling it is here:
https://git.raptorcs.com/git/talos-openbmc/commit/?id=9f113646e96372f18dfa7853d0ba9ebc031cdf6b

At some point in the future we will likely post built 2.01 beta BMC images with a few tweaks including this patch.