rg3's profile - activity

2017-03-27 11:10:10 -0500 received badge  Nice Question (source)
2017-01-02 23:42:18 -0500 received badge  Famous Question (source)
2015-03-03 10:16:43 -0500 marked best answer Default Neutron security group is ineffective

Good afternoon everybody, How are you? I hope you are fine.

I'm new in the new openstack world. My first step was install the Openstack on the computers with ubuntu following the tutorial found in the http://docs.openstack.org/havana/install-guide/install/apt/content/ . Also I use the openvswitch.

After verify if the services are actives and enable, I created one external network, a networks with subnet, both of them connected a one router, further I set the gateway to the router on the external network (following the example in the docs.openstack). By the other hand, I launch one VM and associate a flooting IP the external network, further verify the connectivity between the router, the VM and the DHCP, all of them work well. After I try to ping the floating IP from the other computer, external the testbed, and that my surprise that i can ping. I supposed that not possible because don't exists rules about this traffic. Thus I verified the security groups rules and found the group Default with 4 rules that allowing access the traffic IPv4 and IPv6 (eggress and ingress). I guessed this rules are responsible for ensure the connectivity between openstack and VMs. But anyway delete this rules and try the ping again from the external PC and the ping work again.

The configuration about nova.conf, nova-compute conf and neutron_plugin_ovs are:

nova.conf:

[DEFAULT]
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
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata


#Network Settings

network_api_class=nova.network.neutronv2.api.API
neutron_url=http://controller:9696
neutron_auth_strategy=keystone
neutron_admin_tenant_name=service
neutron_admin_username=neutron
neutron_admin_password=password
neutron_admin_auth_url=http://controller:35357/v2.0
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
security_group_api=neutron

nova-compute.conf

[DEFAULT]
libvirt_type=kvm
compute_driver=libvirt.LibvirtDriver

ovs_neutron plugin:

[securitygroup]
# Firewall driver for realizing neutron security group function.
# firewall_driver = neutron.agent.firewall.NoopFirewallDriver
# Example: 
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

Thanks an advance. Sorry for bother you.

Best Regards, Rafael.

2015-01-15 04:41:24 -0500 received badge  Popular Question (source)
2015-01-15 04:41:24 -0500 received badge  Notable Question (source)
2015-01-12 06:58:12 -0500 received badge  Notable Question (source)
2014-04-17 16:22:53 -0500 received badge  Famous Question (source)
2014-04-17 16:22:53 -0500 received badge  Notable Question (source)
2014-04-17 09:14:17 -0500 received badge  Favorite Question (source)
2014-04-16 16:29:38 -0500 received badge  Famous Question (source)
2014-04-16 01:24:10 -0500 received badge  Great Question (source)
2014-03-31 01:26:11 -0500 received badge  Famous Question (source)
2014-03-30 23:36:44 -0500 received badge  Notable Question (source)
2014-03-30 23:19:06 -0500 received badge  Popular Question (source)
2014-03-24 04:32:21 -0500 commented question No DHCP agents are associated with network

Thanks for you help. Sorry for only answer you today. But I was sick. I restart the service, is running but the error persist. On the log only show me this error.

2014-03-20 15:42:09 -0500 asked a question No DHCP agents are associated with network

I have a problem with DHCP agent. When I try create a network and respectible subnet, with neutron server, the dashboard show me that the network have created correctly, but when I look the server.log it shows this:

ERROR neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api [-] No DHCP agents are associated with network '34d80f09-f477-4f20-8257-bfb2dc3fa9f3'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'net1', 'provider:physical_network': None, 'admin_state_up': True, 'tenant_id': u'bb7273cedbce490890a3dd4b00454e02', 'provider:network_type': u'local', 'shared': False, 'id': '34d80f09-f477-4f20-8257-bfb2dc3fa9f3', 'provider:segmentation_id': None}}
2014-03-20 20:24:09.072 28925 ERROR neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api [-] No DHCP agents are associated with network '34d80f09-f477-4f20-8257-bfb2dc3fa9f3'. Unable to send notification for 'subnet_create_end' with payload: {'subnet': {'name': u'subnet1', 'enable_dhcp': True, 'network_id': u'34d80f09-f477-4f20-8257-bfb2dc3fa9f3', 'tenant_id': u'bb7273cedbce490890a3dd4b00454e02', 'dns_nameservers': [], 'allocation_pools': [{'start': '192.168.10.2', 'end': '192.168.10.254'}], 'host_routes': [], 'ip_version': 4, 'gateway_ip': '192.168.10.1', 'cidr': u'192.168.10.0/24', 'id': '05044830-01f6-461b-96cc-505bfb57fcd3'}}

