Ask Your Question
0

AttributeError: 'dict' object has no attribute 'name' Error While launching instance on VMWare ESXi 5.1

asked 2013-02-04 09:41:01 -0500

srikanth1239 gravatar image

Hello Everyone,

I have done with setting up controller node on Centos 6.x All services are running fine on the controller node, Below is the output of nova-manage service list


[root@806B6 ~]# nova-manage service list 2013-02-04 08:41:25 DEBUG nova.utils [req-f3158cc1-99b5-4745-b5c4-032e549ed615 None None] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" lib="" python2.6="" site-packages="" nova="" db="" sqlalchemy="" api.pyc'=""> __get_backend /usr/lib/python2.6/site-packages/nova/utils.py:502 Binary Host Zone Status State Updated_At nova-network controllernode nova enabled :-) 2013-02-04 08:41:24 nova-volume controllernode nova enabled :-) 2013-02-04 08:41:24 nova-cert controllernode nova enabled :-) 2013-02-04 08:41:24 nova-console controllernode nova enabled :-) 2013-02-04 08:41:23 nova-consoleauth controllernode nova enabled :-) 2013-02-04 08:41:24 nova-scheduler controllernode nova enabled :-) 2013-02-04 08:41:24 nova-compute controllernode nova enabled :-) 2013-02-04 08:41:24


When i am trying to launch the instance from dashboard, after networking it is going into Error state permanently.

Below is my current configuration on controller node. nova.conf


[DEFAULT]

LOGS/STATE

debug = True

verbose = True

AUTHENTICATION

auth_strategy = keystone

SCHEDULER

compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler

scheduler_driver=nova.scheduler.simple.SimpleScheduler

VOLUMES

volume_group = nova-volumes

volume_name_template = volume-%08x

iscsi_helper = tgtadm root_helper = sudo

DATABASE

sql_connection = mysql://nova:password@localhost/nova

COMPUTE

connection_type = vsphereapi_conn

connection_type = vmwareapi

libvirt_type = vmwareapi

compute_driver = vmwareapi.VMWareESXDriver

enabled_apis=ec2,osapi_compute,osapi_volume,metadata

vmware_vif_driver = nova.virt.vmwareapi.vif.VMwareVlanBridgeDriver

vmware_api_retry_count = 10

vmwareapi_host_ip = xxx.xxx.x.xx

vmwareapi_host_ip = 172.23.48.130 vmwareapi_host_username = root vmwareapi_host_password = password vmwareapi_wsdl_loc = http://127.0.0.1:8080/vmware/SDK/wsdl/vim25/vimService.wsdl (http://127.0.0.1:8080/vmware/SDK/wsdl...)

console_manager = nova.console.vmrc_manager.ConsoleVMRCManager

vmwareapi_task_poll_interval = 5.0

network_driver = nova.network.vmwareapi_net

vmwareapi_vlan_interface = vmnic1

libvirt_type = qemu

connection_type = libvirt

instance_name_template = instance-%08x

api_paste_config = /etc/nova/api-paste.ini

allow_resize_to_same_host = True

APIS

osapi_compute_extension = nova.api.openstack.compute.contrib.standard_extensions ec2_dmz_host = 127.0.0.1 s3_host = 127.0.0.1

RABBITMQ

rabbit_host = 127.0.0.1

GLANCE

image_service = nova.image.glance.GlanceImageService glance_api_servers = 127.0.0.1:9292

NOVNC CONSOLE

novncproxy_base_url = http://127.0.0.1:6080/vnc_auto.html vncserver_proxyclient_address = 127.0.0.1 vncserver_listen = 127.0.0.1

logdir = /var/log/nova state_path = /var/lib/nova lock_path = /var/lib/nova/tmp volumes_dir = /etc/nova/volumes dhcpbridge = /usr/bin/nova-dhcpbridge injected_network_template = /usr/share/nova/interfaces.template #libvirt_nonblocking = True #libvirt_inject_partition = -1 iscsi_helper = tgtadm

compute_driver = libvirt.LibvirtDriver

rpc_backend = nova.openstack.common.rpc.impl_qpid rootwrap_config = /etc/nova/rootwrap.conf

NETWORK

network_manager = nova.network.manager.FlatDHCPManager force_dhcp_release = True dhcpbridge_flagfile = /etc/nova/nova.conf dhcpbridge = /usr/bin/nova-dhcpbridge state_path = /var/lib/nova

firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver

my_ip = 127.0.0.1 public_interface = eth0 flat_network_bridge = br100 flat_interface = eth0

routing_source_ip = 192.168.1.1

fixed_range = 10.0.0.0/24

[keystone_authtoken] admin_tenant_name = service admin_user = nova admin_password = password auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http signing_dir = /tmp/keystone-signing-nova


ifconfig


[root@806B6 ~]# ifconfig br100 Link encap:Ethernet HWaddr 00:25:90:9A:ED:72 inet addr:192.168.100.3 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::7876:c7ff:fe36:df03/64 ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-02-05 23:18:55 -0500

keith-tobin gravatar image

The first error in you log file is caused by the fact the in your config file you have this commented out.

compute_driver = vmwareapi.VMWareESXDriver

un-comment it and restart all services.

I would check your config for other problems, here is a link to some slides that may help

http://www.slideshare.net/openstackindia/vmware-compute-driver-for-openstack (http://www.slideshare.net/openstackin...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-02-04 09:41:01 -0500

Seen: 564 times

Last updated: Feb 05 '13