[Openstack] Hiding a Panel in Dashboard

2013-03-06 Thread Srikanth Kumar Lingala
Hi folks, I have a doubt. Generally, if we create a panel, we need to create a new directory under '.../horizon/dashboard/nova/' and add that in '.../horizon/dashboards/nova/dashboard.py'. Let us suppose panel directory name is 'sample_panel'. I created a directory namely 'sample_panel' under the

[Openstack] [Horizon] Error in /var/log/apache2/error.log

2012-11-12 Thread Srikanth Kumar Lingala
Hi, I created a custom page in horizon. Most of the new page is working fine. But, when I wanted to load some custom 'quantum' DB table data in horizon, I am getting the following error in '*/var/log/apache2/error.log*': *Traceback (most recent call last): [Mon Nov 12 15:52:58 2012] [error]

[Openstack] [Horizon] tables.DeleteAction not working

2012-11-12 Thread Srikanth Kumar Lingala
Hi, I created a custom table in Quantum DB, and getting rows from that, and show as Table in Horizon. For each row, I put only action 'Delete', and called subsequent class for eg. 'DeleteRow(tables.DeleteAction)'. In this, I wrote 'delete' function, in which I am calling quantum API to delete the

Re: [Openstack] [openstack-dev] [Horizon] tables.DeleteAction not working

2012-11-12 Thread Srikanth Kumar Lingala
. ** ** **- **Gabriel ** ** *From:* Srikanth Kumar Lingala [mailto:srikanthkumar.ling...@gmail.com] *Sent:* Monday, November 12, 2012 11:51 AM *To:* openstack@lists.launchpad.net; openstack-...@lists.openstack.org *Subject:* [openstack-dev] [Horizon] tables.DeleteAction

[Openstack] Creating new resource in quantum + horizon

2012-11-02 Thread Srikanth Kumar Lingala
Hi, I just want to get data from a custom table created in Quantum and show it in horizon.(Just like list networks in horizon) I followed same architecture followed for showing Networks in horizon. I am able to send the request to quantum-server. And query also executing fine and getting data as a

[Openstack] Horizon developers guide

2012-10-30 Thread Srikanth Kumar Lingala
Hi, To customize Openstack dashboard, any developer's guide available? -- Srikanth. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help :

[Openstack] Inserting into custom tables from horizon.

2012-10-25 Thread Srikanth Kumar Lingala
Hi, I want to create a new custom table in nova database and insert data into that table from Openstack Dashboard, by creating some custom fields. I am not able to find any SQL executions in the source code, as it is using django framework, which is similar to MVC architecture. Can anyone point me

Re: [Openstack] Not able to get IP address for VM

2012-10-24 Thread Srikanth Kumar Lingala
, Srikanth Kumar Lingala wrote: Hi, I am using latest devstack I am trying to create a VM with one Ethernet interface card. I am able to create the VM successfully, but not able to get IP for the ethernet interface. I have Openstack Controller running the following: - nova-api - nova-cert

Re: [Openstack] Not able to get IP address for VM

2012-10-24 Thread Srikanth Kumar Lingala
of inaccessible metadata service. --janis On Wed, Oct 24, 2012 at 4:00 PM, Srikanth Kumar Lingala srikanthkumar.ling...@gmail.com wrote: Here is the *nova.conf* file contents: *[DEFAULT]* *# MySQL Connection #* *sql_connection=mysql://nova:password@10.232.91.33/nova* * * *# nova

[Openstack] Not able to get IP address for VM

2012-10-22 Thread Srikanth Kumar Lingala
Hi, I am using latest devstack I am trying to create a VM with one Ethernet interface card. I am able to create the VM successfully, but not able to get IP for the ethernet interface. I have Openstack Controller running the following: - nova-api - nova-cert - nova-consoleauth -

[Openstack] Quantum OVS Agent as service

2012-10-17 Thread Srikanth Kumar Lingala
Hi all, If we run Quantum OVS Agent as a service ... '*service quantum-plugin-openvswitch-agent start*', it is unable to start the agent. It is throwing the following error to '/var/log/quantum/agent-ovs.log' *Stderr: 'Device br-eth1 does not exist.\n'* *2012-10-16 12:48:10ERROR

Re: [Openstack] Quantum OVS Agent as service

2012-10-17 Thread Srikanth Kumar Lingala
: # create bridge ovs-vsctl add-br br-eth1 # add eth1 as a port on this bridge ovs-vsctl add-port br-eth1 eth1 dan On Wed, Oct 17, 2012 at 1:53 AM, Srikanth Kumar Lingala srikanthkumar.ling...@gmail.com wrote: Hi all, If we run Quantum OVS Agent as a service ... 'service quantum-plugin

