check-tempest-dsvm-ironic-pxe_ssh is failing

Bug #1405626 reported by Ken'ichi Ohmichi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Invalid
Undecided
Unassigned
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
devstack
Fix Released
Undecided
Unassigned
diskimage-builder
Invalid
Undecided
Unassigned
grenade
Invalid
Undecided
Unassigned

Bug Description

since 2014/12/25, check-tempest-dsvm-ironic-pxe_ssh is failing due to a "mkdir" failure:

http://logs.openstack.org/09/138009/6/check/check-tempest-dsvm-ironic-pxe_ssh/e334e39/logs/devstacklog.txt.gz

2014-12-25 10:09:11.299 | ++ ramdisk-image-create ubuntu deploy-ironic -o /opt/stack/new/devstack/files/ir-deploy-pxe_ssh
2014-12-25 10:09:11.308 | mkdir: cannot create directory '/opt/stack/new/.cache': Permission denied

Changed in ironic:
status: New → Invalid
Changed in diskimage-builder:
status: New → Invalid
Changed in devstack:
status: New → In Progress
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

devstack patch to address this @ https://review.openstack.org/#/c/144216/

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

All Nova check jobs are failing

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

Reviewed: https://review.openstack.org/144216
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=130efefe6c8e8750504152742bd82961f18c8a02
Submitter: Jenkins
Branch: master

commit 130efefe6c8e8750504152742bd82961f18c8a02
Author: Adam Gandelman <email address hidden>
Date: Sat Dec 27 14:01:00 2014 -0800

    Call sudo /w -H in install_pip.sh as well

    We updated other usage of sudo to pass -H when installing pip things,
    to avoid creating a .cache directory in $STACK_USER's $HOME that is
    owned by root. get-pip.py also ends up creating a ~/.cache, so we
    need to update sudo usage there as well.

    Closes-bug: #1405626
    Related-bug: #1405732

    Change-Id: If791b9b25d6a4280dab19117004184e57e78d038

Changed in devstack:
status: In Progress → Fix Released
Changed in nova:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to grenade (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/144350

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to grenade (stable/juno)

Related fix proposed to branch: stable/juno
Review: https://review.openstack.org/144352

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to grenade (master)

Reviewed: https://review.openstack.org/144350
Committed: https://git.openstack.org/cgit/openstack-dev/grenade/commit/?id=6d739b8b93c823cd891a98cf387ffe7d0d90f5d7
Submitter: Jenkins
Branch: master

commit 6d739b8b93c823cd891a98cf387ffe7d0d90f5d7
Author: Adam Gandelman <email address hidden>
Date: Mon Dec 29 11:38:20 2014 -0800

    Sync functions-common from devstack

    This is a sync of functions-common from devstack, which has had multiple
    fixes applied to workaround various breakages introduced by new pip.

    Related-bug: #1405626

    Change-Id: Ie957726c606a0f63f35629c0616155b102983d7e

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/144374

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

This is now failing in grenade, pending fixes to both devstack and greande's stable/juno. One cannot merge without the other, so we need to come up with a workaround elsewhere (DSG?)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to grenade (stable/juno)

Reviewed: https://review.openstack.org/144352
Committed: https://git.openstack.org/cgit/openstack-dev/grenade/commit/?id=9fe3906369852c3f8c468d7125c8ec81cc163302
Submitter: Jenkins
Branch: stable/juno

commit 9fe3906369852c3f8c468d7125c8ec81cc163302
Author: Adam Gandelman <email address hidden>
Date: Mon Dec 29 11:51:44 2014 -0800

    Use sudo -H with pip

    This is a minimal backport of fixes that went into master and devstack
    to work around pip's use of ~/.cache and conflicts with DIB.

    Related-bug: #1405626

    Change-Id: Ie957726c606a0f63f35629c0616155b102983d7e

tags: added: in-stable-juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/icehouse)

Reviewed: https://review.openstack.org/144161
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=31d0649d4bec79c2a1f7e56dbda7190062cf3aff
Submitter: Jenkins
Branch: stable/icehouse

commit 31d0649d4bec79c2a1f7e56dbda7190062cf3aff
Author: Monty Taylor <email address hidden>
Date: Fri Dec 26 10:03:56 2014 -0600

    Backport install_pip.sh from master

    There are several improvements to install_pip.sh in master. All of these
    have to do with the general state of pip upstream and are not something
    that have anything to do with icehouse. For sanity, just backport the
    entire file.

    Change-Id: I9996bbc76ea81dd5bdded3bc8a5bf0542ade95f1
    Closes-Bug: 1405579
    Closes-bug: #1405626
    Related-bug: #1405732

tags: added: in-stable-icehouse
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/juno)

Reviewed: https://review.openstack.org/144162
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=51392964e30aaf381589f04fd914f513570e2545
Submitter: Jenkins
Branch: stable/juno

commit 51392964e30aaf381589f04fd914f513570e2545
Author: Monty Taylor <email address hidden>
Date: Fri Dec 26 10:05:56 2014 -0600

    Backport install_pip.sh from master

    There are several improvements to install_pip.sh in master. All of these
    have to do with the general state of pip upstream and are not something
    that have anything to do with icehouse. For sanity, just backport the
    entire file.

    Change-Id: I9996bbc76ea81dd5bdded3bc8a5bf0542ade95f1
    Closes-Bug: 1405579
    Closes-bug: #1405626
    Related-bug: #1405732

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

Reviewed: https://review.openstack.org/144374
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=3071efd1c849d62bb82eddace2484bbe4ed5a4fb
Submitter: Jenkins
Branch: stable/juno

commit 3071efd1c849d62bb82eddace2484bbe4ed5a4fb
Author: Adam Gandelman <email address hidden>
Date: Sat Dec 27 14:01:00 2014 -0800

    Call sudo /w -H in install_pip.sh as well

    We updated other usage of sudo to pass -H when installing pip things,
    to avoid creating a .cache directory in $STACK_USER's $HOME that is
    owned by root. get-pip.py also ends up creating a ~/.cache, so we
    need to update sudo usage there as well.

    Closes-bug: #1405626
    Related-bug: #1405732

    Change-Id: If791b9b25d6a4280dab19117004184e57e78d038
    (cherry picked from commit 130efefe6c8e8750504152742bd82961f18c8a02)

Revision history for this message
Sean Dague (sdague) wrote :

This grenade bug was last updated over 180 days ago, as grenade
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in grenade:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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