Ask Your Question

hem's profile - activity

2020-03-27 13:50:35 -0600 answered a question Is it possible to read attributes of existing neutron port in Heat template

try: "openstack stack resource metadata <stack> <resource>"

2019-10-16 09:03:43 -0600 received badge  Famous Question (source)
2019-10-16 09:03:43 -0600 received badge  Notable Question (source)
2018-11-04 14:30:38 -0600 received badge  Famous Question (source)
2017-09-26 10:12:19 -0600 answered a question I deleted all of my instances, but the Hypervisors' Memory almost still full.

You forgot to consider swap memory. You still had 6.1G + 152M of free RAM.

2017-04-18 17:21:38 -0600 received badge  Notable Question (source)
2017-03-03 11:36:57 -0600 commented answer Changes to local_settings.py not effective

That could be a reason. I tried manually compiling with python -m compileall and copying the .pyc over but it opened up a lot other problems. Finally configured a new env that is working. Thank you.

2017-03-03 11:35:43 -0600 commented question Changes to local_settings.py not effective

There were not any errors in the logs.

2017-02-25 04:01:46 -0600 received badge  Popular Question (source)
2017-02-24 11:18:46 -0600 received badge  Popular Question (source)
2017-02-22 15:41:23 -0600 received badge  Editor (source)
2017-02-22 15:40:29 -0600 asked a question "not found /horizon" error

I get "not found /horizon" error when I try to login to Horizon.

Here's my script in conf_enabled:

WSGIScriptAlias / /usr/share/dashboard/dashboard/wsgi/django.wsgi
WSGIDaemonProcess horizon user=abc group=abc
WSGIProcessGroup abc
Alias /static /usr/share/dashboard/dashboard/static/
<Directory /usr/share/dashboard/dashboard/wsgi>
  Order allow,deny
  Allow from all
</Directory>

And here's what I have in local_settings.py

LOGIN_URL="/auth/login/"
LOGOUT_URL="/auth/logout/"
LOGIN_REDIRECT_URL="/"

It is Apache running in Ubuntu. Can someone help me fix this?

2017-02-22 15:32:37 -0600 asked a question Changes to local_settings.py not effective

My local_settings.py is under/usr/share/dashboard/dashboard/local/ and is linked to /etc/dashboard/local_settings.py and I made a change to use memcached based session_engine instead of cookies. I restarted the Apache server on Ubuntu.

I see that local_settings.pyc not updated and my changes are not effective. If I remove local_settings.pyc Apache complains that local_setting is missing but it is not creating a new one even after restart.

How should I resolve this error? I'm new to Apache/Django.

2017-02-20 14:15:24 -0600 commented question Not Found: /horizon/api/*

I'm in the same boat. Any luck with the issue?

2017-02-06 10:38:09 -0600 answered a question Career Guidance: From Storage Engineer to Openstack Developer/Engineer

Congrats on the job offer.

You can always learn cloud yourself. You can play with DevStack. It is equivalent to production version of OpenStack and runs on your *nix desktop.

Storage is part of cloud. Compute, storage and networking are core components of any cloud. While you're working with Storage try to understand how luns are exported to servers and used. Storage has some networking too: FC, SCSI, iSCSI, FCoE etc. While you may be working only at the storage device, you can start looking at how they are connected to the data center network and understand the storage traffic flow in the data center and its design. Once you're clear, you can expand from there, getting deep into core components and start looking at the other components of cloud.

2016-10-18 12:56:33 -0600 commented question Keystone stopped working

Were you able to resolve this?

2016-10-17 11:05:16 -0600 commented question Upgrade Liberty to Newton, Launch Instance (policy issue?)

Try "keystone token-get" and see what happens. This should tell you the problem if your credentials are wrong. If they are correct there is some problem configuring keystone with Neutron.

2016-10-17 11:01:03 -0600 commented answer Find which keystone API version is supported

Keystone is available on both the URLs, v2 and v3. Use the one you need. See here for differences: http://developer.openstack.org/api-ref/identity/v2/index.html (http://developer.openstack.org/api-re...) http://developer.openstack.org/api-ref/identity/v3/index.html (http://developer.openstack.org/api-re...)

2016-10-03 10:18:49 -0600 commented answer rabbitmq "Error: unable to connect to node 'rabbit@OS-controller': nodedown"

yeah...exactly...solved my problem. Thanks.

2016-10-03 10:17:40 -0600 received badge  Supporter (source)
2016-09-02 09:53:08 -0600 received badge  Enthusiast
2016-08-31 18:05:51 -0600 asked a question Neutron L3 HA: Node preempts current master

In Neutron L3 VRRP, when the current master node is rebooted, once it is back up it becomes master again even though all nodes run with same priority and with nopreempt in keepalived.conf. This causes second failover.

Keepalived version is 1.2.13. Any idea what was going wrong? /var/log/messages has information only about spwaning keepalived and nothing about state changes even though -D and -d options were enabled.

2015-10-01 10:47:03 -0600 asked a question What is the meaning of 'neutron.context'?

Can someone tell me the meaning of neutron.context in port_req.environ['neutron.context'] = context.Context("'', kwargs['tenant_id'])?

I see this is used at a lot places in Neutron tests. Has it got anything to with the Keystone roles, which are used in policy.json file?

Thanks.

2015-10-01 10:47:03 -0600 asked a question Modifying unit tests according to policy.json

I'd like to know what changes need to be made to unit tests when role changes for an action in policy.json.

For example, I made the below change to Neutron policy.json

From: "create_port": "" to "create_port": "role:my_network_role".

Neutron unit test "test_create_port_public_network" fails due to this change. I can make it work by making a code change to get the admin context but my mind tells me this is not the way. The current code generates neutron context the below way which is not admin context...

 port_req.environ['neutron.context'] = context.Context("'', kwargs['tenant_id'])

Can someone help me with it? How do I change the tests to use my newly created role?

Thanks.