Skip to content

Various fixes

Chuck Lever kdevops 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest36 patches 5 repliesIn review
  2. v237 patches 21 repliesSuperseded
  3. v126 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Additional R-b tags
- Addressed Daniel's review comments, except where he wanted to check more and get back with me
- Pushed this series to linux-kdevops/kdevops : cel-fixes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/36scripts: Update gen_ssh_key.shscripts/gen_ssh_key.sh+1 -10 replies
2/36terraform/azure: Fix count of managed disksterraform/azure/kconfigs/Kconfig.storage+1 -00 replies
3/36terraform/azure: Remove tags from terraform configurationterraform/azure/main.tf+0 -240 replies
4/36terraform/azure: Enable network accelerationterraform/azure/main.tf+5 -40 replies
5/36terraform/azure: Make the resource group name a variableplaybooks/roles/gen_tfvars/templates/azure/terraform.tfvars.j2 terraform/azure/kconfigs/Kconfig.location terraform/azure/main.tf +1 more+23 -10 replies
6/36terraform/azure: Remove the provider version constraintterraform/azure/provider.tf+1 -10 replies
7/36terraform/azure: Update the RHEL publishersterraform/azure/kconfigs/publishers/Kconfig.rhel+9 -10 replies
8/36terraform/oci: Work around oracle/oci provider bugterraform/oci/provider.tf+2 -20 replies
9/36terraform/oci: Add Kconfig choices for disk performance provisioningplaybooks/roles/gen_tfvars/templates/oci/terraform.tfvars.j2 terraform/oci/kconfigs/Kconfig.storage terraform/oci/main.tf +3 more+151 -50 replies
10/36terraform/oci: Enable preemptible compute instancesterraform/oci/main.tf+7 -00 replies
11/36terraform/aws: Fix zone selection for us_west1terraform/aws/kconfigs/Kconfig.location+19 -20 replies
12/36Revert "terraform/aws: Add Oracle Linux AMI selections"terraform/aws/kconfigs/Kconfig.compute terraform/aws/kconfigs/distros/Kconfig.oracle+0 -520 replies
13/36terraform/aws: Remove unused terraform tagsterraform/aws/main.tf+0 -130 replies
14/36terraform/GCE: Fix the default disk throughput valuesterraform/gce/kconfigs/Kconfig.storage+3 -30 replies
15/36terraform/gce: Remove unused tagsterraform/gce/main.tf+0 -20 replies
16/36terraform/gce: Remove support for Fedoraterraform/gce/kconfigs/Kconfig.compute terraform/gce/kconfigs/images/Kconfig.fedora+0 -990 replies
17/36terraform/gce: Update existing machine types and introduce new onesterraform/gce/kconfigs/Kconfig.compute terraform/gce/kconfigs/machines/Kconfig.a2-standard terraform/gce/kconfigs/machines/Kconfig.c3-standard +14 more+503 -720 replies
18/36terraform: Create the user's .ssh/config if it does not already existplaybooks/roles/terraform/tasks/main.yml+1 -00 replies
19/36pynfs: Don't install xdrlib3 on older RHELplaybooks/roles/pynfs/tasks/install-deps/redhat/main.yml+2 -00 replies
20/36guestfs: Update the guestfs playbook descriptionplaybooks/guestfs.yml+1 -10 replies
21/36gen_hosts: Add 'localhost' to the [all] groupplaybooks/roles/gen_hosts/templates/builder.j2+1 -00 replies
22/36guestfs: Don't run the 'destroy' tags on the controllerscripts/guestfs.Makefile+1 -00 replies
23/36base_image: Skip "locales-all" package installationplaybooks/roles/base_image/templates/virt-builder.j2+1 -10 replies
24/36update_etc_hosts: ipaddrplaybooks/roles/update_etc_hosts/tasks/main.yml+2 -20 replies
25/36Add an Ansible requirements.yml filerequirements.yml scripts/ansible.Makefile+13 -00 replies
26/36terraform/oci: Clean up the route table resourceterraform/oci/main.tf+2 -00 replies
27/36guestfs: Correct the spelling of "drives"playbooks/roles/gen_nodes/templates/drives.j2+4 -40 replies
28/36guestfs: Configure how many extra drives to provisionkconfigs/Kconfig.libvirt playbooks/roles/gen_nodes/templates/gen_drives.j2 playbooks/roles/guestfs/tasks/bringup/main.yml+50 -50 replies
29/36ltp: Replace /opt with a symlink to data partitionplaybooks/roles/ltp/tasks/main.yml+41 -40 replies
30/36terraform: Squelch Ansible complaints about missing inventory fileMakefile.kdevops playbooks/gen_tfvars.yml playbooks/install_terraform.yml +1 more+4 -00 replies
31/36terraform: Skip localhost when waiting for targets to rebootscripts/terraform.Makefile+3 -10 replies
32/36devconfig: include the "service" group in the playbooks hosts listplaybooks/devconfig.yml playbooks/roles/gen_hosts/templates/blktests.j2 playbooks/roles/gen_hosts/templates/builder.j2 +8 more+24 -51 reply
33/36Makefile: Remove CONFIG_TOPDIR_PATH_HAS_SHA256SUMKconfig scripts/ssh.Makefile scripts/update_ssh_config_guestfs.py+4 -190 replies
34/36Makefile: Set TOPDIR_PATH and generate its sha256sum at run timeKconfig Makefile scripts/gen-hosts.Makefile +1 more+4 -110 replies
35/36ansible.cfg: generate an ansible.cfg file in TOPDIRMakefile kconfigs/Kconfig.ansible_cfg+20 -00 replies
36/36inventory: generate the inventory pathname dynamicallyMakefile kconfigs/Kconfig.ansible_cfg+20 -01 reply

