Bug 1486948

Summary: Cold-migration should use the internal_api network
Product: Red Hat OpenStack Reporter: Jeremy <jmelvin>
Component: openstack-tripleo-heat-templatesAssignee: Ollie Walsh <owalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: akaris, astupnik, berrange, cory.bannister, dasmith, dbecker, eglynn, hjensas, jjoyce, jmelvin, jraju, kchamart, kiyyappa, lyarwood, mbooth, mburns, morazi, owalsh, rhel-osp-director-maint, rkharwar, sbauza, sclewis, sferdjao, sgordon, srevivo, vromanso
Target Milestone: z7Keywords: TestOnly, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-nova-9.6.0-2.el7ost openstack-tripleo-heat-templates-5.3.3-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1501564 1501567 1552855 (view as bug list) Environment:
Last Closed: 2018-03-07 13:50:37 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:    
Bug Blocks: 1501564, 1501567, 1552855, 1602775    

Description Jeremy 2017-08-30 21:11:48 UTC
Description of problem: Cold or static migration should have option to choose dedicated migration network. Currently this is only possible with live migration in this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1453178



The nova.conf config parmeter for live migration dedicated network is: live_migration_inbound_addr

Reference: http://post-office.corp.redhat.com/archives/rhos-tech/2017-May/msg00150.html

Comment 1 Ollie Walsh 2017-08-30 21:35:01 UTC
Currently only possible with live migration when TLS is used. When SSH is used (the default) we cannot use the new config option (https://bugs.launchpad.net/nova/+bug/1671288).

Comment 2 Ollie Walsh 2017-08-31 19:14:39 UTC
I don't think we can currently make this configurable, however AFAICT it uses the value of my_ip. I believe we should be setting this the the internal_api network.

However it's currently not set, in fact it's not even exposed in puppet-nova. In this case it is autodetected based on the default route, which happens to be the ctrl_plane network (the undercloud network).

Comment 3 Kashyap Chamarthy 2017-09-01 14:05:46 UTC
(In reply to Ollie Walsh from comment #2)
> I don't think we can currently make this configurable, however AFAICT it
> uses the value of my_ip. I believe we should be setting this the the
> internal_api network.
> 
> However it's currently not set, in fact it's not even exposed in
> puppet-nova. In this case it is autodetected based on the default route,
> which happens to be the ctrl_plane network (the undercloud network).


Seems like Ollie has the two patches to expose 'my_ip' parameter: 

  [tripleo-heat-templates] https://review.openstack.org/499387 -- 
  WIP: set nova my_ip

  [puppet-nova] https://review.openstack.org/#/c/499386/ -- 
  WIP: expose my_ip

Comment 6 Lee Yarwood 2017-09-29 09:18:11 UTC
*** Bug 1495149 has been marked as a duplicate of this bug. ***

Comment 11 Ollie Walsh 2017-10-12 20:40:40 UTC
*** Bug 1477294 has been marked as a duplicate of this bug. ***

Comment 13 Ollie Walsh 2018-01-04 17:59:26 UTC
*** Bug 1528858 has been marked as a duplicate of this bug. ***

Comment 14 Ollie Walsh 2018-01-16 01:08:15 UTC
*** Bug 1376724 has been marked as a duplicate of this bug. ***

Comment 15 Jon Schlueter 2018-01-26 15:49:44 UTC
According to our records, this should be resolved by puppet-nova-9.6.0-2.el7ost.  This build is available now.

Comment 16 Jon Schlueter 2018-01-26 15:49:53 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-5.3.3-1.el7ost.  This build is available now.

Comment 18 Joe H. Rahme 2018-02-20 16:13:30 UTC
Validated by verifying that:

1. my_ip is set to a value in the internal_api network after deployment
2. cold migrations still work

Comment 19 Jeremy 2018-02-22 16:09:06 UTC
Hello,
I noticed there is a clone of this for 9,10,11. IS it possible to get this in osp8 ?

Thanks

Comment 23 Ollie Walsh 2018-07-20 16:11:53 UTC
*** Bug 1602775 has been marked as a duplicate of this bug. ***