Bug 1299200
Summary: | Disable cloud-init service after appliance deployment | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Artyom <alukiano> | ||||||
Component: | General | Assignee: | Simone Tiraboschi <stirabos> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 1.3.2.2 | CC: | alukiano, bugs, dfediuck, didi, lveyde, mavital, rmartins, sabose, sbonazzo, stirabos, tlitovsk, ylavi | ||||||
Target Milestone: | ovirt-3.6.3 | Keywords: | Improvement, Performance, Triaged | ||||||
Target Release: | 1.3.3.4 | Flags: | rule-engine:
ovirt-3.6.z+
rule-engine: exception+ ylavi: planning_ack+ sbonazzo: devel_ack+ mavital: testing_ack+ |
||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||
Doc Text: |
cloud-init services are now disabled on the engine-appliance after the initial deployment in order to speed up subsequent boots.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-03-11 07:23:34 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1258386, 1305885 | ||||||||
Attachments: |
|
Description
Artyom
2016-01-17 10:17:45 UTC
I believe running: systemctl mask cloud-final.service and systemctl mask cloud-config.service Should do the trick. Is this a bug or a RFE? I think it more like RFE, but if we want to reduce down time of the engine, it necessary to disable cloud-init service on start up. (In reply to Artyom from comment #2) > I think it more like RFE, but if we want to reduce down time of the engine, > it necessary to disable cloud-init service on start up. I fully agree - I think it's an important one to implement (and hopefully as easy as I've described above). (BTW, perhaps there's a way to shorten the timeout for cloud-init - see bug 1039388 ) Yes, looks like fix for the bug 1039388, can help us, but I also see, that bug exist from 6.5 and it still has status new( (In reply to Yaniv Kaul from comment #1) > I believe running: > systemctl mask cloud-final.service > and > systemctl mask cloud-config.service > > Should do the trick. Doing it via cloud-init itself is pretty easy but of-course it will be effective only if the user will decide to use cloud-init. If not it will be up to him to stop it since it's enabled by default on the appliance. Impacting downtime and boot performances, I think this should be addressed in 3.6. Created attachment 1127945 [details]
screenshot
Checked on ovirt-hosted-engine-setup-1.3.3.3-1.el7ev.noarch
I can see that cloud-init still enabled on startup(see screenshot).
I do not really sure that mask help to avoid cloud-init startup, why just do not send:
systemctl disable cloud-init
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. Created attachment 1127946 [details]
he-setup-log
(In reply to Artyom from comment #7) > Created attachment 1127945 [details] > screenshot > > Checked on ovirt-hosted-engine-setup-1.3.3.3-1.el7ev.noarch > I can see that cloud-init still enabled on startup(see screenshot). > I do not really sure that mask help to avoid cloud-init startup, why just do > not send: > systemctl disable cloud-init mask is stronger than disable; was your appliance el7 or el6 based? I believe you right. OS on appliance RHEL6.7. Verified on ovirt-hosted-engine-setup-1.3.3.4-1.el7ev.noarch |