Comment 25 for bug 1543233

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Steps to reproduce.

Note. It is impossible (I couldn't find the way to do it) to reproduce specific disk architectures in virtualized environments, so we can't explicitly confirm that this patch will work in production environments.

On the other hand, we still can confirm that this patch works well. Since the problem itself and the way to fix it are both clear enough, we can simplify testing process and just confirm that patch is ok.

Confirm that additional 1MB indent was added:
1. Create new environment, add one controller node
2. Deploy environment
3. Go to Logs tab; select slave's logs; open fuel-agent's logs.
4. Look for a lines containing "parted -a optimal -s /dev/vda" text (there should be 9 lines).
After fix 1MB should be added at the end of every partition.

Confirm that "partition_alignment" option was implemented:
1. Same as above
2. Edit /etc/fuel-agent/fuel-agent.conf on slave node, change partition_alignment parameter to "minimal"
3. Repeat steps 2-4 from previous description. On step 4 look for the same log messages, but check -a option value.

You can do both checks at the same time.