| Summary: | "waagent --serialconsole" fails to locate the grub file on rhel7 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Hu Zhang <huzhan> |
| Component: | WALinuxAgent | Assignee: | Yue Zhang <yuezha> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.2 | CC: | anderson, huishao, jinmiao, jjarvis, leiwang, lic_interop, lizzha, mingzhan, wshi, yuezha, yuxisun |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-09 08:41:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Hu Zhang
2016-01-29 07:19:28 UTC
Hu I believe the setting to add "console=ttyS0 earlyprintk=ttyS0" is NOT something to do by WALA, but it's the manual step during preparing RHEL Azure image. See step 10 from this doc: https://acom-sandbox.azurewebsites.net/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-redhat/?rnd=1#prepare-an-image-from-hyper-v-manager so this bug is more like working as design. Scott Liz Feel free to comment if I'm wrong or anything missed Scott Yes, when we prepare the Azure image, we add "console=ttyS0 earlyprintk=ttyS0" to the grub files manually. By running command "waagent --serialconsole", it is supposed to do the same thing. It's documented in WALinuxAgent Github: -serialconsole: Configures GRUB to mark ttyS0 (the first serial port) as the boot console. This ensures that kernel bootup logs are sent to the serial port and made available for debugging. It's more like a nice to have feature, as it doesn't block any function. But I think we could make it fixed in the agent. (In reply to lizzha from comment #3) > Yes, when we prepare the Azure image, we add "console=ttyS0 > earlyprintk=ttyS0" to the grub files manually. > > By running command "waagent --serialconsole", it is supposed to do the same > thing. It's documented in WALinuxAgent Github: > -serialconsole: Configures GRUB to mark ttyS0 (the first serial port) as > the boot console. This ensures that kernel bootup logs are sent to the > serial port and made available for debugging. > > It's more like a nice to have feature, as it doesn't block any function. But > I think we could make it fixed in the agent. Agree, this issue not affect on-demand vm image. Nice to fix it on WALA latest version to make WALA more robust. Liz Make sense, thank you for comment. Wei Thank you for pointing it out. We will fix this in next version. Given it's not a blocking bug for your test, can you please move on your test? (In reply to mingzhan from comment #5) > Liz > Make sense, thank you for comment. > Wei > Thank you for pointing it out. We will fix this in next version. > Given it's not a blocking bug for your test, can you please move on your > test? Sure, it is not a blocker. This feature doesn't exist in WALinuxAgent-2.1.5. Close it. *** This bug has been marked as a duplicate of bug 1360492 *** |