Bug 1241501
| Summary: | RFE: Allow resizing of instances by default in the Nova configuration | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yogev Rabl <yrabl> |
| Component: | rhosp-director | Assignee: | Hugh Brock <hbrock> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yogev Rabl <yrabl> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | Director | CC: | alsilva, bnemec, jcoufal, mburns, mcornea, rhel-osp-director-maint |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-27 03:14:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1221776, 1267598 | ||
| Bug Blocks: | |||
|
Description
Yogev Rabl
2015-07-09 10:49:23 UTC
"The resizing of an instance requires the parameter allow_resize_to_same_host in the /etc/nova/nova.conf must be set to true." Note that this is only true if you have exactly one compute node. In any real deployment it is not going to be an issue. Whenever I tried to resize an instance with no relation to the number of compute nodes I had I always had to change this parameter in order for the resize to work. Ah, that would be because of https://bugzilla.redhat.com/show_bug.cgi?id=1221776 Resizing requires the same inter-compute ssh access as migrate. This bug did not make the OSP 8.0 release. It is being deferred to OSP 10. I have an "all in one" installation. The "allow_resize_to_same_host=true" option solved when scaling up instances, but if we decided scaling down, did not work. In my experience, scaling down usually fails due to the disk size in the new flavor being smaller than the previous one. Since OpenStack can't resize the partition in the instance before changing the flavor it's not possible to scale down that way. However, scaling down to a flavor with the same size disk but less cpu and memory should work fine. Scale up is supported. Scale down only manual. |