I use ubuntu 12.04 and Havana versions. Looking on Internet, I found this bug report: I would like to know if the bug was fixed or are yet in progress?

2014-03-19 07:26:02 -0500 commented answer neutron not schedule the network to DHCP agent

Sorry for my ignorance. I have the same problem descripted in this question and this bugs. Would like to know if it is solved?

2014-03-18 12:31:32 -0500 received badge  Famous Question (source)
2014-03-13 11:44:17 -0500 answered a question ImportError: No module named django.core.handlers.wsgi

Thanks for your help :).

2014-03-13 11:43:58 -0500 received badge  Notable Question (source)
2014-03-07 03:10:58 -0500 received badge  Popular Question (source)
2014-03-04 12:06:16 -0500 commented question ImportError: No module named django.core.handlers.wsgi

My version of openstack is havana. She was installed on ubuntu 12.04. I've followed this steps http://docs.openstack.org/havana/install-guide/install/apt/content/ . On the interpreter the output of django version is: (1, 5, 4, 'final', 0) Now on the log show this message: File does not exist: /var/www/favicon.ico The others service not show any message significant. Thanks for you help

2014-03-03 10:59:45 -0500 asked a question ImportError: No module named django.core.handlers.wsgi

Good afternoon, Sorry for bother you, but I have a strange problem with my installation Openstack, specifically the dashboard. The problem is that when I try to access the dashboard, it return me 500 internal error. Look for the log I found this: http://paste.openstack.org/show/71803/ Looking on Internet I found this solution: http://www.lleess.com/2014/01/importe... but when I try this solution I found this other error: http://paste.openstack.org/show/71805/ And I don't understand why this happen, because I not change anything, only the server was restart. I have a controller and compute node in the same server. Can you help me I will be grateful. Best Regards and sorry for my ignorance. Rafael

2014-02-27 14:57:53 -0500 asked a question Is it possiveel connect subnet from different regions

Hi everyone, Sorry for bother you. But I've been looking for a way how I can connect 2 subnets from different region but like as unique subnet. I.e each region have a subnet and after that I can connect the subnet from perspective L2. And then I have one subnet that interconnected the 2 different regions. On Internet as close that I found is this example: http://fortycloud.com/interconnecting... If you know one way a blueprint or any advice I will be grateful. Best Regards, Rafael

2014-02-24 05:50:59 -0500 received badge  Popular Question (source)
2014-02-24 05:50:59 -0500 received badge  Notable Question (source)
2014-02-24 05:50:59 -0500 received badge  Famous Question (source)
2014-02-21 13:30:42 -0500 received badge  Famous Question (source)
2014-01-08 15:07:53 -0500 asked a question Unable curl 169.254.169.254 from my VM (using neutron)

I have a question about metadata service when I launch a VM. The openstack instalation use a neutron to network and metadata service. I can launch a VM (image cirros), ping and access via ssh to VM. But when I try, from my VM, this curl 169.254.169.254:8775 I received this answer: couldn't connect to host

Looked on the log of VM I've found this message:

2014-01-07 20:55:30,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [23/120s]: url error [[Errno 113] No route to host]
2014-01-07 20:55:33,919 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [26/120s]: url error [[Errno 113] No route to host]
2014-01-07 20:55:36,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [29/120s]: url error [[Errno 113] No route to host]
2014-01-07 20:55:41,918 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [34/120s]: url error [[Errno 113] No route to host]

Looking to the nova.conf the metadata api is enable. And the port 8775 is listening as I've confirmed using this command: netstat -nap | grep 8775 tcp 0 0 0.0.0.0:8775 0.0.0.0:* LISTEN 11874/python

