Ask Your Question

marcoscorvalan's profile - activity

2014-04-03 07:49:44 -0500 received badge  Famous Question (source)
2014-02-11 04:28:59 -0500 received badge  Notable Question (source)
2014-01-06 11:27:44 -0500 received badge  Scholar (source)
2014-01-06 06:30:37 -0500 received badge  Popular Question (source)
2014-01-03 09:19:19 -0500 received badge  Editor (source)
2014-01-03 09:12:11 -0500 commented answer Windows VM unable to get IP address from net with --flat_injected=True in nova.conf

Hi All: If I wanna connect I gotta use the vnc service Whe I connect to the vm I can see the ip config is: 172.16.191.20, when the real Ip has to be other ( in this case 10.32.156.x)

2013-12-04 22:29:48 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\utils\classloader.py:24 2013-12-04 22:29:49 1444 DEBUG cloudbaseinit.osutils.windows [-] Sysprep data not found in the registry, skipping sysprep completion check. wait_for_boot_completion C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\osutils\windows.py:409 2013-12-04 22:29:49 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.httpservice.HttpService' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\utils\classloader.py:24 2013-12-04 22:29:49 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\utils\classloader.py:24 2013-12-04 22:29:49 1444 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\httpservice.py:96 2013-12-04 22:29:53 1444 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\httpservice.py:96 2013-12-04 22:29:57 1444 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\httpservice.py:96 2013-12-04 22:30:01 1444 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\httpservice.py:96 2013-12-04 22:30:05 1444 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\httpservice.py:96 2013-12-04 22:30:09 1444 DEBUG cloudbaseinit.metadata.services.httpservice [-] Getting metadata from: http://169.254.169.254/openstack/latest/meta_data.json _get_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\httpservice.py:96 2013-12-04 22:30:09 1444 DEBUG cloudbaseinit.metadata.services.httpservice [-] Metadata not found at URL 'http://169.254.169.254/' load C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\httpservice.py:78 2013-12-04 22:30:09 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class ... (more)

2014-01-03 09:10:24 -0500 commented answer Windows VM unable to get IP address from net with --flat_injected=True in nova.conf

