Ask Your Question

hdg88's profile - activity

2018-07-09 06:31:34 -0600 received badge  Famous Question (source)
2018-03-19 04:32:40 -0600 received badge  Notable Question (source)
2018-01-30 22:43:18 -0600 received badge  Famous Question (source)
2017-09-20 08:01:50 -0600 received badge  Popular Question (source)
2017-09-20 03:02:05 -0600 received badge  Notable Question (source)
2017-09-19 15:00:47 -0600 asked a question Openstack Networking towards the internet

My current set up has the controller node on one VM and a compute node on another VM. I have created an internal subnet for communication within the instances, and assigned an IP from that subnet to an instance (via DHCP). I created a router and and added one port to the internal subnet (so it serves as the default gateway to the instance). I have also created an external shared network on openstack, with the Provider Network Type: Flat and Physical Network: provider.

In the controller ml2_conf.ini file i have the following flat_networks = provider and in the controller (and in this case compute node as well) linuxbridge_agent.ini file I have this: physical_interface_mappings = provider:eth0.

Eth0 is my network on the host vm which connects out to the internet (so from my host vm, I can ping google through this interface).

My understanding is that creating a network which is built on this physical network (eth0), would sort of provide NAT functionality where any ip within this external ip address would be able to reach the internet through eth0. However the instances cannot even reach the host. (so from my ubuntu host, I cannot even ping any of the instances).

I cant seem to figure out where I am going wrong, or why my instances cannot reach the internet (let alone the host itself). I even tried putting in a router, with one interface towards the internal network and the other on the external network (supposedly towards the internet).

2017-09-11 10:29:01 -0600 asked a question Development tutorial / guides for Openstack Liberty

Just finished installing the https://docs.openstack.org/liberty/install-guide-ubuntu/neutron-next-steps.html (basic components) of openstack liberty and would like to get into Python Dev using Openstack APIs. It seems like there are so many resources online for this, and for so many different versions. Is there a development tutorial / guide specifically related to Openstack Liberty using Python?

2017-09-09 02:37:42 -0600 received badge  Popular Question (source)
2017-09-07 16:27:20 -0600 answered a question compute neutron-linuxbridge-agent not showing up on controller node

Fixed. Turns out the Controller and Compute Nodes CANNOT have the same hostname. I believe the database users that as a key identifier (which is bad, as it should use a UUID). This is why only one was appearing (even though both were up).

FIX: Change the hostnames of the controller and compute by editing /etc/hostname.

At this point, you should see 2 of each entries in the nova service-list and neutron agent-list. Some with the old hostname will be changing to xxx as the services with the new hostnames come up.

Then follow https://thornelabs.net/2014/08/03/delete-duplicate-openstack-hypervisors-and-services.html (this link) to delete the duplicate entries from the mysql database (entries from the previous hostname).

Now the commands should show the correct number of services.

2017-09-07 16:00:28 -0600 received badge  Editor (source)
2017-09-07 15:41:05 -0600 asked a question compute neutron-linuxbridge-agent not showing up on controller node

I am in the https://docs.openstack.org/liberty/install-guide-ubuntu/neutron-verify-option2.html (network set up) stage of open stack where I have followed every step by the book. However when verifying the agent-list, I don't seem to see the compute Linux Bridge Agent on the controller (when issuing the neutron agent-list command). I have gone through many other solutions of this same issue, however none of those fixes seem to work.

Something that maybe an issue is that on my compute node, when I type in chronyc sources, I see: ^? controller as the only entry, which may imply a syncing issue. However when I issue the nova service-list command on the controller, I see the nova-compute binary up, which (in my opinion) means there cannot be a sync issue.

viewing the neutron-plugin-linuxbridge-agent.log on the compute node, I see the following

2017-09-07 15:44:53.416 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent 
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Failed reporting state!
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent Traceback (most recent call last):
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 942, in _report_state
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     True)
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 87, in report_state
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     return method(context, 'report_state', **kwargs)
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     retry=self.retry)
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 90, in _send
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     timeout=timeout, retry=retry)
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 462, in send
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     retry=retry)
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 453, in _send
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     raise result
2017-09-07 15:45:23.427 30316 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent RemoteError: Remote error: ProgrammingError (pymysql.err.ProgrammingError) (1146, u"Table 'neutron.agents' doesn't exist") [SQL: u'SELECT agents.id AS agents_id ...
(more)
2017-06-14 17:05:37 -0600 received badge  Famous Question (source)
2017-06-14 17:05:37 -0600 received badge  Notable Question (source)
2016-07-11 13:11:04 -0600 received badge  Notable Question (source)
2015-12-15 23:13:29 -0600 commented answer How to get the NIC information when launching instance from commandline

This is the most helpful answer for beginners I have ever seen.

Thank you so much!

2015-12-15 23:13:10 -0600 answered a question How to get the NIC information when launching instance from commandline

This is the most helpful answer for beginners I have ever seen.

Thank you so much!

2015-12-15 23:12:43 -0600 received badge  Scholar (source)
2015-12-15 08:04:22 -0600 received badge  Popular Question (source)
2015-12-14 22:52:30 -0600 asked a question How to get the NIC information when launching instance from commandline

Every time I Launch an image other than cirros from Horizon, i get an error "No valid hosts". This time I thought id try doing it from the command line.

Questions.

What are the minimum arguments required to launch an error free instance?

I used : nova boot --flavor m1.tiny --image cirros-uec command_line_VM but this launched into an error state.

How do I assign it an ip address when (I assume) I do not have neutron installed (how are the other VMs in horizon assigned IP addresses?).

neutron net-list: PublicUR endpoint for network service in RegionOne region not found

2015-12-13 22:14:58 -0600 received badge  Popular Question (source)
2015-12-13 08:35:16 -0600 commented answer Is there a listing of the minimum flavors required for linux distributions

I was hoping for a list for all the common linux distributions, but this is a start. Thank you.

2015-12-13 08:34:46 -0600 received badge  Supporter (source)
2015-12-13 08:34:23 -0600 received badge  Enthusiast
2015-12-12 17:59:08 -0600 received badge  Student (source)
2015-12-12 08:36:56 -0600 asked a question Is there a listing of the minimum flavors required for linux distributions

I am running openstack, and I want to conserve resources. So I am trying to create the smallest VMs I can depending on the linux distributions. Is there a list which has the linux distributions and their minimum required flavors to run them on?

2015-12-12 08:27:24 -0600 commented question Log files arent being created in the specified location

I unstacked, cleaned an stacked again.. this time the logs appeared in /opt/stack/logs/[locaiton of all the logs]

2015-12-07 10:22:46 -0600 asked a question Log files arent being created in the specified location

I keep getting an error:

Failed to perform requested operation... No valid host was found, there are not enough hosts available

So I tried going to the logs to see what was going on.. however there are no logs in the logs folder.

I accessed /var/logs however folders for nova, cinder etc. do not exist.

None of these locations exist: http://docs.openstack.org/openstack-ops/content/logging_monitoring.html (http://docs.openstack.org/openstack-o...)

Where can I get the logs for Nova?