← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1526108] Re: Octavia devstack install fails behind proxy

 

** Also affects: octavia
   Importance: Undecided
       Status: New

** No longer affects: neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1526108

Title:
  Octavia devstack install fails behind proxy

Status in octavia:
  New

Bug description:
  The octavia devstack/plugin.sh script does a sudo pip install without
  passing the user environment, meaning settings like
  http_proxy/https_proxy are not passed and keeping the devstack from
  working behind a proxy that needs those settings for pip installs if
  set for the user only.

  function octavia_install {

      setup_develop $OCTAVIA_DIR
      if ! [ "$DISABLE_AMP_IMAGE_BUILD" == 'True' ]; then
          install_package qemu kpartx
          git_clone https://git.openstack.org/openstack/diskimage-builder.git $DE\
  ST/diskimage-builder master
          git_clone https://git.openstack.org/openstack/tripleo-image-elements.gi\
  t $DEST/tripleo-image-elements master
          sudo  pip install -r $DEST/diskimage-builder/requirements.txt
      fi

  The user could explicitly set http_proxy/https_proxy settings for root
  as well to avoid the issue.  But this error takes a long time to come
  to when using client only proxy settings until octavia diskimage build
  sudo fails.

  Other services  such as devstack/install_pip.sh do pass the user
  enviornment to sudo with the -E flag.  Suggested fix is to pass the
  '-E' flag in this situation as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/octavia/+bug/1526108/+subscriptions


References