Bug 1323975
| Summary: | sshd service not started after first boot | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-node | Reporter: | Tareq Alayan <talayan> | ||||||
| Component: | Installation & Update | Assignee: | Douglas Schilling Landgraf <dougsland> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Wang <weiwang> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | master | CC: | bugs, cshao, dougsland, fdeutsch, talayan, ycui | ||||||
| Target Milestone: | ovirt-4.0.0-beta | Flags: | rule-engine:
ovirt-4.0.0+
ycui: testing_plan_complete? rule-engine: planning_ack+ fdeutsch: devel_ack+ ycui: testing_ack+ |
||||||
| Target Release: | 4.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | ovirt-node-ng-installer-master-2016050300.iso | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-07-05 08:02:20 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | 1327332 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tareq Alayan
2016-04-05 08:50:48 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. One comment: A network directive is not in the kickstart - it could be added to ensure that networking is really up. the below kickstart worked for me. install lang en_US.UTF-8 keyboard us rootpw --plaintext 1234 timezone --utc Asia/Jerusalem #rootpw --iscrypted <%= root_pass %> sshpw --username=root qum5net --plaintext # partitioning - nuke and start fresh zerombr clearpart --all --initlabel autopart --type=thinp bootloader --location=mbr reboot liveimg --url=http://{url}/rhevnext/ovirt-node-ng-image.squashfs.img firewall --service=ssh services --enabled=sshd #reboot #%post --log=/root/kickstart-post-section.log %post --log=/root/ks.post.log set -x echo "RUNNING: /usr/sbin/imgbase -------" /usr/sbin/imgbase layout --init /usr/sbin/imgbase --experimental volume --create /var 4G echo "TESTING: .... " systemctl start sshd-keygen.service ls -l /etc/ssh/ssh_host_* > /root/ssh.host md5sum /etc/ssh/ssh_host_* > /root/ssh.md5sum systemctl status ssh-keygen > systemctl.out systemctl start sshd.service systemctl status sshd.service echo "RUNNING: /usr/bin/curl http://{foreman-url}:80/unattended/built" /usr/bin/curl http://{foremna-machine}/unattended/built sync #/usr/sbin/reboot %end Thanks Tareq. The scope of this bug is to ensure that sshd is running and can be used when these two lines appear in the kickstart: firewall --service=ssh services --enabled=sshd There shouldn't be any additional %post-let be required. This sounds a bit like a random failure. I also can just reproduce it sometimes. Description of problem: The sshd.service is not up after first boot Version-Release number of selected component (if applicable): ovirt-node-ng-installer-ovirt-3.6-2016041120.iso imgbased-0.5-git50033ca How reproducible: bug is reproduced 3 times after retest 5 times Steps to Reproduce: 1. Install rhevh-next with ks file 2. Check sshd service status with CLI: systemctl status sshd.service Actual results: sshd is down(random) Additional info: ks file is attached into attchment. in the ks file, added below command firewall --service=ssh services --enabled=sshd The belows info is attached into attachment as screenshot_cmd # ip addr show # firewall-cmd --get-default-zone # firewall-cmd --get-services Created attachment 1146290 [details]
ks_file
Created attachment 1146291 [details]
screenshot_cmd
I think this is an ssh or systemd bug, see bug 1327332 Retest the bug with ovirt-node-ng-installer-master-2016051100.iso, the bug cannot be reproduced Version: [root@dhcp-11-209 ~]# rpm -qa | grep imgbased imgbased-0.6-0.201605091813gita89532a.el7.centos.noarch [root@dhcp-11-209 ~]# rpm -qa | grep ovirt-node-ng ovirt-node-ng-image-update-placeholder-4.0.0-0.3.master.20160510065920.gitc48ef8a.el7.noarch How reproducible: bug is reproduced 0 times after retest 5 times Steps: 1. Install rhevh-next with ks file 2. Check sshd service status with CLI: systemctl status sshd.service Actual results: sshd is active So the bug is verified, I will change the status of the bug to "VERIFIED" oVirt 4.0.0 has been released, closing current release. |