diff options
| author | Vladyslav Drok <vdrok@mirantis.com> | 2016-10-13 15:28:04 +0300 |
|---|---|---|
| committer | Vladyslav Drok <vdrok@mirantis.com> | 2016-10-18 00:28:04 +0300 |
| commit | 7bda3408f5bef4349c4e3537f3c8c0826a5dead8 (patch) | |
| tree | 3af50936cabeecf813ff79597fde1b883a6858c6 /ironic_python_agent/errors.py | |
| parent | dca181a47ca1eaec4a56385bce994c12763426cb (diff) | |
| download | ironic-python-agent-7bda3408f5bef4349c4e3537f3c8c0826a5dead8.tar.gz | |
Fix config drive writing script
When the deployment happens on a GPT disk with config drive, writing
it to disk fails. Three reasons for that:
* parted should be used instead of partprobe to determine the type of
the disk;
* gdisk -l sorts the partitions by their number, sort them by start
sector instead;
* after sgdisk completion, the configdrive device is not immediately
visible in the /dev folder, udevadm settle needed here too.
Closes-Bug: #1633063
Change-Id: Ifed89e343f9db4cf303baf7f8823342f6041f202
Diffstat (limited to 'ironic_python_agent/errors.py')
0 files changed, 0 insertions, 0 deletions