Reviews trailers per patch

All 36 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLuis ChamberlainDaniel Gomez
SeriesR-b T-b
1/36R-b
2/36R-b
3/36R-b
4/36R-b
5/36R-b
6/36R-b
7/36R-b
8/36R-b
9/36R-b
10/36R-b
11/36R-b
12/36R-b
13/36R-b
14/36R-b
15/36R-b
16/36R-b
17/36R-b
18/36R-b
19/36R-b
20/36R-b R-b
21/36R-b R-b
22/36R-b R-b
23/36R-b
24/36R-b R-b
25/36R-b
26/36R-b
27/36R-b R-b
28/36R-b R-b
29/36R-b
30/36R-b
31/36R-b
32/36R-b R-b
33/36R-b
34/36R-b
35/36R-b
36/36R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/36] Various fixes

From: Chuck Lever <[email protected]>

I've finally gotten most of my test runners moved to cloud providers so I'm able to rebase my version of kdevops on

linux-kdevops/kdevops : HEAD

In the process I've found and fixed myriad small issues.

Changes since v2:
- Additional R-b tags
- Addressed Daniel's review comments, except where he wanted to check more and get back with me
- Pushed this series to linux-kdevops/kdevops : cel-fixes

Changes since v1:
- Add R-b tags
- Completed the patch that adds new GCE machine sizes
- Added 11 new fixes on the end

