Comment 6 for bug 1543233

Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

Eg:

2016-02-08T17:05:29.720187+00:00 info: 2016-02-08 17:05:29.422 6277 DEBUG fuel_agent.utils.partition [-] Trying to create a partition: dev=/dev/sda begin=620395 end=3433259
2016-02-08T17:05:29.720331+00:00 info: 2016-02-08 17:05:29.425 6277 DEBUG fuel_agent.utils.utils [-] Trying to execute command: parted -s /dev/sda -m unit MiB print free
2016-02-08T17:05:29.720413+00:00 info: 2016-02-08 17:05:29.430 6277 DEBUG fuel_agent.utils.partition [-] Info output:
2016-02-08T17:05:29.720466+00:00 info: BYT;
2016-02-08T17:05:29.720532+00:00 info: /dev/sda:3433759MiB:scsi:512:512:gpt:HP LOGICAL VOLUME;
2016-02-08T17:05:29.720597+00:00 info: 1:0.02MiB:1.50MiB:1.48MiB:free;
2016-02-08T17:05:29.720664+00:00 info: 1:1.50MiB:620395MiB:620394MiB::primary:;
2016-02-08T17:05:29.720730+00:00 info: 1:620396MiB:3433759MiB:2813363MiB:free;
2016-02-08T17:05:29.720793+00:00 info:

free space starts with 620396:
> 1:620396MiB:3433759MiB:2813363MiB:free;

but fuel-agent tried to create partition with the following boundaries: begin=620395 end=3433259

that's exactly why the exception was thrown.