Ask Your Question

Manohar's profile - activity

2016-07-14 16:53:35 -0500 answered a question Is it possible to force controller place new VM on particular compute node ?

Yes, you can force controller to create VM on particular compute node

nova boot --flavor <flavor-id> --image <image-uuid> --nic-net-id=<network-uuid> <name_vm> --availability-zone nova:<compute node="" name="">

2014-12-01 22:56:42 -0500 received badge  Famous Question (source)
2014-11-30 00:02:23 -0500 received badge  Notable Question (source)
2014-11-29 16:53:11 -0500 received badge  Popular Question (source)
2014-11-29 01:56:58 -0500 asked a question Instances are unable to receive ip from dhcp in Ice house openstack.

I have created two node openstack cloud with controller and network in one node and compute on other node. Installed Centos6.5 and has used packstack to install openstack everything went well, initially instance use to get IP address later I modified from vxlan to gre in neutron configuration after that instance are not able to get ip and even before and after the instance is not reacheable from controller or compute. I don't know whether gre with ml2 plugin requires vlan information and more over even after changing from vxlan to gre in configuration after several restarts of nodes and services still it is showing as vxlan. Kindly help me on this.

[root@compute01 ~(keystone_admin)]# neutron agent-show 72339e80-d213-4104-8e73-f24be77b8bf0
+---------------------+------------------------------------------+
| Field               | Value                                    |
+---------------------+------------------------------------------+
| admin_state_up      | True                                     |
| agent_type          | Open vSwitch agent                       |
| alive               | False                                    |
| binary              | neutron-openvswitch-agent                |
| configurations      | {                                        |
|                     |      "tunnel_types": [                   |
|                     |           "vxlan"                        |
|                     |      ],                                  |
|                     |      "tunneling_ip": "147.128.148.156",  |
|                     |      "bridge_mappings": {},              |
|                     |      "l2_population": false,             |
|                     |      "devices": 2  
==========================================================================
[root@controller ~]# cat /etc/neutron/plugins/ml2/ml2_conf.ini |grep -i gre |grep -v "#"
type_drivers = gre
tenant_network_types = gre
[ml2_type_gre]
tunnel_type = gre
[root@controller ~]#
2014-09-25 07:02:46 -0500 received badge  Popular Question (source)
2014-09-25 04:46:28 -0500 commented answer In Icehouse Access

This is how my admin panel is looking... link text

2014-09-25 02:36:05 -0500 commented answer In Icehouse Access

I don't find the project tab and compute tab also...kindly let me know how to get them...Is this a Browser issue, I am opening this from Mozilla firefox on my Ubuntu Laptop.

2014-09-25 01:45:56 -0500 asked a question In Icehouse Access

AdminPanel.png

After installing Openstack successfully, my controller, network and compute nodes are functioning as expected but I am unable to see Access& Security in the Admin panel also Launch Instance button in the Instances section, but I am able to launch instance through command line.

One more issue is for my demo user panel itself is missing. Looking forward help in this regard.

Check the image I have attached...

2014-08-23 03:56:35 -0500 received badge  Student (source)
2014-05-27 09:32:52 -0500 received badge  Famous Question (source)
2014-05-27 01:17:56 -0500 received badge  Enthusiast
2014-05-26 07:45:08 -0500 commented answer Unable to launch new instance and nova boot command is failing with below error

This is what exactly I have done, just took the help of google to find the solution. After I use the below commands the disk dependency has been removed to launch new instance. Anyway thanks for the help..

2014-05-23 04:18:18 -0500 received badge  Notable Question (source)
2014-05-23 02:05:08 -0500 commented answer Unable to launch new instance and nova boot command is failing with below error

I have reinstalled the nova services and Database was resynced even getting the same problem. Check the end to end logs while launching new instance..kindly advise.

2014-05-23 12:18:05.880 25578 ERROR nova.openstack.common.rpc.amqp [req-3a852934-7d2b-418b-b177-345ff85b7e18 bcf3a6be7a574127b217437c8ed614b1 84acd57e249e4bdcb5e8000e4fa1b818] Exception during message handling 2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last): 2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data 2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp *args) 2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch 2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, *kwargs ... (more)

2014-05-23 02:03:19 -0500 received badge  Popular Question (source)
2014-05-23 02:03:09 -0500 answered a question Unable to launch new instance and nova boot command is failing with below error

Nova services are reinstalled still it showing the same problem... check the end to end logs while launching new instance. Database was resynced even.

==================================================================================================
2014-05-23 12:18:05.880 25578 ERROR nova.openstack.common.rpc.amqp [req-3a852934-7d2b-418b-b177-345ff85b7e18 bcf3a6be7a574127b217437c8ed614b1 84acd57e249e4bdcb5e8000e4fa1b818] Exception during message handling
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     **args)
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 90, in wrapped
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     payload)
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 73, in wrapped
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 243, in decorated_function
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     pass
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 229, in decorated_function
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 294, in decorated_function
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     function(self, context, *args, **kwargs)
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 271, in decorated_function
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     e, sys.exc_info())
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 258, in decorated_function
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1630, in run_instance
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp     do_run_instance()
2014-05-23 12:18:05.880 25578 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils ...
(more)
2014-05-22 02:09:31 -0500 asked a question Unable to launch new instance and nova boot command is failing with below error

Compute Node output on /var/log/nova/compute.log

====================================================================================================
tail -f compute.log
2014-05-22 12:23:45.326 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:24:47.187 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:25:39.480 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:25:40.910 29582 WARNING nova.compute.manager [-] Found 2 in the database and 1 on the hypervisor.
2014-05-22 12:26:41.179 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:27:43.181 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:27:45.616 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:28:47.265 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:29:49.332 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:30:28.051 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
=================================================================================================

Controller Node

 nova list
+--------------------------------------+--------------+--------+------------+-------------+----------------+
| ID                                   | Name         | Status | Task State | Power State | Networks       |
+--------------------------------------+--------------+--------+------------+-------------+----------------+
| 3074a2d5-08a0-4556-bbb7-12ed2282d128 | Centos-6.5   | ERROR  | deleting   | NOSTATE     |                |
| f4ef69f4-c2b1-400d-a892-da19abac0701 | Centos-6.5.1 | ERROR  | deleting   | NOSTATE     | vmnet=10.0.0.5 |
| 95897497-f193-402e-b67f-91ee001e7cce | Centos-6.5.2 | BUILD  | scheduling | NOSTATE     |                |
| f91ec2c1-893e-4a57-8e36-1993f25999df | cirrOS       | ACTIVE | -          | Running     | vmnet=10.0.0.2 |
+--------------------------------------+--------------+--------+------------+-------------+----------------+
==============================================================================================

Before this I have deleted the disk file in compute node and deleted entries in mysql nova database.