Skip to content

[kvm/docs] Improve KVM setup instructions#2476

Merged
daall merged 2 commits intosonic-net:masterfrom
daall:vs_setup
Nov 6, 2020
Merged

[kvm/docs] Improve KVM setup instructions#2476
daall merged 2 commits intosonic-net:masterfrom
daall:vs_setup

Conversation

@daall
Copy link
Copy Markdown
Contributor

@daall daall commented Nov 6, 2020

Signed-off-by: Danny Allen daall@microsoft.com

Description of PR

Summary: Improve KVM setup instructions
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

I received some feedback while helping people onboard to the KVM testbed:

  1. Not all VMs have ethtool installed by default, which can cause some strange errors.
  2. There was some confusion over how to access sonic-mgmt inside the docker container.
  3. Certain VM configurations (namely Hyper-V) require nested virtualization to be enabled explicitly in order to run KVM VMs inside them.
  4. It's not clear how to check if the tests/testbed is working after all of these setup steps are complete.

How did you do it?

  1. Added ethtool to the setup script.
  2. Added clarification for the mount point for sonic-mgmt.
  3. Added an explicit mention of nested virt.
  4. Added a step to run the bgp_fact test.

How did you verify/test it?

Verified that the setup scripts work as described, and are idempotent.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Signed-off-by: Danny Allen <daall@microsoft.com>
@daall daall requested review from lguohan, pra-moh and yxieca November 6, 2020 02:03
@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented Nov 6, 2020

retest this please

echo

echo "STEP 5: Checking if bridge br1 already exists..."
if ! brctl show br1; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If it returns the output as below, then this step fails. May be we should just add br1 even if it exists..

STEP 5: Checking if bridge br1 already exists...
bridge name	bridge id		STP enabled	interfaces
br1		can't get info No such device

kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…nic-net#12669)

utilities:
* 8cb6124 2022-11-09 | [armhf][sonic-installer] Fix the issue of sonic-installer list after set-default and cleanup (sonic-net#2479) [Marty Y. Lok]
* b2d50f4 2022-11-06 | [GCU] Fix JsonPointerFilter bug (sonic-net#2477) (HEAD -> 202205, github/202205) [jingwenxie]
* 927daea 2022-11-08 | Do not configure physical attributes on port channels in portconfig (sonic-net#2456) [Stephen Sun]
* dbe8f2d 2022-11-02 | Fix sudo sfputil show error-status on a multiasic platform issue (sonic-net#2373) [Marty Y. Lok]
* fff5f67 2022-11-04 | [show] vnet advertised-route command (sonic-net#2390) (sonic-net#2478) [siqbal1986]
* 9d921a7 2022-11-04 | Fix exception in adding mirror_session when gre_type is absent (sonic-net#2476) [bingwang-ms]
* 0bbe54a 2022-11-03 | [show] vnet endpoint [ip/ipv6] command (sonic-net#2342) (sonic-net#2421) (sonic-net#2474) [siqbal1986]
* b1b3661 2022-11-03 | show vnet routes all. (sonic-net#2341) (sonic-net#2472) [siqbal1986]

swss:
* e208c87 2022-11-08 | swss: Fixing race condition for rif counters (sonic-net#2488) (HEAD -> 202205) [Suman Kumar]

platform-common:
* 83f77cc 2022-11-08 | Fix issue: rounding float value for txpower and rxpower (sonic-net#320) (HEAD -> 202205) [Junchao-Mellanox]
* 169ee25 2022-11-04 | Fix issue: copper cable should not display DOM information (sonic-net#318) [Junchao-Mellanox]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants