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
MGMT-15271: Get cmdline and set IBM in vendor #624
MGMT-15271: Get cmdline and set IBM in vendor #624
Conversation
@AmadeusPodvratnik: This pull request references MGMT-15271 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi @AmadeusPodvratnik. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
07f162b
to
9832c42
Compare
9832c42
to
aad8232
Compare
/ok-to-test |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #624 +/- ##
==========================================
+ Coverage 60.40% 60.52% +0.12%
==========================================
Files 74 74
Lines 3624 3653 +29
==========================================
+ Hits 2189 2211 +22
- Misses 1282 1287 +5
- Partials 153 155 +2
|
1f2471c
to
cb04f07
Compare
00f3cbd
to
2e8afd7
Compare
/test e2e-agent-compact-ipv4 |
fb08bb8
to
75b7aa6
Compare
@avishayt -m1 added to the grep command. |
(include vendor update) Signed-off-by: Amadeus Podvratnik <apodvrat@redhat.com>
75b7aa6
to
52b4543
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AmadeusPodvratnik, avishayt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@AmadeusPodvratnik: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
(include vendor update) Signed-off-by: Amadeus Podvratnik <apodvrat@redhat.com> Co-authored-by: Amadeus Podvratnik <apodvrat@redhat.com>
With the support of zVM in Assisted Installer, the necessary kernel arguments to boot a zVM nodes need to be considered. During the first boot of a zVM node a parm file will be provided to activate the necessary devices or specify a static IP w/o nmstate. This parm file looks like:
rd.neednet=1 console=ttysclp0 coreos.live.rootfs_url=http://172.23.236.156:8080/assisted-installer/rootfs.img ip=10.14.6.3::10.14.6.1:255.255.255.0:master-0.boea3e06.lnxero1.boe:encbdd0:none nameserver=10.14.6.1 ip=[fd00::3]::[fd00::1]:64::encbdd0:none nameserver=[fd00::1] zfcp.allow_lun_scan=0 rd.znet=qeth,0.0.bdd0,0.0.bdd1,0.0.bdd2,layer2=1 rd.dasd=0.0.5235 rd.dasd=0.0.5236 random.trust_cpu=on rd.luks.options=discard ignition.firstboot ignition.platform.id=metal console=tty1 console=ttyS1,115200n8
Nevertheless the cmdline will be taken independently of the architecture. For s390x gwh is returning for getProduct():
product family=unknown name=unknown vendor=unknown sku=unknown version=unknown
and need to be set to the correct values. To do that you need to parse:
cat /proc/cpuinfo |grep vendor
vendor_id : IBM/S390
sudo cat /proc/sysinfo |grep 'VM.*Control Program'
VM00 Control Program: z/VM 7.2.0
For KVM following values are returned:
cat /proc/sysinfo |grep 'VM.*Control Program'
VM00 Control Program: KVM/Linux
List all the issues related to this PR
[x ] New Feature
Enhancement
Bug fix
Tests
Documentation
CI/CD
How was this code tested?
assisted-test-infra environment
dev-scripts environment
[x ] Reviewer's test appreciated
Waiting for CI to do a full test run
[x ] Manual (Elaborate on how it was tested)
No tests needed