Ask Your Question

nassim-kaabache's profile - activity

2016-11-28 01:43:32 -0500 received badge  Famous Question (source)
2015-09-08 17:08:06 -0500 received badge  Notable Question (source)
2014-11-20 11:04:54 -0500 received badge  Popular Question (source)
2014-07-01 18:42:05 -0500 received badge  Notable Question (source)
2014-04-26 14:24:08 -0500 received badge  Popular Question (source)
2014-02-24 09:23:06 -0500 answered a question SSH to VM failed

Hi Edward,

If you want to log in throw the dashboard, it s a VNC connexion normally and not a ssh connexion. VNC is more about the openstack configuration.

If you want to ssh your server you need to install ssh server on your ubuntu instance. you can install it with an iso that you add as a CD driver. I ve never done that so I can check it.

Regards,

Nassim

2014-02-21 17:03:52 -0500 answered a question SSH to VM failed

My VM didn't have ssh server on it.

2013-06-04 07:45:53 -0500 answered a question Problem VM state change and launch of VM

thank you wingwj

2013-06-03 15:08:51 -0500 answered a question Problem VM state change and launch of VM

Sorry for that spam, I just had a different problem that I thought it was the same thing, I solved the problem of new VM but I always cannot unpaused a old VM(I can with new one), it s not a real problem so I guess we can close the topic ?

2013-06-03 12:51:23 -0500 answered a question Problem VM state change and launch of VM

I think the error is there :

2013-06-03 14:36:50 ERROR nova.compute.manager [req-197ab448-caa5-4d35-8cee-1c917573a21b 55f66ff645984c4cb4d724cbd1ef514c 203dee818fc24272b02801513194fcb1] [instance: a16b83bc-d293-4475-a0ff-57d0e0047530] Build error: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 496, in _run_instance\n injected_files, admin_password)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 749, in _spawn\n block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped\n temp_level, payload)\n', ' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped\n return f(args, *kw)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1086, in spawn\n block_device_info=block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1863, in to_xml\n rescue, block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1723, in get_guest_config\n guest.cpu = self.get_guest_cpu_config()\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1548, in get_guest_cpu_config\n raise exception.Invalid(msg)\n', 'Invalid: A CPU model name should not be set when a host CPU model is requested\n']

2013-06-03 09:56:00 -0500 answered a question Problem VM state change and launch of VM

and here the message from nova-compute.log when I try to launch a VM : 2013-06-03 11:49:22 10172 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 276, in _process_data 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, *args) 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp temp_level, payload) 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp return f(args, *kw) 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 383, in refresh_instance_security_rules 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp return self.driver.refresh_instance_security_rules(instance) 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2232, in refresh_instance_security_rules 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp self.firewall_driver.refresh_instance_security_rules(instance) 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/firewall.py", line 430, in refresh_instance_security_rules 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp self.do_refresh_instance_rules(instance) 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/firewall.py", line 447, in do_refresh_instance_rules 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp network_info = self.network_infos[instance['id']] 2013-06-03 11:49:22 10172 TRACE nova.openstack.common.rpc.amqp KeyError: 64

2013-06-03 09:20:35 -0500 answered a question Problem VM state change and launch of VM

When I use sudo virsh list --all I have one instance (38) that is in state closed

2013-06-03 08:39:20 -0500 answered a question Problem VM state change and launch of VM

Hi wingwj,

Thank you for your help,

The virsh list is empty, in sudo or root mode.

I use Folsom 2012.2.2, my network is not connected to internet so I can't really upgrade it.

Nassim

2013-05-31 16:13:48 -0500 asked a question Problem VM state change and launch of VM

I had already launch some VM but now I m dealing with an issue. Everytime I want to launch, there s a an error. If I change the state unpause to my VM, the same.

the only one error in log is in nova-compute :

13-05-31 18:04:14 10172 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 276, in _process_data 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, args) 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp temp_level, payload) 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp return f(args, *kw) 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 176, in decorated_function 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp pass 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 162, in decorated_function 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, *kwargs) 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 197, in decorated_function 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp kwargs['instance']['uuid'], e, sys.exc_info()) 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp self.gen.next() 2013-05-31 18:04:14 10172 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 191, in decorated_function 2013-05-31 18:04:14 10172 ... (more)

2013-05-30 14:15:32 -0500 answered a question Problem nova-compute service

