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.

Your IT Journey Starts Here!

Ready to level up your IT skills? Our new eLearning platform is coming soon to help you master the latest technologies.

Be the first to know when we launch! Join our waitlist now.

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

Recent Post

Leave a Comment

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

Related Post

Let’s clarify the differences between merge requests (commonly called pull requests in GitHub), releases, release candidates (RCs), tags, and branches […]

Kind (which in full means “Kubernetes IN Docker”), is a command line tool that enables you to run Kubernetes clusters […]

Are you looking for an easy way to migrate packages from one cPanel server to a new cPanel server? In […]

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.