Can help and explain me why this happen, I will be grateful for your help.

2014-01-04 10:00:29 -0500 received badge  Popular Question (source)
2013-12-24 05:03:00 -0500 received badge  Notable Question (source)
2013-12-23 14:40:57 -0500 commented answer Can't launch a VM by AmbiguousEndpoints

Thanks so much for your disponibility. And If I can help you anything tell me :). Best regards, Rafael.

2013-12-23 14:39:57 -0500 received badge  Scholar (source)
2013-12-23 08:15:33 -0500 commented answer Can't launch a VM by AmbiguousEndpoints

Sorry, I answered in the same day from my email, but on Friday I saw a postmaster message. Ya this work for by. Thanks so a lot for you help, and sorry for the inconvenient.

2013-12-18 06:07:31 -0500 asked a question Can't launch a VM by AmbiguousEndpoints

Hello, Sorry for bother you again. I have a question about launch VM. I have two region, that do the autentication by one keystone(region one). I defined the endpoints to each service of both regions. I try to launch a VM in the region two using the command line: nova --os-region-name RegionTwo boot --flavor 1 --image image_id --security_group default --nic net-id=id_network vm1

The instance is created with error. Looking on the logs I found this message: 
Neutron client authentication failed: AmbiguousEndpoints: [{u'adminURL': u'http://controller:9696', u'region': u'regionOne', u'publicURL': u'http://controller:9696', u'internalURL': u'http://controller:9696', u'id': u'2c1bd1d9961e4ea290a1fd413cdba5a0'}, {u'adminURL': u'http://192.168.122.136:9696', u'region': u'RegionTwo', u'publicURL': u'http://192.168.122.136:9696', u'internalURL': u'http://192.168.122.136:9696', u'id': u'24a5e85089674fc2ab485deeb84f60b4'}]

I would to know two things, if possible indicate the endpoint to use when I choose the network? If not what can I do to this work. Best Regards, Rafael

2013-12-17 08:44:12 -0500 received badge  Popular Question (source)
2013-12-17 03:59:34 -0500 answered a question Authentication required using multiregion (2 region with 1 keystone)

Thanks a lot you're right about that. Best Regards, Rafael.

2013-12-17 03:58:54 -0500 received badge  Popular Question (source)
2013-12-17 03:58:31 -0500 answered a question Authentication required neutron

Thanks so much all of you. Your replys help me a lot to fixed the problem.

Best Regards, Rafael.

2013-12-15 23:35:01 -0500 received badge  Notable Question (source)
2013-12-15 09:20:19 -0500 received badge  Popular Question (source)
2013-12-14 17:49:30 -0500 asked a question Authentication required neutron

Good night Sorry for bother you again, but I have question about one error when I try to use the neutron api, that I don't know what mean and as can solved. When I run the command neutron router-list the answer in terminal is Authentication required. Looking in the logs I found this: 2013-12-14 22:36:31.055 28159 WARNING keystoneclient.middleware.auth_token [-] Verify error: Command 'openssl' returned non-zero exit status 4

http://paste.openstack.org/show/55009/ Can you help me I will be gratefully Best regards, Rafael

2013-12-10 03:50:59 -0500 received badge  Enthusiast
2013-12-09 10:19:23 -0500 asked a question Authentication required using multiregion (2 region with 1 keystone)

Hi everybody, I have a question about using multiple region with openstack and devstack. I configured two openstack installations, I'm a using full installation another I'm using full installation devstack. I followed this tutorial to installation:http://docs.openstack.org/havana/install-guide/install/apt/content/http://devstack.org/. I tested both of them work correctly. After that I've tried test the multiregion functionalities, I'm using this configuration (can you see in the attachment): In the first region have the services: cinder, nova, glance and keystone. The second region have: neutron. First I created a endpoint to service network user neutron to region 2. After that, I changed the configurations files, for the autentication to be it for the keystone of region one of neutron on second installation. When I try run this neutron router-list or another command about neutron return me this message: Authentication required. And I don't understand why the auth token failed. But if I run the keystone catalog, keystone endpoint-list work well. Note that I haven't any network configured in any installation openstack. Best Regards, Rafael