Public bug reported:

Hi,

I use the GPLHost repository for Grizzly on Debian Wheezy.
When i try to start the nova-novncproxy service it crashed with this traceback  
:

Traceback (most recent call last):
  File "/usr/bin/nova-novncproxy", line 32, in <module>
    from nova import flags
ImportError: cannot import name flags

I found this link : https://lists.launchpad.net/openstack/msg23774.html
The important part of the thread is that :

"flags.py was removed from Grizzly, you may want to update the code
for nova dns by using “from oslo.config import cfg” instead."

Package informations :

   - Package: novnc
   - Version: 1:0.4+dfsg+1-7
   - Architecture: amd64

So i did a patch which solves the issue for me, you will find it in
attachment.

Gaëtan (goldyfruit)

** Affects: nova
     Importance: Undecided
         Status: New

** Affects: novnc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: nova-novncproxy

** Patch added: "nova-novncproxy.patch"
   
https://bugs.launchpad.net/bugs/1187613/+attachment/3694813/+files/nova-novncproxy.patch

** Tags added: nova-novncproxy

** Also affects: novnc (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  Hi,
  
  I use the GPLHost repository for Grizzly on Debian Wheezy.
  When i try to start the nova-novncproxy service it crashed with this 
traceback  :
  
  Traceback (most recent call last):
-   File "/usr/bin/nova-novncproxy", line 32, in <module>
-     from nova import flags
+   File "/usr/bin/nova-novncproxy", line 32, in <module>
+     from nova import flags
  ImportError: cannot import name flags
  
  I found this link : https://lists.launchpad.net/openstack/msg23774.html
  The important part of the thread is that :
  
-      flags.py was removed from Grizzly, you may want to update the code for 
nova
-      dns by using “from oslo.config import cfg” instead.
+ "flags.py was removed from Grizzly, you may want to update the code
+ for nova dns by using “from oslo.config import cfg” instead."
  
  Package informations :
  
-    - Package: novnc
-    - Version: 1:0.4+dfsg+1-7
-    - Architecture: amd64
+    - Package: novnc
+    - Version: 1:0.4+dfsg+1-7
+    - Architecture: amd64
  
- So i did a patch who solve the issue for me, you will find it in
+ So i did a patch which solves the issue for me, you will find it in
  attachment.
  
  Gaëtan (goldyfruit)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1187613

Title:
  nova-novncproxy crashes on Debian Wheezy

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1187613/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to