[Openstack] Fwd: Notification/Event for Auto Attached IP Adresses

2013-07-20 Thread Daniel Kuffner
Hi,

I use the "auto_assign_floating_ip" option to automatically assign IP
addresses to all my new instances. I would like to know if there is a kind
of Notification/Event or Bus Messages if a (public) IP address will be
attached to a running instance. I tried to implement my own
"dns_driver.DNSDriver" but it seems like that this interface will only be
called for the internal IP addresses.

Can somebody point me out where is the best place to start?

thank you,
Daniel
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Command "nova-manage service list" output

2013-07-20 Thread Jay Lau
If you configured "debug=True" in nova.conf, just remove it and have a try.

Thanks,

Jay


2013/7/20 amogh patel 

> Hi everyone,
>
> My Openstack environment is up and running, but when I'm trying to fire
> "nova-manage service list" command it gives me below DEBUG message, though
> I'm getting the smiley as well. Could anyone please advise on how to fix
> this DEBUG issue?
>
> 2013-07-19 22:10:02.869 *DEBUG 
> nova.servicegroup.api*[req-a57f42be-0e31-48c3-92db-9d60b7dfda33 None None] 
> Check if the given
> member [{'binary': u'nova-compute', 'availability_zone': 'nova', 'deleted':
> 0L, 'created_at': datetime.datetime(2013, 7, 19, 0, 39, 6), 'updated_at':
> datetime.datetime(2013, 7, 20, 5, 10), 'report_count': 9782L, 'topic':
> u'compute', 'host': u'sjcubuntu13', 'disabled': False, 'deleted_at': None,
> 'id': 33L}] is part of the ServiceGroup, is up service_is_up
> /usr/lib/python2.7/dist-packages/nova/servicegroup/api.py:92
> 2013-07-19 22:10:02.870 *DEBUG 
> nova.servicegroup.drivers.db*[req-a57f42be-0e31-48c3-92db-9d60b7dfda33 None 
> None] DB_Driver.is_up
> last_heartbeat = 2013-07-20 05:10:00 elapsed = 2.870004 is_up
> /usr/lib/python2.7/dist-packages/nova/servicegroup/drivers/db.py:67
> nova-compute sjcubuntu13  nova
> enabled:-)   2013-07-20 05:10:00
> 2013-07-19 22:10:02.870 *DEBUG 
> nova.servicegroup.api*[req-a57f42be-0e31-48c3-92db-9d60b7dfda33 None None] 
> Check if the given
> member [{'binary': u'nova-network', 'availability_zone': 'internal',
> 'deleted': 0L, 'created_at': datetime.datetime(2013, 7, 19, 0, 39, 11),
> 'updated_at': datetime.datetime(2013, 7, 20, 5, 10, 1), 'report_count':
> 9996L, 'topic': u'network', 'host': u'sjcubuntu13', 'disabled': False,
> 'deleted_at': None, 'id': 34L}] is part of the ServiceGroup, is up
> service_is_up /usr/lib/python2.7/dist-packages/nova/servicegroup/api.py:92
> 2013-07-19 22:10:02.870 *DEBUG 
> nova.servicegroup.drivers.db*[req-a57f42be-0e31-48c3-92db-9d60b7dfda33 None 
> None] DB_Driver.is_up
> last_heartbeat = 2013-07-20 05:10:01 elapsed = 1.870295 is_up
> /usr/lib/python2.7/dist-packages/nova/servicegroup/drivers/db.py:67
> nova-network sjcubuntu13  internal
> enabled:-)   2013-07-20 05:10:01
>
> thanks,
> Amogh
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Issue in debugging OpenStack Swift

2013-07-20 Thread Muhammad Kazim
Hi all,

I wanted to debug Swift source code. I have a Devstack setup running on my
machine that i have configured to only run keystone, mysql and swift.

I have used pdb to debug source code. I was able to debug
python-swiftclient, middleware (common), and proxy-server code. However,
when i try to debug Object Server of Swift, by issuing pdb.set_trace() call
in diskwrite or any write function in /swift/obj/server.py (except
constructor) and than issue a 'swift post' or 'swift upload' command from
other terminal, the object server crashes. The screen of s-object shows an
error in the line in which 'pdb.set_trace()' is called.

Can someone please guide me how can i debug the Swift s-object code in
/swift/obj/server.py. Thanks.

Regards,
Muhammad Kazim
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] clay.gerrard

2013-07-20 Thread Clay Gerrard
http://cgtek.it/uyrsoyrj/jivjynwm.bnligkqbxewrhs

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] VM monitoring design brainstorm

2013-07-20 Thread Peter Cheung
Hi All   
https://www.dropbox.com/s/vuipa1a2ilw7z9p/titan-instance-design-20130621.png  I 
am designing the VM monitor screen. I have asked many people, some of them used 
VMware for few years but their requirements are simple, most of the people told 
me they just need to know the CPU+RAM+network information. But I think i can do 
a little bit more. For example, I think it is good to record these 
information1) CPU+RAM+network for each app running inside the VM. So people can 
see why the VM so busy.2) If you are running a web server inside the VM, it 
would be nice to know how many concurrent connection to your server, right?3) 
If you are running MySQL cluster, it is nice to tell you which query is eating 
the memory
Any other good idea?
Thanksfrom Peter  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp