Mitaka: Vm snapshot fails with attribute error

Bug #1603519 reported by Vinod Nair
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
High
amudhar
R3.1
Won't Fix
High
amudhar
Trunk
Won't Fix
High
amudhar

Bug Description

nova --os-tenant-name=demo image-create SERVER--1 MQ1

Server snapshotting... 25% complete
Deleted snapshotting server
ERROR (AttributeError): fault

2016-07-15 11:04:04.088 29822 INFO eventlet.wsgi.server [req-8b32e050-ad8d-463b-827a-7ce5809117f1 0d66a9e4409547cfa255f1867ab710ee e5ec18e7dea24be1b3b05cbff901f245 - - -] 10.87.141.4 - - [15/Jul/2016 11:04:04] "POST /v1/images HTTP/1.1" 201 962 0.487601
2016-07-15 11:04:05.054 29808 INFO eventlet.wsgi.server [req-68a98284-2cad-4b15-be7e-96224c5d44c4 0d66a9e4409547cfa255f1867ab710ee e5ec18e7dea24be1b3b05cbff901f245 - - -] 10.87.141.4 - - [15/Jul/2016 11:04:05] "HEAD /v1/images/6e9e4af0-3a88-4caa-a0bd-af98cb465bb4 HTTP/1.1" 200 1022 0.391763
2016-07-15 11:04:05.755 29787 INFO eventlet.wsgi.server [req-b2b81f12-633e-40f8-88ed-901e8c72422b 0d66a9e4409547cfa255f1867ab710ee e5ec18e7dea24be1b3b05cbff901f245 - - -] 13.1.0.8 - - [15/Jul/2016 11:04:05] "HEAD /v1/images/6e9e4af0-3a88-4caa-a0bd-af98cb465bb4 HTTP/1.1" 200 1022 0.231647
2016-07-15 11:04:07.068 29816 INFO eventlet.wsgi.server [req-b75cc05d-32e8-45fc-852c-0470ded1c7a4 0d66a9e4409547cfa255f1867ab710ee e5ec18e7dea24be1b3b05cbff901f245 - - -] 13.1.0.8 - - [15/Jul/2016 11:04:07] "DELETE /v1/images/6e9e4af0-3a88-4caa-a0bd-af98cb465bb4 HTTP/1.1" 200 205 0.725034
2016-07-15 11:04:10.325 29802 INFO eventlet.wsgi.server [req-73e72f32-7080-4ca4-870a-434ed94b9452 0d66a9e4409547cfa255f1867ab710ee e5ec18e7dea24be1b3b05cbff901f245 - - -] 10.87.141.4 - - [15/Jul/2016 11:04:10] "HEAD /v1/images/6e9e4af0-3a88-4caa-a0bd-af98cb465bb4 HTTP/1.1" 200 760 0.248659

Vinod Nair (vinodnair)
information type: Proprietary → Public
Vinod Nair (vinodnair)
description: updated
Vinod Nair (vinodnair)
Changed in juniperopenstack:
assignee: nobody → Rudra Rugge (rudrarugge)
Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
milestone: r3.1.0.0-fcs → none
Jeba Paulaiyan (jebap)
tags: added: mitaka
Rudra Rugge (rrugge)
Changed in juniperopenstack:
assignee: Rudra Rugge (rudrarugge) → amudhar (amudha)
Rudra Rugge (rrugge)
tags: removed: blocker
Revision history for this message
amudhar (amudha) wrote :
Download full text (4.6 KiB)

I see this working with R3.1 latest build. Can you please test and confirm?

root@b3s21:/opt/contrail/utils# nova list
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ea3bda7f-2a65-4444-82e2-0e728356c46e | vm1 | SHUTOFF | - | Shutdown | vn1=192.168.3.3 |
| 6fa3a3b5-eee9-4bba-8159-8b944afc843c | vm2 | ACTIVE | - | Running | vn1=192.168.3.4 |
+--------------------------------------+------+---------+------------+-------------+-----------------+
root@b3s21:/opt/contrail/utils# nova image-create --poll vm1 vm1-snapshot

Server snapshotting... 100% complete
Finished
root@b3s21:/opt/contrail/utils# nova list
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ea3bda7f-2a65-4444-82e2-0e728356c46e | vm1 | SHUTOFF | - | Shutdown | vn1=192.168.3.3 |
| 6fa3a3b5-eee9-4bba-8159-8b944afc843c | vm2 | ACTIVE | - | Running | vn1=192.168.3.4 |
+--------------------------------------+------+---------+------------+-------------+-----------------+
root@b3s21:/opt/contrail/utils# nova image-list
+--------------------------------------+-----------------------+--------+--------------------------------------+
| ID | Name | Status | Server |
+--------------------------------------+-----------------------+--------+--------------------------------------+
| 7af7c503-9030-4c9a-b50b-290fb5f16510 | analyzer | ACTIVE | |
| 0ee8bed9-8532-4957-b322-56f81e5208f3 | centos65-ipv6 | ACTIVE | |
| d769cbd2-4377-456f-bf87-2e0a741e2e65 | cirros | ACTIVE | |
| 091df464-d1e7-42f9-95f2-83c517eba728 | ubuntu | ACTIVE | |
| 2df0bde8-de4b-4752-8214-eee9fb51eeeb | ubuntu-dhcp-server | ACTIVE | |
| 08d7c660-0923-4ae5-9534-3ecd099232ec | ubuntu-dhcpdns-server | ACTIVE | |
| 2e13b5ac-2aeb-4616-b513-b1dc65c42158 | ubuntu-dns-server | ACTIVE | |
| 14044e41-62a7-4628-bbe3-7d7293be45d9 | ubuntu-in-net | ACTIVE | |
| 52ed1662-c738-4eb3-b048-3e249c2e82f9 | ubuntu-traffic | ACTIVE | |
| 471c0a3f-b5cc-4fe1-b70c-c575ab09d7d7 | vm1-snapshot | ACTIVE | ea3bda7f-2a65-4444-82e2-0e728356c46e |
| 064a8cdf-3bd4-4cad-ab35-8f4ded3f5c81 | vsrx | ACTIVE | |
| 08933472-875d-4c72-9c28-49890c5a6f2c | vsrx-bridge...

Read more...

Changed in juniperopenstack:
assignee: amudhar (amudha) → nobody
assignee: nobody → Vinod Nair (vinodnair)
status: New → In Progress
Revision history for this message
amudhar (amudha) wrote :
Download full text (4.6 KiB)

Snapshot of an active VM works with mitaka build 32.

root@b3s21:/opt/contrail/utils# nova list
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ea3bda7f-2a65-4444-82e2-0e728356c46e | vm1 | SHUTOFF | - | Shutdown | vn1=192.168.3.3 |
| 6fa3a3b5-eee9-4bba-8159-8b944afc843c | vm2 | ACTIVE | - | Running | vn1=192.168.3.4 |
+--------------------------------------+------+---------+------------+-------------+————————+

root@b3s21:/opt/contrail/utils# nova image-create --poll vm2 vm2-snapshot

Server snapshotting... 100% complete
Finished

root@b3s21:/opt/contrail/utils# nova list
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+---------+------------+-------------+-----------------+
| ea3bda7f-2a65-4444-82e2-0e728356c46e | vm1 | SHUTOFF | - | Shutdown | vn1=192.168.3.3 |
| 6fa3a3b5-eee9-4bba-8159-8b944afc843c | vm2 | ACTIVE | - | Running | vn1=192.168.3.4 |
+--------------------------------------+------+---------+------------+-------------+-----------------+

root@b3s21:/opt/contrail/utils# nova image-list
+--------------------------------------+-----------------------+--------+--------------------------------------+
| ID | Name | Status | Server |
+--------------------------------------+-----------------------+--------+--------------------------------------+
| 7af7c503-9030-4c9a-b50b-290fb5f16510 | analyzer | ACTIVE | |
| 0ee8bed9-8532-4957-b322-56f81e5208f3 | centos65-ipv6 | ACTIVE | |
| d769cbd2-4377-456f-bf87-2e0a741e2e65 | cirros | ACTIVE | |
| 091df464-d1e7-42f9-95f2-83c517eba728 | ubuntu | ACTIVE | |
| 2df0bde8-de4b-4752-8214-eee9fb51eeeb | ubuntu-dhcp-server | ACTIVE | |
| 08d7c660-0923-4ae5-9534-3ecd099232ec | ubuntu-dhcpdns-server | ACTIVE | |
| 2e13b5ac-2aeb-4616-b513-b1dc65c42158 | ubuntu-dns-server | ACTIVE | |
| 14044e41-62a7-4628-bbe3-7d7293be45d9 | ubuntu-in-net | ACTIVE | |
| 52ed1662-c738-4eb3-b048-3e249c2e82f9 | ubuntu-traffic | ACTIVE | |
| 471c0a3f-b5cc-4fe1-b70c-c575ab09d7d7 | vm1-snapshot | ACTIVE | ea3bda7f-2a65-4444-82e2-0e728356c46e |
| e49f626c-d4a6-4b8b-b770-320bb7b02a5b | vm2-snapshot | ACTIVE | 6fa3a3b5-eee9-4bba-8159-8b944afc843c |
| 064a8cdf-3bd4-4cad-ab35-8f4ded3f5c81 | vsrx | ACTIVE | ...

Read more...

Revision history for this message
Vinod Nair (vinodnair) wrote :

Hi Amudha

pls see 1621476 , reporting the same

Thanks
Vinod

Changed in juniperopenstack:
assignee: Vinod Nair (vinodnair) → amudhar (amudha)
summary: - Mitaka: Vm snapshot failes with attribute error
+ Mitaka: Vm snapshot fails with attribute error
amudhar (amudha)
Changed in juniperopenstack:
status: In Progress → New
Revision history for this message
Jeba Paulaiyan (jebap) wrote :

We need to conclude on this. Dev engineer to check - Is the latest Mitaka has the fix? Is Newton had the fix?

amudhar (amudha)
Changed in juniperopenstack:
milestone: none → r4.1.0.0-fcs
Rudra Rugge (rrugge)
Changed in juniperopenstack:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.