Difference between revisions of "Bright:Troubleshoot-CaaS"
Jump to navigation
Jump to search
| Line 37: | Line 37: | ||
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforconnection 20s | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforconnection 20s | ||
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforserver 20s | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforserver 20s | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Cannot Create new CaaS nodes === | ||
| + | |||
| + | Again a timeout issue: | ||
| + | |||
| + | <syntaxhighlight> | ||
| + | [shadow-head->device[shadow-head]->roles]% use haproxy | ||
| + | [shadow-head->device[shadow-head]->roles[haproxy]]% settings | ||
| + | [shadow-head->device[shadow-head]->roles[haproxy]->settings]% set timeoutforclient 240s | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforconnection 240s | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforserver 240s | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% commit | ||
| + | [shadow-head->device[shadow-head]->roles[haproxy]->settings]% .. | ||
| + | [shadow-head->device[shadow-head]->roles[haproxy]]% entries | ||
| + | [shadow-head->device[shadow-head]->roles[haproxy]->entries]% use orchestrationapi-heat | ||
| + | [shadow-head->device[shadow-head]->roles[haproxy]->entries[orchestrationAPI-heat]]% set usecustomentrysettings 1 | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]]% settings | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings]% set timeoutforclient 240s | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings*]% set timeoutforconnection 240s | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings*]% set timeoutforserver 240s | ||
| + | [shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings*]% commit | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 17:03, 8 December 2015
Can't upload image larger than 32GB
By default the max image size that could be uploaded to glance should be 32GB, so you can update this limit with the following command:
cmsh
[shadow-head]% openstack
[shadow-head->openstack[default]]% settingsquota
[shadow-head->openstack[default]->settings:quota]% set maxsingleimagesize 100GB
[shadow-head->openstack*[default*]->settings:quota*]% commit
Can't create snapshots
The problem was due to timeout uploading the image on glance, so we increase this timeout to 120s and change also the defaults from 4s to 20s.
cmsh
[shadow-head]% device use master
[shadow-head->device[shadow-head]]% roles
[shadow-head->device[shadow-head]->roles]% use haproxy
[shadow-head->device[shadow-head]->roles[haproxy]]% entries
[shadow-head->device[shadow-head]->roles[haproxy]->entries]% use imagestorageapi-glance
[shadow-head->device[shadow-head]->roles[haproxy]->entries[imageStorageAPI-glance]]% set usecustomentrysettings 1
[shadow-head->device[shadow-head]->roles[haproxy]->entries[imageStorageAPI-glance]->settings]% set timeoutforclient 120s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[imageStorageAPI-glance*]->settings*]% set timeoutforconnection 120s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[imageStorageAPI-glance*]->settings*]% set timeoutforserver 120s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[imageStorageAPI-glance*]->settings*]%
[shadow-head]% device use master
[shadow-head->device[shadow-head]]% roles
[shadow-head->device[shadow-head]->roles]% use haproxy
[shadow-head->device[shadow-head]->roles[haproxy]]% settings
[shadow-head->device[shadow-head]->roles[haproxy]->settings]% set timeoutforclient 20s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforconnection 20s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforserver 20sCannot Create new CaaS nodes
Again a timeout issue:
[shadow-head->device[shadow-head]->roles]% use haproxy
[shadow-head->device[shadow-head]->roles[haproxy]]% settings
[shadow-head->device[shadow-head]->roles[haproxy]->settings]% set timeoutforclient 240s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforconnection 240s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% set timeoutforserver 240s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->settings*]% commit
[shadow-head->device[shadow-head]->roles[haproxy]->settings]% ..
[shadow-head->device[shadow-head]->roles[haproxy]]% entries
[shadow-head->device[shadow-head]->roles[haproxy]->entries]% use orchestrationapi-heat
[shadow-head->device[shadow-head]->roles[haproxy]->entries[orchestrationAPI-heat]]% set usecustomentrysettings 1
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]]% settings
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings]% set timeoutforclient 240s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings*]% set timeoutforconnection 240s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings*]% set timeoutforserver 240s
[shadow-head->device*[shadow-head*]->roles*[haproxy*]->entries*[orchestrationAPI-heat*]->settings*]% commit