[Openstack] Creating networks with same subnet across Tenants

2012-10-12 Thread Srikanth Kumar Lingala
Hi all, Is it possible to create two networks with same subnet across two different tenants? I tried this with latest quantum, but got the following error: * Invalid input for operation: Requested subnet with cidr: 25.25.0.0/24 for network: 7263582f-cb57-47a2-86cf-97a4ab40de52 overlaps with

[Openstack] Adding Custom form field in Openstack Dashboard.

2012-10-09 Thread Srikanth Kumar Lingala
Hi all, I have added my own custom text box field in the form 'Launch Instance' page. For that, I modified the following file: * /usr/lib/python2.7/dist-packages/horizon/dashboards/nova/instances/workflows.py * * * Added text box in the above script as follows: *sample =

[Openstack] File Injection through Horizon

2012-10-04 Thread Srikanth Kumar Lingala
Hi, I am trying to implement File Injection through Openstack Dashboard. That means, while creating instance from 'Launch Instance', I will give file path of a file, which I need to inject. For that, I modified the following file: */usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py* * *

[Openstack] File Injection through Horizon

2012-10-03 Thread Srikanth Kumar Lingala
Hi all, I have some doubts regarding File Injection. Can File Injection can be done through Horizon, while creating an Instance? While creating an Instance from Horizon, a field called 'User Data' [text area] is there. Is that field is related to File Injection? Can anyone tell me, the values we

Re: [Openstack] File Injection through Horizon

2012-10-03 Thread Srikanth Kumar Lingala
Hi Atul, Can you please guide me how to do File Injection through Horizon? Regards, Srikanth. On Wed, Oct 3, 2012 at 12:41 PM, Atul Jha atul@csscorp.com wrote: Hi, snip I have some doubts regarding File Injection. Can File Injection can be done through Horizon, while creating an

Re: [Openstack] File Injection through Horizon

2012-10-03 Thread Srikanth Kumar Lingala
[shake.c...@gmail.com] Sent: Wednesday, October 03, 2012 2:28 PM To: Srikanth Kumar Lingala Cc: Atul Jha; openstack@lists.launchpad.net Subject: Re: [Openstack] File Injection through Horizon I also have same question. can you give us example. how to injection throuth Horizon? On Wed, Oct 3

Re: [Openstack] File Injection through Horizon

2012-10-03 Thread Srikanth Kumar Lingala
+ execute it. This can, in a roundabout way, be used to achieve similar results to the file injection feature. Thanks, Kiall On Wed, Oct 3, 2012 at 12:59 PM, Srikanth Kumar Lingala srikanthkumar.ling...@gmail.com wrote: Hi, I am able to create an instance with the following command

[Openstack] Updating Metadata for an instance.

2012-09-27 Thread Srikanth Kumar Lingala
Hi, I created an instance with the following command: *# nova boot --meta creator=srikanth --meta desc='This is a Test Description' --flavor=1 --image=4671e99b-1c01-42e8-94d6-2405a59bab57 testserver* * * I am able to see a file - 'meta.js' in '/' directory of instance file system, with the

Re: [Openstack] ERROR in ‘/var/log/quantum/agent-dhcp.log’ for FOLSOM-3

2012-09-18 Thread Srikanth Kumar Lingala
Hi Dan, Yes, we have mentioned valid rabbit_host, rabbit_userid and rabbit_password fields in quantum.conf. And also, we gave the same fields in ovs_quantum_plugin.ini also. But, we are getting the same errors in agent-dhcp.log Srikanth. On Mon, Sep 17, 2012 at 9:56 PM, Dan Wendlandt

[Openstack] VM Instance NOT able to get IP

2012-09-18 Thread Srikanth Kumar Lingala
Hi, I'm using Folsom Testing Packages on Ubuntu 12.04., Quantum V2 with OVS Plugin Agent running. I created a network with subnet 10.10.0.0/24. I wanted to create an instance with the created network. I am trying to create that instance in the same Controller Node. The following services

Re: [Openstack] VM Instance NOT able to get IP

2012-09-18 Thread Srikanth Kumar Lingala
Hi, I am able to fix the issue. The issue is related to quantum-dhcp-agent. In '/etc/init/quantum-dhcp-agent.conf', I replaced the following *exec start-stop-daemon --start --chuid quantum --exec /usr/bin/quantum-dhcp-agent -- --config-file=/etc/quantum/dhcp_agent.ini