Ask Your Question

danidan's profile - activity

2016-08-02 06:24:09 -0500 received badge  Taxonomist
2015-07-03 19:03:31 -0500 received badge  Nice Question (source)
2015-04-17 03:52:37 -0500 received badge  Self-Learner (source)
2014-12-12 10:36:20 -0500 received badge  Nice Answer (source)
2014-12-12 10:36:13 -0500 received badge  Self-Learner (source)
2014-12-12 10:36:13 -0500 received badge  Teacher (source)
2014-07-17 03:08:04 -0500 received badge  Student (source)
2014-03-11 07:06:29 -0500 received badge  Famous Question (source)
2014-03-11 07:06:29 -0500 received badge  Notable Question (source)
2014-02-17 17:31:36 -0500 received badge  Famous Question (source)
2014-01-04 01:41:08 -0500 received badge  Famous Question (source)
2014-01-03 12:32:53 -0500 received badge  Notable Question (source)
2013-12-20 09:19:15 -0500 received badge  Popular Question (source)
2013-12-19 05:53:55 -0500 commented answer IncompatibleOjectVersion

I'm sorry dheeru, I deleted the old VM and began from a backup...

2013-12-18 11:07:07 -0500 answered a question IncompatibleOjectVersion

It seems that reinstalling everything on a fresh machine solved this issue... It's a bit disappointing...

2013-12-18 04:32:03 -0500 asked a question IncompatibleOjectVersion

When I ran DevStack on my Compute node, script seems to work fine, but in my "n-cpu" Screen terminal I got this error:

IncompatibleObjectVersion: Version 1.2 of InstanceList is not supported

2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 117, in wait
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     x.wait()
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 49, in wait
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     return self.thread.wait()
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     return self._exit_event.wait()
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     return hubs.get_hub().switch()
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     return self.greenlet.switch()
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     result = function(*args, **kwargs)
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/openstack/common/service.py", line 448, in run_service
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     service.start()
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/service.py", line 172, in start
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     self.manager.init_host()
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/compute/manager.py", line 793, in init_host
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     context, self.host, expected_attrs=['info_cache'])
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/objects/base.py", line 110, in wrapper
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     args, kwargs)
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/conductor/rpcapi.py", line 470, in object_class_action
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     objver=objver, args=args, kwargs=kwargs)
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/rpcclient.py", line 85, in call
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup     return self._invoke(self.proxy.call, ctxt, method, **kwargs)
2013-12-17 21:10:40.976 TRACE nova.openstack.common.threadgroup ...
(more)
2013-12-14 21:54:18 -0500 received badge  Popular Question (source)
2013-12-11 16:27:14 -0500 received badge  Notable Question (source)
2013-12-09 11:59:06 -0500 asked a question Unable to delete volumes

I'm working on a small openstack enviroment in Virtual Box, just one controller node and a compute node. I tried to create an instance in Horizon but when I try to delete the instance I'm unable to remove the volume previously created. Horizon pops up a red ballon saying "Error: Unable to retrieve attachment information." and also "Error: You do not have permission to delete volume: ... " In fact there are 2 volumes, one with In-Use status (but no instance is using it) and the other stucked in Deleting status.

When I run cinder list I get:

+-----------------------+----------+--------------+------+-------------+----------+-------------+
|                  ID   |  Status  | Display Name | Size | Volume Type | Bootable | Attached to |
+-----------------------+----------+--------------+------+-------------+----------+-------------+
| 96c16921-ddcf-426c ...| deleting |    Temp1     |  5   |     None    |   true   |             |   
+-----------------------+----------+--------------+------+-------------+----------+-------------+

(just one entry: no sign of the volume in In-Use status...)

and when I run

cinder force-delete 96c16921-ddcf-426c...

no errors appear, while cinder list returns the same output as above.

Where might the problem be?

2013-12-09 10:25:42 -0500 received badge  Popular Question (source)
2013-12-09 04:37:38 -0500 commented answer ERROR nova.openstack.common.threadgroup [-] Unexpected error while running command.

I think it worked. Should I use this command everytime I reboot my machines? Thanks a lot, dheeru!

