Bug 1427244

Summary: [RFE] We should alert OpenStack cloud admin to restart services upon OVS update (director Update/Upgrade)
Product: Red Hat OpenStack Reporter: Ofer Blaut <oblaut>
Component: rhosp-directorAssignee: Assaf Muller <amuller>
Status: CLOSED WONTFIX QA Contact: Ofer Blaut <oblaut>
Severity: urgent Docs Contact:
Priority: high    
Version: 11.0 (Ocata)CC: aconole, amuller, aschultz, atelang, atragler, dbecker, fbaudin, fleitner, majopela, mburns, mcornea, morazi, oblaut, rhel-osp-director-maint, rkhan, sathlang, skramaja, vchundur, yrachman
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-20 14:20:45 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:
Embargoed:
Bug Depends On: 1408224    
Bug Blocks:    

Description Ofer Blaut 2017-02-27 16:41:29 UTC
Description of problem:

When new OVS version 2.5-23 and UP is consumed openvswitch is not restarted , but new OVS is installed. (https://bugzilla.redhat.com/show_bug.cgi?id=1403958)

cloud admin should be notified to restart all components related to OVS or reboot the host. 
otherwise he will end up with new OVS installed but old OVS running.

I would be best if OVS could send some notification to all neutron/other services to be restart or to find different solution. 

I
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 Flavio Leitner 2017-03-10 03:56:10 UTC
Either upgrade or update, I think the overall OSP process needs some thinking because the issue isn't specific to OVS.  For instance, let's say we have a security fix in glibc or openssl.  How do you recommend customers to proceed?

There is a plugin for yum to tell if restart is needed (needs-restarting).  Although it is a much better than something specific to OVS, I suggest to consider even further, like a process to migrate all the workload out of the compute node, take it out of production, upgrade or update, reboot, get it back to production and re-balance the workload.

Comment 14 Ofer Blaut 2017-03-28 14:33:11 UTC
The Alert is required on undercloud update & overcloud update

Comment 18 Nir Yechiel 2018-03-20 05:52:43 UTC
@Assaf, any idea on how such a thing can be implemented? Can we just add a warning after the upgrade command?

Thanks,
Nir