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

[WIP ]VR agent #44

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

[WIP ]VR agent #44

wants to merge 6 commits into from

Conversation

rohityadavcloud
Copy link
Member

@rohityadavcloud rohityadavcloud commented May 16, 2019

GRPC based VR/appliance agent:
Go based VR agent, cloudstack (java based client)

PoC API:

livePatch: Live Patches Appliance Agent
Required params: id, 
API Params               Type     Description
==========               ====     ===========
id                       uuid     The ID of the system VM appliance to live
                                   patch
token                    string   Ping token
Run: /opt/cloud/bin/agent manually and watch the logs

Protocol Buffers CLI:
https://github.com/ktr0731/evans

On first startup, the management server instantiates and saves random
ssh keys in the database by calling a `trim()` on the string data. On
latest CentOS7 release (CentOS Linux release 7.6.1810 (Core)) I could
reproduce the issue where router_proxy (ssh) did not fail and kept
prompting for passphrase. By adding a newline to the id_rsa.cloud private
key it did not prompt the same. This patch fixes the issue by adding a
newline at the end of the generated SSH public/private keys in the DB.

SSH packages details:
libssh2.x86_64                             1.4.3-12.el7_6.2            @updates
openssh.x86_64                             7.4p1-16.el7                @anaconda
openssh-askpass.x86_64                     7.4p1-16.el7                @base
openssh-clients.x86_64                     7.4p1-16.el7                @anaconda
openssh-server.x86_64                      7.4p1-16.el7                @anaconda

Signed-off-by: Rohit Yadav <[email protected]>
@rohityadavcloud rohityadavcloud changed the title VR agent [WIP ]VR agent May 16, 2019
@rohityadavcloud rohityadavcloud changed the base branch from master to 4.0 May 16, 2019 10:52
@rohityadavcloud rohityadavcloud changed the base branch from 4.0 to master May 16, 2019 10:52
@rohityadavcloud
Copy link
Member Author

cc @anuragaw

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

Hi @dependabot[bot], your pull request has merge conflicts. Can you fix the conflicts and sync your branch with the base branch?

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

Successfully merging this pull request may close these issues.

1 participant