| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0013931 | Cloud Instance SIG | cloud-init | public | 2017-09-28 03:33 | 2017-09-28 06:39 | ||||||||
| Reporter | jp methot | ||||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||||
| Status | new | Resolution | open | ||||||||||
| Platform | Openstack RDO Ocata | OS | CentOS 7 | OS Version | 7.4.1708 | ||||||||
| Summary | 0013931: Cloud-init can't resize instances anymore since update to 0.7.9 | ||||||||||||
| Description | It appears that since the cloud-init update to 0.7.9, cloud-init can't resize our instances anymore. While some parts of it run properly, I'm getting the following error which may be linked : 2017-09-28 02:01:43,641 - util.py[WARNING]: failed stage init 2017-09-28 02:01:43,641 - util.py[DEBUG]: failed stage init Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 513, in status_wrapper ret = functor(name, args) File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 281, in main_init init.update() File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 357, in update self._store_vendordata() File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 381, in _store_vendordata util.write_file(self._get_ipath('vendordata_raw'), raw_vd, 0o600) File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 1755, in write_file content = encode_text(content) File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 154, in encode_text return text.encode(encoding) AttributeError: 'dict' object has no attribute 'encode' I suspect this is preventing the cloud_init_modules from running. More information may be found in the attached logs. | ||||||||||||
| Steps To Reproduce | -Provision an openstack instance with a centos image from a cinder volume. -Update to the latest cloud-init package on the VM -Increase the root volume size in openstack (this may be tricky as openstack doesn't normally let you do that. Need to shutdown the vm, change the volume status to available, increase the size, switch back to in-use and then start the VM) -Once the VM is back, cloud-init will not have increased the size as it is supposed to. | ||||||||||||
| Additional Information | Interestingly enough, our cloudlinux servers do not appear to have this issue. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files |
| ||||||||||||
Notes |
|
|
jp methot (reporter) 2017-09-28 06:39 |
Please also note that downgrading the package solves this issue. |