2013-12-06 03:42:42 -0500 asked a question ERROR nova.openstack.common.threadgroup [-] Unexpected error while running command.
I built my small cloud development ambient (just 1 controller and 1 compute node) using DevStack and whenever I try to rejoin-stack I get theese errors cycling appearing on my n-api screen:

    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 346, in fire_timers
        timer()
      File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__
        cb(*args, **kw)
      File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
        result = function(*args, **kwargs)
      File "/opt/stack/nova/nova/openstack/common/service.py", line 448, in run_service
        service.start()
      File "/opt/stack/nova/nova/service.py", line 354, in start
        self.manager.init_host()
      File "/opt/stack/nova/nova/api/manager.py", line 39, in init_host
        self.network_driver.metadata_accept()
      File "/opt/stack/nova/nova/network/linux_net.py", line 653, in metadata_accept
        iptables_manager.apply()
      File "/opt/stack/nova/nova/network/linux_net.py", line 421, in apply
        self._apply()
      File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 248, in inner
        return f(*args, **kwargs)
      File "/opt/stack/nova/nova/network/linux_net.py", line 441, in _apply
        attempts=5)
      File "/opt/stack/nova/nova/network/linux_net.py", line 1190, in _execute
        return utils.execute(*cmd, **kwargs)
      File "/opt/stack/nova/nova/utils.py", line 174, in execute
        return processutils.execute(*cmd, **kwargs)
      File "/opt/stack/nova/nova/openstack/common/processutils.py", line 178, in execute
        cmd=' '.join(cmd))
    ProcessExecutionError: Unexpected error while running command.
    Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
    Exit code: 1
    Stdout: ''
    Stderr: 'Traceback (most recent call last):\n  File "/usr/bin/nova-rootwrap", line 59, in <module>\n    from nova.rootwrap import wrapper\nImportError: No module named rootwrap\n'
    2013-12-06 10:28:54.175 ERROR nova.openstack.common.threadgroup [-] Unexpected error while running command.
    Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
    Exit code: 1
    Stdout: ''
    Stderr: 'Traceback (most recent call last):\n  File "/usr/bin/nova-rootwrap", line 59, in <module>\n    from nova.rootwrap import wrapper\nImportError: No module named rootwrap\n'
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 117, in wait
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup     x.wait()
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup   File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 49, in wait
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup     return self.thread.wait()
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup     return self._exit_event.wait()
    2013-12-06 10:28:54.175 TRACE nova.openstack.common.threadgroup   File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
    2013-12-06 10:28:54.175 TRACE nova.openstack.common ...
(more)
2013-11-13 05:37:09 -0500 received badge  Scholar (source)
2013-11-13 05:36:43 -0500 answered a question "No valid host was found" when launching an instance

thank you both! i've solved the problem but i don't know how... :-S I've stacked and unstacked OpenStack so many times, and every time with a little change. I managed to work the stack just today. Maybe, I guess, was it a lack of resources problem?

Thank you again. I'm going to upvote eachone of your answer.

2013-11-13 05:34:08 -0500 received badge  Supporter (source)
2013-11-13 05:17:32 -0500 received badge  Enthusiast
2013-11-06 03:13:17 -0500 received badge  Famous Question (source)
2013-10-31 04:55:36 -0500 received badge  Notable Question (source)
2013-10-30 12:38:55 -0500 received badge  Popular Question (source)
2013-10-29 07:08:55 -0500 received badge  Editor (source)
2013-10-29 07:05:01 -0500 asked a question "No valid host was found" when launching an instance

I installted OpenStack using DevStack script on my 2 virtual machines running both Ubuntu Server 12.04.3. One machine is the Controller Node and the other one is a Compute node.

When I login to Dashboard and I try to launch an instance i get the "No valid host was found" error. I saw this question https://ask.openstack.org/en/question/3106/baremetal-unable-to-launch-the-instance-due-to-no-valid-host-was-found/ and I tried

$nova baremetal-node-list

but I get this error:

ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-3357efc7-7293-461e-995c-585420ad1d8f)

What you suggest me to troubleshoot this (these??) problem/s?