Fix cannot ‘stop’ instance while in vm_state resized

We recently encountered an error message “ConflictException: 409: Client Error for url: http://192.168.168.10:8774/v2.1/servers/f3cb52ff-a87d-458b-b350-fefeb36f62f9/action, Cannot 'stop' instance f3cb52ff-a87d-458b-b350-fefeb36f62f9 while it is in vm_state resized when we attempted to restart an instance with failed resize operation on OpenStack.

To resolve this, let’s first confirm the instance status

openstack server show <instance_name_or_id>

Revert the resize operation to previous instance state:

openstack server resize revert <instance_name_or_id>
openstack server resize confirm  <instance_name_or_id>

After the instance state is reverted, you will be able to stop the instance without encountering the ConflictException error.

openstack server stop <instance_name_or_id>

You can then resize the instance accordingly.

openstack server resize --flavor <flavor> <instance_name_or_id>

If you follow the steps outlined here you should be able to resolve instance resized state issue and ultimately stop your instance in OpenStack.

Join our Linux and open source community. Subscribe to our newsletter for tips, tricks, and collaboration opportunities!

Recent Post

Unlock the Right Solutions with Confidence

At CloudSpinx, we don’t just offer services - we deliver clarity, direction, and results. Whether you're navigating cloud adoption, scaling infrastructure, or solving DevOps challenges, our seasoned experts help you make smart, strategic decisions with total confidence. Let us turn complexity into opportunity and bring your vision to life.

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Post

Apache Tomcat is a free and open-source implementation of the Java Servlet and Server page container. It enables developers to […]

CentOS 8 hit its EOL date in December 31st, 2021, a strategic point in the Red Hat Enterprise Linux (RHEL) […]

Setting the correct system time and timezone is a fundamental skill for administering any Linux server, especially on enterprise versions […]

Let's Connect

Unleash the full potential of your business with CloudSpinx. Our expert solutions specialists are standing by to answer your questions and tailor a plan that perfectly aligns with your unique needs.
You will get a response from our solutions specialist within 12 hours
We understand emergencies can be stressful. For immediate assistance, chat with us now

Contact CloudSpinx today!

Download CloudSpinx Profile

Discover the full spectrum of our expertise and services by downloading our detailed Company Profile. Simply enter your first name, last name, and email address.