[Openstack-operators] Problem with "euca-describe-availability-zones verbose"

Nisarg Patel nisarg.h.patel at gmail.com
Thu Nov 10 12:51:32 UTC 2011


Hello All,

I am trying to install openstack on a single node.

My nova.conf looks like this

--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--state_path=/var/lib/nova
--verbose
--s3_host=10.3.3.156
--rabbit_host=10.3.3.156
--cc_host=10.3.3.156
--nova_url=http://10.3.3.156:8774/v1.1/
--fixed_range=192.168.0.0/16
--network_size=8
--routing_source_ip=10.3.3.156
--sql_connection=mysql://novadbadmin:novasecret@10.3.3.156/nova
--glance_api_servers=10.3.3.156:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.
--vlan_interface=br100
--public_interface=eth0
--allow_admin_api=true
--enable_zone_routing=true

I followed the steps given in the starter guide. Now when I try to run the
command
*"euca-describe-**availability-**zones verbose"*

*I get the following error:*
Warning: failed to parse error message from AWS:
http://www.w3.org/TR/html4/loose.dtd:31:2: error in processing external
entity reference
Traceback (most recent call last):
  File "/usr/bin/euca-describe-availability-zones", line 115, in <module>
    main()
  File "/usr/bin/euca-describe-availability-zones", line 109, in main
    euca.display_error_and_exit('%s' % ex)
  File "/usr/lib/python2.7/dist-packages/euca2ools/__init__.py", line 1435,
in display_error_and_exit
    dom = minidom.parseString(msg)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1924, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in
parseString
    return builder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in
parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: mismatched tag: line 1, column 376

I looked up the following file "/usr/bin/euca-describe-availability-zones"

line 80 in instantiating an object of Euca2ool using:
euca = Euca2ool('', ['region='])

and line 101 is retreving zone_ids using:
zone_ids = euca.process_args()

however this is working and when I try to print these zone_ids it prints :
[ ]

The output of the command : nova zone-list is

+----+------+-----------+--------------------------------------------+------------------------------+
| ID | Name | Is Active | Capabilities | API URL |
+----+------+-----------+--------------------------------------------+------------------------------+
| 1 | nova | True | hypervisor=xenserver;kvm, os=linux;windows |
http://10.3.3.156:8774/v1.0/ |
+----+------+-----------+--------------------------------------------+------------------------------+

I am not able to figure out the error. Please help.

Thanks And Regards,
Nisarg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111110/a5e10752/attachment-0002.html>


More information about the Openstack-operators mailing list