I find the problem but not the reason why. The service wasn't nova-compute but nova-compute.dkpg-new. It can be a problem from dpkg when we want to change nova version, I don't know if this problem exists when it s install with apt-get install but it can be a tricky problem...

2013-05-29 15:13:46 -0500 asked a question Problem nova-compute service

Hi,

I install a compute controller that it s also a compute node, and I want to add a compute node on my network. I install only nova-common, nova-compute and nova-api. It s the 2012.2.3 for the compute node (debian) because my controller is 2012.2.2 version. It s the only version I find to be in folsom for both.

The thing is I install on my node compute nova-compute and nova-api (I check with dpkg --get-selections | grep nova) but the command line "service nova-compute start or nova -api start doesn't work, it says that it doesn't recognized the service. So I don't understand where is the problem, when I check nova-manage service list on both (controller and node) there is only controller host. Have you any reason why it doesnt work ?

thanks

Nassim

2013-05-17 15:16:48 -0500 asked a question API and transport system

Hello,

I m working on a project in a complex network with air transport and I want to implement a Cloud in this network. There will be not just TCP/IP protocol inside my network so I need to create some API to deal with the transport of the VM. My server will be inside this network, it s a really specific need. I wonder how I can create an API for this specific issue because I don't find any paper about that in OpenStack website or in internet. So if you have any idea about that or there is in the website that I don't find, please help me ^^

thanks

Nassim

2013-04-29 12:59:22 -0500 answered a question SSH to VM failed

There was a ssh client but no ssh server

2013-04-29 12:58:55 -0500 answered a question SSH to VM failed

Thank you very much it was all my fault...

2013-04-24 12:25:28 -0500 answered a question SSH to VM failed

I create the keypair, add it to the VM and try to ssh but it failed and it didn't talk about rsa key. I go to the VM and the ~/.ssh/authorized_keys is the same as mine. I try to telnet but it failed too. I try different port but nothing better.

2013-04-23 12:03:46 -0500 answered a question SSH to VM failed

it is this one : test@one-PC:/usr/lib/ltp$ ssh -vvvv 172.16.0.3 OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 172.16.0.3 [172.16.0.3] port 22. debug1: connect to address 172.16.0.3 port 22: Connection refused ssh: connect to host 172.16.0.3 port 22: Connection refused

2013-04-22 12:25:28 -0500 answered a question SSH to VM failed

yes I add it in the dashboard and in command line, but even without icmp rules I can ping my VM. Maybe there is a problem of settings, I don't know.

2013-04-22 09:54:15 -0500 answered a question dbus.proxies:Introspect error

I didn't see you respond immediatly ^^ good luck you re welcome

2013-04-22 08:37:05 -0500 answered a question dbus.proxies:Introspect error

Maybe I wasn't clear, I was in root mode but I should use the normal user.

2013-04-22 08:07:11 -0500 answered a question SSH to VM failed

Sorry I write it too quickly. I manage to create a VM with OpenStack. I add the rules for ping and ssh on OpenStack. There is a client SSH on my VM. But the ping is ok but not the SSH. I don't have any clue where is the problem, I can send you the nova.conf or all my config s network... I try with or without RSA key =/

I try this too :

killall dnsmasq

service nova-network restart

Can you help me ?

2013-04-19 16:43:12 -0500 asked a question SSH to VM failed

Hi, I create my own Cloud, I create a VM. I can ping but I can't SSH it. thx for help

test@one-PC:/usr/lib/ltp$ ping 172.16.0.3 PING 172.16.0.3 (172.16.0.3) 56(84) bytes of data. 64 bytes from 172.16.0.3: icmp_req=1 ttl=64 time=0.271 ms 64 bytes from 172.16.0.3: icmp_req=2 ttl=64 time=0.208 ms ^C --- 172.16.0.3 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.208/0.239/0.271/0.035 ms test@one-PC:/usr/lib/ltp$ ssh -vvvv 172.16.0.3 OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 172.16.0.3 [172.16.0.3] port 22. debug1: connect to address 172.16.0.3 port 22: Connection refused ssh: connect to host 172.16.0.3 port 22: Connection refused

2013-04-19 15:10:44 -0500 answered a question dbus.proxies:Introspect error

I think it is a problem of user, I was in su and when I use the normal user it s ok. I don't know if it s the same problem but you can try.

2013-04-17 09:20:56 -0500 answered a question dbus.proxies:Introspect error

I have the same problem now, don't know where the problem come from. Everything it s kind of working so it s like just a bug but a bit worry :/