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

The web browser is the key arsenal that we use to browse the internet. If you want to access information […]

In this guide,we will look at how you can install Java 11 on Oracle Linux 8. Java is a widely […]

The adoption of Containers and microservice architectures has been amazing and speedy in the past few years. Docker is widely […]

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.