Ask Your Question
2

How to extend the time allowed for overcloud create

asked 2014-10-15 15:06:55 -0600

James Thompson gravatar image

updated 2014-10-17 15:00:27 -0600

smaffulli gravatar image

I'm trying to install a 5 node baremetal HelionCE. The servers I'm using have a lot of RAM and some unused HBAs resulting in a long POST / boot time. After removing some HBAs to speedup the boot time 3 of the 5 nodes booted before hp_ced_installer.sh exited...

QUESTION: HOW can I increase the time allowed for the Overcloud creation ??

*+--------------------------------------+------------+--------------------+----------------------+
| id                                   | stack_name | stack_status       | creation_time        |
+--------------------------------------+------------+--------------------+----------------------+
| a87a40bf-4053-401e-9f2f-d3f2461a618d | overcloud  | CREATE_IN_PROGRESS | 2014-10-14T18:31:57Z |
+--------------------------------------+------------+--------------------+----------------------+
++ echo 'Waiting for the overcloud stack to be ready'
Waiting for the overcloud stack to be ready
+++ date
++ echo 'HP: Tue Oct 14 18:16:09 UTC 2014 this could take up to 30 or more minutes'
HP: Tue Oct 14 18:16:09 UTC 2014 this could take up to 30 or more minutes
++ wait_for_stack_ready 720 10 overcloud
Command output matched '(CREATE|UPDATE)_FAILED'. Exiting...*
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-12-03 12:53:55 -0600

James Thompson gravatar image

I was able to successfully install the newer 1.4 version of Helion CE by changing my baremetal.csv file to have all identical mem/cpu/storage numbers ( my systems are not all the same).

edit flag offensive delete link more

Comments

this is suggested by one of the release notes for 1.4

James Thompson gravatar imageJames Thompson ( 2014-12-03 12:54:35 -0600 )edit
0

answered 2014-12-03 20:08:02 -0600

echiu gravatar image

updated 2014-12-03 20:10:32 -0600

In tripleo/tripleo-incubator/scripts/hp_ced_overcloud.sh, you can adjust wait time in the following lines, depending on whether you are using ESX or not. Adjust the time parameters in the wait_for function, which is set to 30 minutes by default.

## #. _`Wait for Nova Compute`
##    ::
if [ "${OVERCLOUD_CLOUD_TYPE}" != "ESX" ] ; then
    wait_for 30 10 nova service-list --binary nova-compute 2\>/dev/null \| grep 'enabled.*\ up\ '
fi
### --end

## #. Wait for L2 Agent On Nova Compute
##    ::
# openvswitch agent will not run on ESX proxy compute. Check only on KVM compute node
if [ "${OVERCLOUD_CLOUD_TYPE}" != "ESX" ] ; then
    wait_for 30 10 neutron agent-list -f csv -c alive -c agent_type -c host \| grep "\":-).*Open vSwitch agent.*-novacompute\"" #nodocs
    ## wait_for 30 10 neutron agent-list -f csv -c alive -c agent_type -c host \| grep "\":-).*Open vSwitch agent.*overcloud-novacompute\""
fi
### --end
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-15 15:06:55 -0600

Seen: 1,043 times

Last updated: Dec 03 '14