<div dir="ltr">Thanks Lingxian, it worked fine.<div><br></div><div>I have resize the volume of mysql datastore from 17GB to 18GB. In guest agent logs it said that command has executed successfully. </div><div><br></div>2021-05-21 07:11:03.527 1062 INFO trove.guestagent.datastore.manager [-] Resizing the filesystem at /var/lib/mysql, online: True<br>2021-05-21 07:11:03.528 1062 DEBUG trove.guestagent.volume [-] Checking if /dev/sdb exists. _check_device_exists /home/ubuntu/trove/trove/guestagent/volume.py:217<br>2021-05-21 07:11:03.528 1062 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): sudo blockdev --getsize64 /dev/sdb execute /opt/guest-agent-venv/lib/python3.6/site-packages/oslo_concurrency/processutils.py:384<br>2021-05-21 07:11:03.545 1062 DEBUG oslo_concurrency.processutils [-] CMD "sudo blockdev --getsize64 /dev/sdb" returned: 0 in 0.016s execute /opt/guest-agent-venv/lib/python3.6/site-packages/oslo_concurrency/processutils.py:423<br>2021-05-21 07:11:03.546 1062 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): sudo resize2fs /dev/sdb execute /opt/guest-agent-venv/lib/python3.6/site-packages/oslo_concurrency/processutils.py:384<br><div>2021-05-21 07:11:03.577 1062 DEBUG oslo_concurrency.processutils [-] CMD "sudo resize2fs /dev/sdb" returned: 0 in 0.031s execute /opt/guest-agent-venv/lib/python3.6/site-packages/oslo_concurrency/processutils.py:423</div><div><br></div><div>But the /var/lib/mysql still shows 17GB. I have manually executed resize2fs on /dev/sdb. After manual execution, /var/lib/mysql has updated to 18GB. Not sure if I am missing something. </div><div><br></div><div>- Ammad</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 20, 2021 at 4:39 PM Lingxian Kong <<a href="mailto:anlin.kong@gmail.com">anlin.kong@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Modify trove service config file:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">[DEFAULT]</div><div class="gmail_default" style="font-family:verdana,sans-serif">max_accepted_volume_size = <any value bigger than 10, maybe 15?></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">10 is the default value if the config option is not specified.</div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(102,102,102);font-family:monospace,monospace"><br></span></div><div><span style="color:rgb(102,102,102);font-family:monospace,monospace">---</span><br></div><div><font color="#666666" face="monospace, monospace">Lingxian Kong</font></div><div><font color="#666666" face="monospace, monospace">Senior Cloud Engineer (Catalyst Cloud)</font></div><div><font color="#666666" face="monospace, monospace">Trove PTL (OpenStack)</font></div><div><font color="#666666" face="monospace, monospace">OpenStack Cloud Provider Co-Lead (Kubernetes)</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 19, 2021 at 9:56 PM Ammad Syed <<a href="mailto:syedammad83@gmail.com" target="_blank">syedammad83@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am using wallaby / trove on ubuntu 20.04. I am trying to extend volume of database instance. Its having trouble that instance cannot exceed volume size of 10GB.</div><div><br></div><div>My flavor has 2vcpus 4GB RAM and 10GB disk. I created a database instance with 5GB database size and mysql datastore. The deployment has created 10GB root and 5GB /var/lib/mysql. I have tried to extend volume to 11GB, it failed with error that "Volume 'size' cannot exceed maximum of 10 GB, 11 cannot be accepted". </div><div><br></div><div>I want to keep root disk size to 10GB and only want to extend /var/lib/mysql keeping the same flavor. Is it possible or should I need to upgrade flavor as well ?<br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>