Chuck Lever (36):
scripts: Update gen_ssh_key.sh
terraform/azure: Fix count of managed disks terraform/azure: Remove tags from terraform configuration terraform/azure: Enable network acceleration terraform/azure: Make the resource group name a variable terraform/azure: Remove the provider version constraint terraform/azure: Update the RHEL publishers
terraform/oci: Work around oracle/oci provider bug terraform/oci: Add Kconfig choices for disk performance provisioning terraform/oci: Enable preemptible compute instances terraform/aws: Fix zone selection for us_west1
Revert "terraform/aws: Add Oracle Linux AMI selections" terraform/aws: Remove unused terraform tags
terraform/GCE: Fix the default disk throughput values terraform/gce: Remove unused tags
terraform/gce: Remove support for Fedora
terraform/gce: Update existing machine types and introduce new ones
terraform: Create the user's .ssh/config if it does not already exist
pynfs: Don't install xdrlib3 on older RHEL
guestfs: Update the guestfs playbook description
gen_hosts: Add 'localhost' to the [all] group
guestfs: Don't run the 'destroy' tags on the controller
base_image: Skip "locales-all" package installation
update_etc_hosts: ipaddr
Add an Ansible requirements.yml file
terraform/oci: Clean up the route table resource
guestfs: Correct the spelling of "drives"
guestfs: Configure how many extra drives to provision
ltp: Replace /opt with a symlink to data partition
terraform: Squelch Ansible complaints about missing inventory file
terraform: Skip localhost when waiting for targets to reboot
devconfig: include the "service" group in the playbooks hosts list
Makefile: Remove CONFIG_TOPDIR_PATH_HAS_SHA256SUM
Makefile: Set TOPDIR_PATH and generate its sha256sum at run time ansible.cfg: generate an ansible.cfg file in TOPDIR
inventory: generate the inventory pathname dynamically

 Kconfig                                       |  15 --
 Makefile                                      |  18 +++
 Makefile.kdevops                              |   1 +
 kconfigs/Kconfig.ansible_cfg                  |  24 ++++
 kconfigs/Kconfig.libvirt                      |  45 ++++++
 playbooks/devconfig.yml                       |   2 +-
 playbooks/gen_tfvars.yml                      |   1 +
 playbooks/guestfs.yml                         |   2 +-
 playbooks/install_terraform.yml               |   1 +
 .../base_image/templates/virt-builder.j2      |   2 +-
 .../roles/gen_hosts/templates/blktests.j2     |   3 +
 .../roles/gen_hosts/templates/builder.j2      |   5 +
 playbooks/roles/gen_hosts/templates/cxl.j2    |   3 +
 playbooks/roles/gen_hosts/templates/ltp.j2    |   4 +
 .../roles/gen_hosts/templates/mmtests.j2      |   3 +
 .../roles/gen_hosts/templates/selftests.j2    |   3 +
 .../roles/gen_hosts/templates/sysbench.j2     |   3 +
 playbooks/roles/gen_nodes/templates/drives.j2 |   8 +-
 .../roles/gen_nodes/templates/gen_drives.j2   |   8 +-
 .../templates/azure/terraform.tfvars.j2       |   1 +
 .../templates/oci/terraform.tfvars.j2         |   1 +
 .../roles/guestfs/tasks/bringup/main.yml      |   2 +-
 playbooks/roles/ltp/tasks/main.yml            |  45 +++++-
 .../pynfs/tasks/install-deps/redhat/main.yml  |   2 +
 playbooks/roles/terraform/tasks/main.yml      |   1 +
 .../roles/update_etc_hosts/tasks/main.yml     |   4 +-
 requirements.yml                              |   8 ++
 scripts/ansible.Makefile                      |   5 +
 scripts/devconfig.Makefile                    |   2 -
 scripts/firstconfig.Makefile                  |   1 -
 scripts/gen-hosts.Makefile                    |   1 +
 scripts/gen_ssh_key.sh                        |   2 +-
 scripts/guestfs.Makefile                      |   1 +
 scripts/provision.Makefile                    |   1 -
 scripts/ssh.Makefile                          |   7 +-
 scripts/terraform.Makefile                    |   5 +-
 scripts/update_ssh_config_guestfs.py          |  11 +-
 terraform/aws/kconfigs/Kconfig.compute        |   4 -
 terraform/aws/kconfigs/Kconfig.location       |  21 ++-
 terraform/aws/kconfigs/distros/Kconfig.oracle |  48 -------
 terraform/aws/main.tf                         |  13 --
 terraform/azure/kconfigs/Kconfig.location     |  16 +++
 terraform/azure/kconfigs/Kconfig.storage      |   1 +
 .../azure/kconfigs/publishers/Kconfig.rhel    |  10 +-
 terraform/azure/main.tf                       |  35 +----
 terraform/azure/provider.tf                   |   2 +-
 terraform/azure/vars.tf                       |   5 +
 terraform/gce/kconfigs/Kconfig.compute        |  12 +-
 terraform/gce/kconfigs/Kconfig.storage        |   6 +-
 terraform/gce/kconfigs/images/Kconfig.fedora  |  95 -------------
 .../gce/kconfigs/machines/Kconfig.a2-standard |  56 ++++++++
 .../gce/kconfigs/machines/Kconfig.c3-standard |  41 ++++++
 .../kconfigs/machines/Kconfig.c3d-standard    |  46 ++++++
 .../gce/kconfigs/machines/Kconfig.c4-standard |  23 +--
 .../kconfigs/machines/Kconfig.c4a-standard    |  57 ++++++++
 .../kconfigs/machines/Kconfig.c4d-standard    |  51 +++++++
 .../gce/kconfigs/machines/Kconfig.e2-highcpu  |  58 ++++++++
 .../gce/kconfigs/machines/Kconfig.e2-standard |  58 ++++++++
 .../gce/kconfigs/machines/Kconfig.n1-highcpu  |  55 ++++++++
 .../gce/kconfigs/machines/Kconfig.n1-standard |  26 ++--
 .../gce/kconfigs/machines/Kconfig.n2-highcpu  |  16 +--
 .../gce/kconfigs/machines/Kconfig.n2-standard |  16 +--
 .../gce/kconfigs/machines/Kconfig.n2d-highcpu |  15 +-
 .../kconfigs/machines/Kconfig.n2d-standard    |  17 ++-
 .../gce/kconfigs/machines/Kconfig.n4-highcpu  |  16 +--
 .../gce/kconfigs/machines/Kconfig.n4-standard |  16 +--
 terraform/gce/main.tf                         |   2 -
 terraform/oci/kconfigs/Kconfig.storage        | 132 ++++++++++++++++++
 terraform/oci/main.tf                         |  10 ++
 terraform/oci/provider.tf                     |   4 +-
 terraform/oci/vars.tf                         |   5 +
 terraform/oci/volumes/main.tf                 |  12 +-
 terraform/oci/volumes/vars.tf                 |   5 +
 73 files changed, 922 insertions(+), 334 deletions(-)
 create mode 100644 requirements.yml
 delete mode 100644 terraform/aws/kconfigs/distros/Kconfig.oracle
 delete mode 100644 terraform/gce/kconfigs/images/Kconfig.fedora
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.a2-standard
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.c3-standard
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.c3d-standard
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.c4a-standard
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.c4d-standard
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.e2-highcpu
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.e2-standard
 create mode 100644 terraform/gce/kconfigs/machines/Kconfig.n1-highcpu
Signature · 1 line
2.51.0