Skip to content
Snippets Groups Projects
  • Alex Kavanagh's avatar
    627ab761
    Fix manager.py launch python version to match installed payload · 627ab761
    Alex Kavanagh authored
    The manager.py helper is launched with either py2 or py3 depending on
    the version of the payload.  However, it was using openstack-origin
    rather than actually picking up the actual version of the installed
    software.  This patch ensures that the manager.py is run with the
    python version of the installed payload, which resolves a bug when
    upgrading to rocky (which is the py2 to py3 transition of the payload).
    
    Also fixes an os.execl() bug which changed behaviour from python2 to
    python3.
    
    Change-Id: I17255b84ca067886f866a5f8311dcab57fba6f14
    Closes-bug: #1818988
    627ab761
    History
    Fix manager.py launch python version to match installed payload
    Alex Kavanagh authored
    The manager.py helper is launched with either py2 or py3 depending on
    the version of the payload.  However, it was using openstack-origin
    rather than actually picking up the actual version of the installed
    software.  This patch ensures that the manager.py is run with the
    python version of the installed payload, which resolves a bug when
    upgrading to rocky (which is the py2 to py3 transition of the payload).
    
    Also fixes an os.execl() bug which changed behaviour from python2 to
    python3.
    
    Change-Id: I17255b84ca067886f866a5f8311dcab57fba6f14
    Closes-bug: #1818988
openstack_upgrade.py 1.80 KiB