[Compute] package install timeouts for openstack-nova-common

Bug #1461974 reported by Mark Vanderwiel on 2015-06-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Mark Vanderwiel

Bug Description

Because of the high number of dependencies for nova, it can take a long time to get the base package installed.

Recipe: openstack-compute::nova-common
  * yum_package[openstack-nova-common] action upgrade

    Error executing action `upgrade` on resource 'yum_package[openstack-nova-common]'

    Command timed out after 900s:
    Command exceeded allowed execution time, process terminated
    ---- Begin output of yum -d0 -e0 -y install openstack-nova-common-2015.1.0.1-201505281730.ibm.el7.126 ----
    STDOUT: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    ---- End output of yum -d0 -e0 -y install openstack-nova-common-2015.1.0.1-201505281730.ibm.el7.126 ----
    Ran yum -d0 -e0 -y install openstack-nova-common-2015.1.0.1-201505281730.ibm.el7.126 returned 1

    Resource Declaration:
    # In /var/chef/cache/cookbooks/openstack-compute/recipes/nova-common.rb

     34: package pkg do
     35: options platform_options['package_overrides']
     36: action :upgrade
     37: end
     38: end

    Compiled Resource:
    # Declared in /var/chef/cache/cookbooks/openstack-compute/recipes/nova-common.rb:34:in `block in from_file'

    yum_package("openstack-nova-common") do
      action [:upgrade]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      package_name "openstack-nova-common"
      version "2015.1.0.1-201505281730.ibm.el7.126"
      timeout 900
      flush_cache {:before=>false, :after=>false}
      declared_type :package
      cookbook_name "openstack-compute"
      recipe_name "nova-common"

I think the simplest approach to fixing this would be to just bump up the retries option to maybe 3. Since this involves multiple packages, each pass should only have to go after what is left to do.

Changed in openstack-chef:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers