Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recovery boot not funcional #1

Closed
Tracked by #49
mudler opened this issue Aug 22, 2022 · 1 comment
Closed
Tracked by #49

Recovery boot not funcional #1

mudler opened this issue Aug 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@mudler
Copy link
Member

mudler commented Aug 22, 2022

Version: https://github.com/c3os-io/provider-c3os/releases/tag/v0.0.1-alpha4

Seems booting into remote recovery is not functional anymore.

I get the QR code, which I can scan then with c3os bridge, however, as soon as the tunnel is up, ssh connects as well, it exits with "Connection closed":

debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug3: receive packet: type 97
debug2: channel 0: rcvd close
debug2: channel 0: output open -> drain
debug2: chan_shutdown_read: channel 0: (i0 o1 sock -1 wfd 4 efd 6 [write])
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
debug2: channel 0: obuf empty
debug2: chan_shutdown_write: channel 0: (i3 o1 sock -1 wfd 5 efd 6 [write])
debug2: channel 0: output drain -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug3: send packet: type 97
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/6 sock -1 cc -1 io 0x00/0x00)

debug3: send packet: type 1
Connection to 127.0.0.1 closed.
Transferred: sent 2320, received 1436 bytes, in 0.1 seconds
Bytes per second: sent 25578.1, received 15832.0
debug1: Exit status 0

To note, the SSH server is functional and accepting connection, as specifying wrong passwords fails as expected, and the tunnel connection is working too.

@mudler mudler added the bug Something isn't working label Aug 22, 2022
@mudler mudler closed this as completed in 4c1228e Aug 26, 2022
@mudler
Copy link
Member Author

mudler commented Aug 26, 2022

Seems the env was empty, with PATH not being propagated. go-process, when an env list is set it replaces it, doesn't append to os.Environ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant