Ask Your Question

iceman's profile - activity

2014-06-19 03:34:55 -0600 received badge  Popular Question (source)
2014-06-19 03:34:55 -0600 received badge  Famous Question (source)
2014-06-19 03:34:55 -0600 received badge  Notable Question (source)
2014-06-18 08:59:45 -0600 commented question How does Cinder make changes to its Database?

Hey @SamYaple, You are right. What i actually meant was how is the metadata for these backends stored, since im already using another backend. I will reframe the above question and have a look at the link that you posted. Hope that helps. Will keep you posted.

2014-06-18 05:21:29 -0600 asked a question How does Cinder make changes to its Database?

Hello all,

Iv made a few changes in horizon. To be able to use those features, i would also need to change the way the metadata is stored, since im relating to a different backend, in order to be able to process input received from horizon correctly.

So my main question is, how does cinder perform insert, update, delete operations on its mysql database for the data that it receives from a horizon form?

Been stuck on it for a while. Any help would be much appreciated.

2014-06-17 08:08:02 -0600 received badge  Scholar (source)
2014-06-09 16:41:47 -0600 received badge  Student (source)
2014-06-09 16:37:13 -0600 received badge  Famous Question (source)
2014-06-03 01:28:09 -0600 received badge  Supporter (source)
2014-05-28 07:07:43 -0600 answered a question Changing a form on Horizon

thanks a ton @jpichon. i managed to override the "create volume" form as well. you're right, the call to a form does go through "views.py". what i did was i created a separate file for my form and just made the following changes in "override.py":

from openstack_dashboard.dashboards.project.volumes.mycreateform import CreateForm as ProjectCreateForm

from openstack_dashboard.dashboards.project.volumes.views import CreateView as xyz

xyz.form_class=ProjectCreateForm

These 3 lines did it. "CreateForm" is my class in the file "mycreateform.py" file. I dont know if this the correct way to do it, but for now it works pretty good.

2014-05-28 00:57:11 -0600 commented answer Changing a form on Horizon

@jpichon thanks a lot julie. i figured out the problem. i hadnt created an "overrides.py" file at all. i created one and changed the paths in "customization_module" to it. so overriding now works fine for a few examples. but my objective of overriding the create-form remains. trying to figure that.

2014-05-28 00:51:03 -0600 received badge  Enthusiast
2014-05-22 04:31:50 -0600 received badge  Notable Question (source)
2014-05-22 02:06:20 -0600 commented answer Changing a form on Horizon

And about overriding the existing panels, I really dont require all of it. I mainly need to change the 'create volume' form that appears. Isnt there a way to just do that? Like, creating my own python script for the form, overriding the existing one, without having to change any other components.

2014-05-22 01:59:21 -0600 commented answer Changing a form on Horizon

The overrides.py file was exactly what i was confused about. I was under the impression that its a file that is required and that i havn't created it. If not required, il change the dotted path in 'customization-module' as you mentioned, till just my filename. And if required, what should be in it?

2014-05-22 01:58:57 -0600 received badge  Editor (source)
2014-05-21 21:12:40 -0600 received badge  Popular Question (source)
2014-05-21 04:52:07 -0600 asked a question Changing a form on Horizon

*I want to change the Create Volume form in Horizon, i.e. i want to add a new field to the already existing ones.

*I have typed in a separate python script for it because i dont want to change the existing Horizon code.

*Added a 'customization-module' field in local_settings.py as follows:

'customization_module': 'openstack_dashboard.dashboards.project.volume.myfilename.overrides'

and added the path of my file to WSGIDaemonProcess in Apache's Horizon Config file just like it is stated in http://docs.openstack.org/developer/horizon/topics/customizing.html (http://docs.openstack.org/developer/h...) .

*Is this all that i need to do? coz i cant see the changes, seems like iv missed out on something or am i doing it the wrong way? Would really appreciate it if someone can guide me through.