prepare_node.sh fails behind a http proxy server

Bug #1307702 reported by Ramy Asselin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Committed
Undecided
Ramy Asselin

Bug Description

When running nodepool to create a pool of Jenkin slave nodes based on a fresh ubuntu precise image, the image creation script (prepare_node.sh) fails with numerous errors related to dns.
Sure enough, the new image does not have the required http proxy information typically required in corporate environments.

Changed in openstack-ci:
assignee: nobody → Ramy Asselin (ramy-asselin)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/87384

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/96539

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/96551

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.openstack.org/96539
Committed: https://git.openstack.org/cgit/openstack-infra/config/commit/?id=4e6c268f6f64c1d91d6f0ea23cf72f8d87675990
Submitter: Jenkins
Branch: master

commit 4e6c268f6f64c1d91d6f0ea23cf72f8d87675990
Author: Ramy Asselin <email address hidden>
Date: Thu May 29 10:38:02 2014 -0700

    Allow choice of GIT protocol used.

    From within some corporate http networks, the 'git' protocol cannot be used.
    Update the prepare_node and cache_git_repos scripts to default to using the
    'git' protocol, but allow customiztion to use the 'http' protocol via command
    line argument.

    In addition, allow the full base url to be modifed as done in devstack stackrc
    to also allow changing repositories.

    Change-Id: I875f2e46c466e4e0fb7a5d4dbc54e958d91f9151
    Partial-Bug: #1307702

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on config (master)

Change abandoned by Ramy Asselin (<email address hidden>) on branch: master
Review: https://review.openstack.org/96551
Reason: I tested with the latest infra/config puppet/nodepool scrips, and it seems to work now.

Changed in openstack-ci:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Ramy Asselin (<email address hidden>) on branch: master
Review: https://review.openstack.org/87384
Reason: Can be done outside of Openstack.

Revision history for this message
Ramy Asselin (ramy-asselin) wrote :

Updated to Fix Committed.

https://review.openstack.org/96539 solves the GIT protocol issue.
Unbound no longer an issue...went away on it's own: Abandoned: https://review.openstack.org/96551
Proxy variables can be set using an external script that calls prepare_node.sh. Abandoned: https://review.openstack.org/#/c/87384/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.openstack.org/96551
Committed: https://git.openstack.org/cgit/openstack-infra/config/commit/?id=72975a3c5f6c6f896a849ccf87a79830a77cdd6b
Submitter: Jenkins
Branch: master

commit 72975a3c5f6c6f896a849ccf87a79830a77cdd6b
Author: Ramy Asselin <email address hidden>
Date: Thu Jul 24 15:59:18 2014 -0700

    Make use of unbound optional

    In some 3rd party ci systems, the installation of unbound
    cause node image creation to fail and/or devstack-gate to fail.

    Since it is not strictly necessary, allow it to be disabled in
    environments that do not support it.

    Change-Id: I906ae3ccf946e208e17c7087f89641d645db7111
    Partial-Bug: #1307702

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.