Ask Your Question

dm07c3's profile - activity

2015-10-06 09:41:33 -0500 received badge  Famous Question (source)
2015-08-18 22:44:51 -0500 received badge  Famous Question (source)
2015-08-17 03:45:11 -0500 received badge  Notable Question (source)
2015-08-14 14:29:57 -0500 received badge  Notable Question (source)
2015-08-13 23:34:38 -0500 received badge  Popular Question (source)
2015-08-13 04:58:51 -0500 received badge  Popular Question (source)
2015-08-12 02:12:40 -0500 received badge  Student (source)
2015-08-11 10:40:14 -0500 answered a question Kilo port_security_enabled=false for network

Hello there,

It looks like your deployed instance is delivered with a security group. Be sure that there isn't a security group inside. (Found here)

Otherwise create a security group which allows all protocols for all IPs in all directions.

2015-08-11 10:40:13 -0500 asked a question Docker and tenant GRE network

Hello everybody,

At the moment I try out Docker for Openstack Kilo. But now I've problems with Docker and neutron: When I want to deploy a docker container in a tenant network it will fail with:

Failed to perform requested operation on instance "XYZ", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.]

Looking in the nova-compute.log shows

2015-08-11 12:30:19.303 1980 WARNING novadocker.virt.docker.driver [-] [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099] Cannot setup network: Unexpected vif_type=binding_failed
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099] Traceback (most recent call last):
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 405, in _start_container
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]     self.plug_vifs(instance, network_info)
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 197, in plug_vifs
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]     self.vif_driver.plug(instance, vif)
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/vifs.py", line 70, in plug
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]     _("Unexpected vif_type=%s") % vif_type)
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099] NovaException: Unexpected vif_type=binding_failed
2015-08-11 12:30:19.303 1980 TRACE novadocker.virt.docker.driver [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]
2015-08-11 12:30:19.392 1980 ERROR nova.compute.manager [-] [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099] Instance failed to spawn
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099] Traceback (most recent call last):
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2442, in _build_resources
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]     yield resources
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2314, in _build_and_run_instance
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]     block_device_info=block_device_info)
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 448, in spawn
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]     self._start_container(container_id, instance, network_info)
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]   File "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 414, in _start_container
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099]     instance_id=instance['name'])
2015-08-11 12:30:19.392 1980 TRACE nova.compute.manager [instance: 1385483c-6d4c-4cd5-b1d3-0e1b17b87099] InstanceDeployFailure: Cannot setup network: Unexpected vif_type=binding_failed ...
(more)
2015-08-11 10:40:13 -0500 asked a question While deleting Volumes, "error_deleting" occures

Hi there,

Sometimes I got the problem that I cannot delete Volumes correctly. The deletion ends in a "error_deleting" state. Either reset-state or force-delete via cinder works for me. The log says

2015-08-06 11:40:25.923 11029 ERROR oslo_messaging.rpc.dispatcher [req-285f0bdf-d14c-49b0-a786-54b6ea30ba7e 8fdcc99b5e0644eb8b6167afecc23d09 d11dc9b9b5d444f3b2608be3bae30197 - - -] Exception during message handling: Unexpected error while running command.
Command: None
Exit code: -
Stdout: u"Unexpected error while running command.\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove --config activation { retry_deactivation = 1} devices { ignore_suspended_devices = 1} -f kvm00-vg/volume-ff930b12-3fa6-49c1-85cb-f67e936b35fc\nExit code: 5\nStdout: u''\nStderr: u'  Logical volume kvm00-vg/volume-ff930b12-3fa6-49c1-85cb-f67e936b35fc is used by another device.\\n'"
Stderr: None
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 138, in lvo_inner1
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     return lvo_inner2(inst, context, volume_id, **kwargs)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 445, in inner
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 137, in lvo_inner2
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     return f(*_args, **_kwargs)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 562, in delete_volume
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     'error_deleting')
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 548, in delete_volume
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc.dispatcher     self.driver.delete_volume(volume_ref)
2015-08-06 11:40:25.923 11029 TRACE oslo_messaging.rpc ...
(more)
2015-08-11 01:22:59 -0500 received badge  Enthusiast
2014-05-29 05:16:09 -0500 answered a question Can ping instance but nothing more

Hi, I think I have the same problem far ago. Can you make a ssh - connection without rejection but timeout? There is a MTU bug which can handle by extending the iptables on compute node: Execute

iptables -A POSTROUTING -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1400