Add more info: This is the error from event properties: for cloudbase-init Event Type: Error Event Source: cloudbase-init Event Category: None Event ID: 0 Date: 12/9/2013 Time: 2:42:43 PM User: N/A Computer: MELI-MXXXYG2V2A Description: The description for Event ID ( 0 ) in Source ( cloudbase-init ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: cloudbase-init, Child process ended.

2014-01-03 08:59:17 -0500 answered a question Windows VM unable to get IP address from net with --flat_injected=True in nova.conf

Hi All: If I wanna connect I gotta use the vnc service Whe I connect to the vm I can see the ip config is: 172.16.191.20, when the real Ip has to be other ( in this case 10.32.156.x)

This is the cloud-base error: File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\ec2service.py", line 56, in load self.get_meta_data('openstack') File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\base.py", line 99, in get_meta_data data = self._get_cache_data(path) File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\base.py", line 82, in _get_cache_data data = self._exec_with_retry(lambda: self._get_data(path)) File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\base.py", line 67, in _exec_with_retry return action() File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\base.py", line 82, in <lambda> data = self._exec_with_retry(lambda: self._get_data(path)) File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\ec2service.py", line 69, in _get_data raise Exception("EC2 interface is not available") Exception: EC2 interface is not available load C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\ec2service.py:60 2014-01-03 14:42:52 1540 DEBUG cloudbaseinit.metadata.services.ec2service [-] Metadata not found at URL 'http://169.254.169.254/2009-04-04/' load C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\services\ec2service.py:62 2014-01-03 14:42:52 1540 CRITICAL cloudbaseinit [-] No available service found 2014-01-03 14:42:52 1540 TRACE cloudbaseinit Traceback (most recent call last): 2014-01-03 14:42:52 1540 TRACE cloudbaseinit File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\Scripts\cloudbase-init-script.py", line 8, in <module> 2014-01-03 14:42:52 1540 TRACE cloudbaseinit load_entry_point('cloudbase-init==0.9.3', 'console_scripts', 'cloudbase-init')() 2014-01-03 14:42:52 1540 TRACE cloudbaseinit File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\shell.py", line 31, in main 2014-01-03 14:42:52 1540 TRACE cloudbaseinit init.InitManager().configure_host() 2014-01-03 14:42:52 1540 TRACE cloudbaseinit File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\init.py", line 95, in configure_host 2014-01-03 14:42:52 1540 TRACE cloudbaseinit service = mdsf.get_metadata_service() 2014-01-03 14:42:52 1540 TRACE cloudbaseinit File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python27\lib\site-packages\cloudbase_init-0.9.3-py2.7.egg\cloudbaseinit\metadata\factory.py", line 52, in get_metadata_service 2014-01-03 14:42:52 1540 TRACE cloudbaseinit raise Exception("No available service found") 2014-01-03 14:42:52 1540 TRACE cloudbaseinit Exception: No available service found 2014-01-03 14:42:52 1540 TRACE cloudbaseinit </module></lambda>

2014-01-02 14:16:07 -0500 received badge  Student (source)
2014-01-02 14:09:10 -0500 received badge  Organizer (source)
2014-01-02 14:07:42 -0500 asked a question Windows VM unable to get IP address from net with --flat_injected=True in nova.conf

I have running the Essex version for OpenStack with Flat-network with --flat_injected=True I could launch Windows instance in my Essex openStack, with Cloud-init cloudBase. But I see the ipconfig I see 172.16.191.20 and the network is 10.32.156.0. I installed in the windows image the Cloud-init cloudBase but I dont know why the instance can't get the Ip network (10.32.156.0) for windows.

This is my nova.conf

--auth_strategy=keystone
--cc_host=10.32.156.5
--connection_type=libvirt
--dhcpbridge_flagfile=/etc/nova/nova.conf
#--dhcpbridge=nova-dhcpbridge
--dhcpbridge=/usr/bin/nova-dhcpbridge
--ec2_host=10.32.156.5
--ec2_private_dns_show_ip
--ec2_url=http://10.32.156.5:8773/services/Cloud
--fixed_range=10.32.156.0/24
--flat_injected=True
#--force_dhcp_release
--glance_api_servers=essexglance.melicloud.com:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_helper=tgtadm
--libvirt_use_virtio_for_bridges
--lock_path=/var/lock/nova
--logdir=/var/log/nova
--network_manager=nova.network.manager.FlatManager
--network_size=256
--nova_url=http://10.32.156.5:8774/v1.1/
--osapi_host=10.32.156.5
--rabbit_host=10.32.156.5
--rabbit_port=5672
--root_helper=sudo nova-rootwrap
#--routing_source_ip=10.32.156.5
#--s3_host=10.32.156.5
--sql_connection=mysql://nova:notnova@galera.melicloud.com/DC4_r62
--state_path=/var/lib/nova
--verbose
--vncserver_listen=0.0.0.0
--allow_resize_to_same_host=True
--libvirt_xml_template=/etc/nova/libvirt.xml.template
--compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
--scheduler_default_filters=RamFilter,ComputeFilter

# DANGER : TURNING THIS ON, COULD REBOOT INSTANCES WHEN YOU RESTART NOVA COMPUTE
--start_guests_on_host_boot=False
--resume_guests_state_on_host_boot=True
--reserved_host_memory_mb=20480

I launched with this option with Linux image and it's working very well. But now I'm testing with windows Image.

When I launch my windows instance created via this link ( http://www.cloudbase.it/create-windows-openstack-images/ ) I can see the instance is created but the IP that It received it's no from this net. For example: I launch a instance with the 10.32.x.x net, I can see the ip that gives nova is ok (same net), But when I connect via vnc to see the IP is 172.16.191.20 and so I gotta put the correct ip manually. after this way I can connect via rdp later.

I need to know How can I correct this error in Essex with --flat_injected=True in nova.

I'll add more info. I did this test (windows image) with Grizzly and with dchp option, and the Windows instance was launched very well. With its IP corresponding to the same net.