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

[docker-mgmt-framework]: update mgmt framework docker to support sonic-cli cmd #6148

Merged
merged 14 commits into from
Jun 3, 2021

Conversation

kwangsuk
Copy link
Contributor

@kwangsuk kwangsuk commented Dec 7, 2020

- Why I did it

  • migrate to python3 support
  • add dependent packages for Klish
  • allow login as non-root user

- How I did it
update sonic-cli script to start Klish with user name, system name and timeout
update the Dockerfile.j2 to resolve dependent packages
add python3-dev for Klish use

- How to verify it
Incremental buster build with sonic-net/sonic-mgmt-framework#76 and verify the sonic-cli

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog
Migrate to python3.7 support, update sonic-cli script and resolve package dependencies

- A picture of a cute animal (not mandatory but encouraged)

lguohan
lguohan previously requested changes Dec 8, 2020
Copy link
Collaborator

@lguohan lguohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as comments

@kwangsuk kwangsuk requested a review from lguohan January 1, 2021 19:17
@kwangsuk
Copy link
Contributor Author

kwangsuk commented Jan 4, 2021

retest vsimage please

@sameerdell
Copy link

@lguohan @renukamanavalan @xinanqiu help needed to get this PR merged to be part of 202012 release.

Removed the lines accidentally added from other branch.
Revert the change to keep the links for CLI authentication. We need to bring in CA certificate changes to replace these files.
@kwangsuk
Copy link
Contributor Author

kwangsuk commented Jan 7, 2021

retest broadcom please

@kwangsuk
Copy link
Contributor Author

kwangsuk commented Jan 7, 2021

retest mellanox please

@kwangsuk
Copy link
Contributor Author

kwangsuk commented Jan 7, 2021

retest vsimage please

@kwangsuk
Copy link
Contributor Author

kwangsuk commented Jan 7, 2021

retest baseimage please

@sameerdell
Copy link

@renukamanavalan @lguohan - AAA improvements (hamd) is work in progress and will not be able to make it in to 202012 release. Until then we have to mount /etc/passwd and /etc/groups. The AAA improvements will remove the need to mount.

Kwan has addressed all the reviews and resolved merge conflicts as well. Requesting review so that we can get this PR merged in 202012 release. Keeping this PR open to long will result again in merge conflicts and too much back & forth.

@lguohan
Copy link
Collaborator

lguohan commented Jan 12, 2021

i think the title can be updated to reflect the pr content.

[docker-mgmt-framework]: update mgmt framework docker to support sonic-cli cmd

@kwangsuk kwangsuk changed the title Update sonic cli update mgmt framework docker to support sonic-cli cmd Jan 12, 2021
@kwangsuk kwangsuk changed the title update mgmt framework docker to support sonic-cli cmd [docker-mgmt-framework]: update mgmt framework docker to support sonic-cli cmd Jan 12, 2021
@kwangsuk
Copy link
Contributor Author

kwangsuk commented Jan 12, 2021 via email

@ben-gale
Copy link
Collaborator

@lguohan, @kwangsuk - next steps pls? It seems like Kwan has addressed Guohan's latest comment above - I still see some failing checks though ....

@kwangsuk
Copy link
Contributor Author

retest mellanox please

@kwangsuk
Copy link
Contributor Author

retest vsimage please

@ben-gale
Copy link
Collaborator

@lguohan, @kwangsuk - all checks passing! Let's go .....

@kwangsuk
Copy link
Contributor Author

as comments

The python3-dev was removed as commented.
RUN apt-get remove -y g++ python3-dev

@sameerdell
Copy link

@lguohan need help with the review of this PR.

@ben-gale
Copy link
Collaborator

@lguohan need help with the review of this PR.

@lguohan, @renukamanavalan - yes please!

@ben-gale
Copy link
Collaborator

@lguohan , @renukamanavalan - please provide your inputs so we can move forwards.

@ben-gale
Copy link
Collaborator

ben-gale commented Feb 5, 2021

Note that we believe that this PR is needed for [https://github.com//issues/6549] - please merge.

@renukamanavalan renukamanavalan dismissed lguohan’s stale review June 3, 2021 02:37

He has approved offline

@renukamanavalan renukamanavalan merged commit 1347f29 into sonic-net:master Jun 3, 2021
renukamanavalan added a commit that referenced this pull request Jun 15, 2021
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
…c-cli cmd (sonic-net#6148)

- Why I did it

migrate to python3 support
add dependent packages for Klish
allow login as non-root user
- How I did it
update sonic-cli script to start Klish with user name, system name and timeout
update the Dockerfile.j2 to resolve dependent packages
add python3-dev for Klish use

- How to verify it
Incremental buster build with sonic-net/sonic-mgmt-framework#76 and verify the sonic-cli

- Description for the changelog
Migrate to python3.7 support, update sonic-cli script and resolve package dependencies
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.

6 participants