[Openstack] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihost
Dear all, I have some questions about OpenStack Nova Compute(Essex) using novnc. I build a cluster using 4 computers with OpenStack Nova Compute in multihost. The follows were informations of my cluster: nova01:compute server,api server,controller server 192.168.3.3 nova02:compute server 192.168.3.4 nova03:compute server 192.168.3.5 nova04:compute server 192.168.3.6 And the vms`s fixed was 10.0.0.0/8 Here was my nova.conf: http://pastebin.com/K6ArR1HA While,when i executed the command nova get-vnc-console servername novnc then,error occured. Here were the error informations: 2012-10-25 14:25:27 ERROR nova.rpc.impl_qpid [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7 4ce797d0ef1f4bc91f91] Timed out waiting for RPC response: None 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Traceback (most recent call last): 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File /usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py, line 364, in ensure 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid return method(*args, **kwargs) 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File /usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py, line 413, in _consume 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid nxt_receiver = self.session.next_receiver(timeout=timeout) 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File string, line 6, in next_receiver 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 651, in nex t_receiver 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid raise Empty 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Empty: None 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid 2012-10-25 14:25:27 ERROR nova.api.openstack [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7 4ce797d0ef1f4bc91f91] Caught error: Timeout while waiting on RPC response. 2012-10-25 14:25:27 TRACE nova.api.openstack Traceback (most recent call last): 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py, line 82, in _ _call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return req.get_response(self.application) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py, line 1053, in get_response 2012-10-25 14:25:27 TRACE nova.api.openstack application, catch_exc_info=False) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py, line 1022, in call_application 2012-10-25 14:25:27 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/keystone/middleware/auth_token.py, line 176, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return self.app(env, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 159, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return resp(environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 159, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return resp(environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 159, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return resp(environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py, line 131, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack response = self.app(environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 159, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return resp(environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 147, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 208, in call_func 2012-10-25 14:25:27 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
Re: [Openstack] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihost
Hi, I have a cloud constructed on ubuntu12.04 with openstack essex. -controller node: 10.205.16.18 The configuration regarding vnc: --vncserver_host=0.0.0.0 --vncproxy_url=http://10.205.16.18:6080 --ajax_console_proxy_url=http://10.205.16.18:8000 --novnc_enabled=true --novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html --vncserver_proxyclient_address=10.205.16.18 --vncserver_listen=10.205.16.18 -compute node:10.205.16.241 --vncproxy_url=http://10.205.16.18:6080 --ajax_console_proxy_url=http://10.205.16.18:8000 --novnc_enabled=true --novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html --vncserver_proxyclient_address=10.205.16.241 --vncserver_listen=10.205.16.241 And everything works ok. Hope this help. Regards, Gabriel From: 张家龙 zhan...@awcloud.com To: openstack openstack@lists.launchpad.net Sent: Thursday, October 25, 2012 9:43 AM Subject: [Openstack] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihost Dear all, I have some questions about OpenStack Nova Compute(Essex) using novnc. I build a cluster using 4 computers with OpenStack Nova Compute in multihost. The follows were informations of my cluster: nova01:compute server,api server,controller server 192.168.3.3 nova02:compute server 192.168.3.4 nova03:compute server 192.168.3.5 nova04:compute server 192.168.3.6 And the vms`s fixed was 10.0.0.0/8 Here was my nova.conf: http://pastebin.com/K6ArR1HA While,when i executed the command nova get-vnc-console servername novnc then,error occured. Here were the error informations: 2012-10-25 14:25:27 ERROR nova.rpc.impl_qpid [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7 4ce797d0ef1f4bc91f91] Timed out waiting for RPC response: None 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Traceback (most recent call last): 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File /usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py, line 364, in ensure 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid return method(*args, **kwargs) 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File /usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py, line 413, in _consume 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid nxt_receiver = self.session.next_receiver(timeout=timeout) 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File string, line 6, in next_receiver 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 651, in nex t_receiver 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid raise Empty 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Empty: None 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid 2012-10-25 14:25:27 ERROR nova.api.openstack [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7 4ce797d0ef1f4bc91f91] Caught error: Timeout while waiting on RPC response. 2012-10-25 14:25:27 TRACE nova.api.openstack Traceback (most recent call last): 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py, line 82, in _ _call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return req.get_response(self.application) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py, line 1053, in get_response 2012-10-25 14:25:27 TRACE nova.api.openstack application, catch_exc_info=False) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py, line 1022, in call_application 2012-10-25 14:25:27 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/keystone/middleware/auth_token.py, line 176, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return self.app(env, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 159, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return resp(environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 159, in __call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return resp(environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File /usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py, line 159, in __call__ 2012-10-25 14:25:27 TRACE
Re: [Openstack] nova-br100.conf
If the instance has two network interfaces and two private networks created, AFAIK nova-br100.conf should be the two MAC and two IPs, but only has one. (Essex version) 2012/10/25 heut2008 heut2...@gmail.com: It contains the mapping between Instances IP and MAC addresses and is read by dnsmasq for allocating IP to instance at booting time . 2012/10/25 Daniel Vázquez daniel2d2...@gmail.com: what will be the content of /var/lib/nova/networks/nova-br100.conf file??? thx! ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Yaguang Tang ___ 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] Completely disabling openstack infraestructure on host
Hi here! Without reinstall the HOST SO, To completely disabling openstack infraestructure on host, I think need this steps: - stop all openstack servides - avoid restart services with the system - stop too database engine and http server - disable br100 and setup eth0 or eth1 withut bridge link Something else more ... some additional RE-configurations Thks! ___ 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] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihost
Dear Gabriel, Thanks for reply. With your suggestion,I modified my nova.conf like follows: controller nova.conf: vncserver_host=0.0.0.0 vncproxy_url=http://192.168.3.3:6080 ajax_console_proxy_url=http://192.168.3.3:8000 novnc_enabled=True novncproxy_base_url=http://192.168.3.3:6080/vnc_auto.html vncserver_proxyclient_address=192.168.3.3 vncserver_listen=192.168.3.3 compute nova.conf: vncproxy_url=http://192.168.3.3:6080 ajax_console_proxy_url=http://192.168.3.3:8000 novnc_enabled=True novncproxy_base_url=http://192.168.3.3:6080/vnc_auto.html vncserver_proxyclient_address=192.168.3.4 vncserver_listen=192.168.3.4 Then ,I restarted all of the nova service. While,when I execute "nova get-vnc-console servername novnc",the same errors occured.Is there any other solutions? Waiting your reply. -- Best Regards ZhangJialong--Original--From: "Staicu Gabriel"gabriel_sta...@yahoo.com;Date: Thu, Oct 25, 2012 03:31 PMTo: "张家龙"zhan...@awcloud.com; "openstack"openstack@lists.launchpad.net; Subject: Re: [Openstack] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihostHi,I have a cloud constructed on ubuntu12.04 with openstack essex. -controller node: 10.205.16.18 The configuration regarding vnc: --vncserver_host=0.0.0.0 --vncproxy_url=http://10.205.16.18:6080 --ajax_console_proxy_url=http://10.205.16.18:8000 --novnc_enabled=true --novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html --vncserver_proxyclient_address=10.205.16.18 --vncserver_listen=10.205.16.18 -compute node:10.205.16.241 --vncproxy_url=http://10.205.16.18:6080 --ajax_console_proxy_url=http://10.205.16.18:8000 --novnc_enabled=true --novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html --vncserver_proxyclient_address=10.205.16.241 --vncserver_listen=10.205.16.241And everything works ok.Hope this help.Regards,Gabriel From: 张家龙 zhan...@awcloud.com To: openstack openstack@lists.launchpad.net Sent: Thursday, October 25, 2012 9:43 AM Subject: [Openstack] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihost Dear all, I have some questions about OpenStack Nova Compute(Essex) using novnc. I build a cluster using 4 computers with OpenStack Nova Compute in multihost. The follows were informations of my cluster:nova01:compute server,api server,controller server 192.168.3.3 nova02:compute server 192.168.3.4 nova03:compute server 192.168.3.5 nova04:compute server 192.168.3.6And the vms`s fixed was 10.0.0.0/8Here was my nova.conf: http://pastebin.com/K6ArR1HAWhile,when i executed the command "nova get-vnc-console servername novnc" then,error occured.Here were the error informations:2012-10-25 14:25:27 ERROR nova.rpc.impl_qpid [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7 4ce797d0ef1f4bc91f91] Timed out waiting for RPC response: None 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Traceback (most recent call last): 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 364, in ensure 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid return method(*args, **kwargs) 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 413, in _consume 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid nxt_receiver = self.session.next_receiver(timeout=timeout) 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File "string", line 6, in next_receiver 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 651, in nex t_receiver 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid raise Empty 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Empty: None 2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid 2012-10-25 14:25:27 ERROR nova.api.openstack [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7 4ce797d0ef1f4bc91f91] Caught error: Timeout while waiting on RPC response. 2012-10-25 14:25:27 TRACE nova.api.openstack Traceback (most recent call last): 2012-10-25 14:25:27 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py", line 82, in _ _call__ 2012-10-25 14:25:27 TRACE nova.api.openstack return req.get_response(self.application) 2012-10-25 14:25:27 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line 1053, in get_response 2012-10-25 14:25:27 TRACE nova.api.openstack application, catch_exc_info=False) 2012-10-25 14:25:27 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line 1022, in call_application 2012-10-25 14:25:27 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2012-10-25 14:25:27 TRACE nova.api.openstack File
[Openstack] how to get 'availability zone' of an instance?
I look around by using `nova show` and using the REST api, but can not find the 'availability zone' field. Can any one tell me how to get it ? Thanks! -gtt ___ 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] [ceilometer] Potential New Use Cases
On Thu, Oct 25 2012, Dan Dyer wrote: I don't think its just a matter of adding more meters or events for a couple of reasons: 1. In many cases the metadata I am referring to comes from a different source than the base usage data. Nova is still emitting its normal events, but we get the service/user mapping from a different source. I would not characterize this data as usage metrics but more data about the system relationships. 2. in the multiple VM case, we need to have the relationships specified so that we can ignore the proper VM's. There has also been talk of hybrid billing models that charge for some part of the VM usage as well as other metrics. Once again we need a way to characterize the relationships so that processing can associate and filter correctly. Sure, I am not stating you don't need to specify the relationship. I'm just saying I don't see why existing counter in ceilometer should be modified to store the relationship and why it should be aware of it. Maybe I don't understand properly what you want to do, so I'll try to give a concrete example. Please correct me and amend the example if it doesn't match what you've in mind. Let's say you have a PaaS platform built on instances. This PaaS platform has a user P in keystone and launches instances with that user. Now you have to spawn the platform, or a new instance of it, doesn't matter, and launch let's 3 VM instances X, Y and Z. Ceilometer records that 3 VMs instances are running for user P the entire lifetime of the platform. At this point, what I'm saying is that your PaaS platform also needs to send meters too like: Customer C is using the platform running on VM X, Y and Z. The VM the platform is using can be stored in the metadata of the meter the platform emits. You don't need to modify the existing meters. With that, it's possible when billing customer C to request all meters concerning the PaaS platform (you filter by counter name and/or source) and bill the PaaS platform to C. If you want detail usage, or charge back your platform owner, you also can bill the platform using the meter on the VM (and here bill the IaaS part). So the relationship is stored in Ceilometer (via metadata) and you can exploit it to build a more complex billing system with more layers. How does that sound? -- Julien Danjou ;; Free Software hacker freelance ;; http://julien.danjou.info pgp8irt5IFg7F.pgp Description: PGP signature ___ 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] [ceilometer] Potential New Use Cases
On Thu, Oct 25 2012, Angus Salkeld wrote: If you do auto scaling you will have a similar problem. Here you want to monitor the group (with instances comming and going) as a logical unit. One way would be to tag the instances and then extract the tag and send it with the metadata associated with the meter. Then you could query the ceilometer db for that group. What about sending meters where the resource is the group and not the instances? (What do you meter exactly on such a group? I'm not really familiar with CW yet) -- Julien Danjou /* Free Software hacker freelance http://julien.danjou.info */ pgp5ZEGys3WWJ.pgp Description: PGP signature ___ 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] how to get 'availability zone' of an instance?
If you run euca-run-instances, you will see there's an --availability-zone options there. euca-run-instances [-A, --access-key access_key ][-A, --secret-key secret_key ][--config config_path ][--debug][--debugger][-h, --help][--region region_name ][-U, --url url ][--version][--euca-auth][-n, --instance- count count ][-g, --group group_name ][-k, --key keyname ][-d, --user-data user_data ][--user-data-force user_data_force ][-f, --user-data-file user_data_file ][--addressing addressing ][-t, --instance-type instance_type ][--kernel kernel ][--ramdisk ramdisk ][-b, --block-device-mapping block_device_mapping ][--monitor][-s, --subnet subnet ][-z, --availability-zone zone ] image_id - Ray Yours faithfully, Kind regards. CIeNET Technologies (Beijing) Co., Ltd Email: qsun01...@cienet.com.cn Office Phone: +86-01081470088-7079 Mobile Phone: +86-13581988291 On Thu, Oct 25, 2012 at 4:13 PM, gtt116 gtt...@126.com wrote: I look around by using `nova show` and using the REST api, but can not find the 'availability zone' field. Can any one tell me how to get it ? Thanks! -gtt ___ 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
Re: [Openstack] how to get 'availability zone' of an instance?
And also if you run euca-describe-availability-zones, you'll see all the availability zones. AVAILABILITYZONE nova available - Ray Yours faithfully, Kind regards. CIeNET Technologies (Beijing) Co., Ltd Email: qsun01...@cienet.com.cn Office Phone: +86-01081470088-7079 Mobile Phone: +86-13581988291 On Thu, Oct 25, 2012 at 4:17 PM, Ray Sun qsun01...@cienet.com.cn wrote: If you run euca-run-instances, you will see there's an --availability-zone options there. euca-run-instances [-A, --access-key access_key ][-A, --secret-key secret_key ][--config config_path ][--debug][--debugger][-h, --help][--region region_name ][-U, --url url ][--version][--euca-auth][-n, --instance- count count ][-g, --group group_name ][-k, --key keyname ][-d, --user-data user_data ][--user-data-force user_data_force ][-f, --user-data-file user_data_file ][--addressing addressing ][-t, --instance-type instance_type ][--kernel kernel ][--ramdisk ramdisk ][-b, --block-device-mapping block_device_mapping ][--monitor][-s, --subnet subnet ][-z, --availability-zone zone ] image_id - Ray Yours faithfully, Kind regards. CIeNET Technologies (Beijing) Co., Ltd Email: qsun01...@cienet.com.cn Office Phone: +86-01081470088-7079 Mobile Phone: +86-13581988291 On Thu, Oct 25, 2012 at 4:13 PM, gtt116 gtt...@126.com wrote: I look around by using `nova show` and using the REST api, but can not find the 'availability zone' field. Can any one tell me how to get it ? Thanks! -gtt ___ 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
Re: [Openstack] [ceilometer] Potential New Use Cases
Let's imagine that the service that launch instances can tag the instance with: a) a common service identifier (constant) b) a uuid unique for each Unit of the service such as constant:uuid If that tag is passed onto the events which ceilometer stores in its entirety as meta, I do not see what the difficulty would be for the rating engine to be able to reconcile the information to handle your 2 use cases. Am I missing something? Nick On 10/25/2012 12:03 AM, Dan Dyer wrote: I don't think its just a matter of adding more meters or events for a couple of reasons: 1. In many cases the metadata I am referring to comes from a different source than the base usage data. Nova is still emitting its normal events, but we get the service/user mapping from a different source. I would not characterize this data as usage metrics but more data about the system relationships. 2. in the multiple VM case, we need to have the relationships specified so that we can ignore the proper VM's. There has also been talk of hybrid billing models that charge for some part of the VM usage as well as other metrics. Once again we need a way to characterize the relationships so that processing can associate and filter correctly. Dan On 10/24/2012 3:35 PM, Julien Danjou wrote: On Wed, Oct 24 2012, Dan Dyer wrote: Use Case 1 Service Owned Instances There are a set of use cases where a service is acting on behalf of a user, the service is the owner of the VM but billing needs to be attributed to the end user of the system.This scenario drives two requirements: 1. Pricing is similar to base VM's but with a premium. So the type of service for a VM needs to be identifiable so that the appropriate pricing can be applied. 2. The actual end user of the VM needs to be identified so usage can be properly attributed I think that for this, you just need to add more meters on top of the existing one with your own user and project id information. As an example, in some of our PAAS use cases, there is a service controller running on top of the base VM that maintains the control and and manages the customer experience. The idea is to expose the service and not have the customer have to (or even be able to) manipulate the virtual machine directly. So in this case, from a Nova perspective, the PAAS service owns the VM and it's tenantID is what is reported back in events. The way we resolve this is to query the service controller for meta data about that instances they own. This is stored off in a separate table and used to determine the real user at aggregation time. This is probably where you should emit the meters you need. Use Case 2 Multple Instances combine to make a billable product/service In this use case, a service might consist of several VM's, but the actual number does not directly drive the billing. An example of this might be a redundant service that has a primary and two backup VM's that make up a deployment. The customer is charged for the service, not the fact that there are 3 VM's running. Once again, we need meta data that is able to describe this relationship so that when the billing records are processed, this relationship can be identified and billed properly. Kind of the same here, if you don't want to really bill the vm, just don't meter them (or ignore the meters) and emit your own meter via your PaaS platform to bill your customer. Or is there a limitation I miss? ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp signature.asc Description: OpenPGP digital signature ___ 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] Ceilometer API Glossary
于 2012年10月24日 17:35, Julien Danjou 写道: On Wed, Oct 24 2012, 吴亚伟 wrote: I still have questions about the data in the mongodb. First: All the data about source in db is ?,for example: is it correct? Yes, that's what we used for now in the source code, so this is correct. If it is just like what Eoghan said that it is unused right now as there is only a single source currently, what does the ? represent? If I want to establish a customer billing system,do I need it ? second,when I create a instance,there will be meter data created in the mongodb as resource and meter,but for volume ,there is no any data about volume in the db,so why ?Is there something wrong with my devstack or there is configuration file should be modified? If you're talking about cinder volues, you need to configure and run cinder-volume-usage-audit regularly to get messages. I do mean the cinder volumes , but I don't know how to configure it ,could you tell me more detailed steps on how to do this ? third,I can only see cpu,disk,and network info for instance in the meter data by now ,but there is no memory info,so why? Make sure you enabled the notifications via RabbitMQ in nova. Same to cinder , detailed steps will be highly appreciated . If I modify the configuration file of service like nova or cinder , how to restart the related service in devstack ? Thanks a lot . --- Yawei Wu Dalian Hi-Think Computer Technology,Corp. ___ 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] Imposible terminate instance in essex
Hi, Try setting the instance to Active/None/Running in the database, then terminate the instance. That works for me... :) Cheers, Roni. On 25 October 2012 01:27, Daniel Vázquez daniel2d2...@gmail.com wrote: Hi here! I can't terminate instance in essex version. I tried from horizon and from nova delete command. I tried killall and restarting nova-network. Restarting host too. I Re-tried set to null task_state by sql query I Re-tried with nova.conf with dhcp release to false ... good work this instance is indestructible ;) I don't want to delete instance folder, because openstack needs to release ips, and some update and synchronizations data in Database. Whan can I do? Thx! ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- -- Ronivon C. Costa IBM Certified for Tivoli Software ITIL V3 Certified Tlm: (+351) 96 676 4458 Skype: ronivon.costa Web presence: https://sites.google.com/site/ronivoncosta/ https://sites.google.com/site/z80soc/ ___ 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] Local vlan id number is less than virtual network numbers
Hello, i am a new quantum fun. I have a question about provision local vlan of ovs plugin. Plugin ovs agent can provide 4094 local vlan for local vlan mapping on integration bridge 'br-int'. But each physical network can have a vlan range, it may be 1-4094. If compute node has two physical network. Each physical network vlan range is 1 - 4094. The node supports 4094 * 2 network. Now plugin agent of this node can only provide 4094 local vlan id for mapping physical network segmentation id(physical vlan id). If i create other network more than 4094, it will log error No local VLAN availabel for net-id= . Is it right? ___ 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] Using nova-volumes openstack LVM group for other pourposes
If we create a volume out of openstack context (it's is not created on nova database) only on system level. Can we after add to openstack? reformulate ask, Can we add to openstack an existen volumen (it's living on nova-volumes group)? I'm not sure on nova-volume create command or horizon ... that behavior it will be with existent lv label or some other properties. 2012/10/24 Daniel Vázquez daniel2d2...@gmail.com: Yeah!! Jon, I'm agree with you about organization/separation LVM groups, this is for very very very special situation. Any case if I use nova pattern labeling via logical volumen creation or via renaming label, I hope can switch the content of this custom logical volument to use with openstack, an attach to a VM in future. 2012/10/24 Jonathan Proulx j...@csail.mit.edu: On Wed, Oct 24, 2012 at 08:56:26PM +0200, Daniel Vázquez wrote: :Hi here! : :Can we create and use news logical volumes for own/custom use(out of :openstack) on nova-volumes openstack LVM group, and use it beside :openstack operational? :IMO it's LVM and no problem, but it has openstack collateral consequences? If you are talking about creating random logical volumes for non-openstack use in the same volume group nova-volume or cinder is using to create volumes (lv are in the same vg but don't otherwise interact), yes you can do that without ocnfusing openstack or having your volumes trampled. For example only having one volume group and using that for operating system partitions as well as volume-foo volumes for cinder I don't think it's a particularly good idea from an organizational standpoint I'd rather have distinct vg's for each purpose so it is clear which resources are operating system and which are data, but in my environment (a private computing/research cloud with a small admin group and 1k users in a few 10's of closely related tenents) it's probably more an aesthetic than technical choice. The larger and more diverse your situation the stronger I'd argue for keeping them in seperate VGs. -Jon ___ 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] [Openstack-operators] [SWIFT] Proxies Sizing for 90.000 / 200.000 RPM
How many disks on each storage node, and what's the model? Normally, small requests performance depends on proxy CPU, but disk model matters, especially for writes. If no bottlenecks on keystone, and disks aren't too bad, I assume over 1000 op/s can archive with one proxy plus 5 storage modes with your pattern. -ywang 在 2012-10-25,1:56,Alejandro Comisario alejandro.comisa...@mercadolibre.com 写道: Guys ?? Anyone ?? Alejandro Comisario #melicloud CloudBuilders Arias 3751, Piso 7 (C1430CRG) Ciudad de Buenos Aires - Argentina Cel: +549(11) 15-3770-1857 Tel : +54(11) 4640-8443 On Mon, Oct 15, 2012 at 11:59 AM, Kiall Mac Innes ki...@managedit.ie wrote: While I can't answer your question (I've never used swift) - it's worth mentioning many of the openstack folks are en-route/at the design summit. Also - you might have more luck on the openstack-operators list, rather than the general list. Kiall On Oct 15, 2012 2:57 PM, Alejandro Comisario alejandro.comisa...@mercadolibre.com wrote: Its worth to know that the objects in the cluster, are going to be from 200KB the biggest and 50KB the tiniest. Any considerations regarding this ? - alejandrito On Thu, Oct 11, 2012 at 8:28 PM, Alejandro Comisario alejandro.comisa...@mercadolibre.com wrote: Hi Stackers ! This is the thing, today we have a 24 datanodes (3 copies, 90TB usables) each datanode has 2 intel hexacores CPU with HT and 96GB of RAM, and 6 Proxies with the same hardware configuration, using swift 1.4.8 with keystone. Regarding the networking, each proxy / datanodes has a dual 1Gb nic, bonded in LACP mode 4, each of the proxies are behind an F5 BigIP Load Balancer ( so, no worries over there ). Today, we are receiving 5000 RPM ( Requests per Minute ) with 660 RPM per Proxies, i know its low, but now ... with a new product migration, soon ( really soon ) we are expecting to receive about a total of 90.000 RPM average ( 1500 req / s ) with weekly peaks of 200.000 RPM ( 3500 req / s ) to the swift api, witch will be 90% public gets ( no keystone auth ) and 10% authorized PUTS (keystone in the middle, worth to know that we have a 10 keystone vms pool, connected to a 5 nodes galera mysql cluster, so no worries there either ) So, 3500 req/s divided by 6 proxy nodes doesnt sounds too much, but well, its a number that we cant ignore. What do you think about this numbers? does this 6 proxies sounds good, or we should double or triple the proxies ? Does anyone has this size of requests and can share their configs ? Thanks a lot, hoping to ear from you guys ! - alejandrito ___ 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-operators mailing list openstack-operat...@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators ___ 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] nova-br100.conf
you mean the instance can only get one fixed ip? even through there are two public networks ,later, I will make a test by using devstack. 2012/10/25 Daniel Vázquez daniel2d2...@gmail.com: If the instance has two network interfaces and two private networks created, AFAIK nova-br100.conf should be the two MAC and two IPs, but only has one. (Essex version) 2012/10/25 heut2008 heut2...@gmail.com: It contains the mapping between Instances IP and MAC addresses and is read by dnsmasq for allocating IP to instance at booting time . 2012/10/25 Daniel Vázquez daniel2d2...@gmail.com: what will be the content of /var/lib/nova/networks/nova-br100.conf file??? thx! ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Yaguang Tang ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Yaguang Tang ___ 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] Ceilometer API Glossary
On Thu, Oct 25, 2012 at 5:39 AM, Julien Danjou jul...@danjou.info wrote: On Thu, Oct 25 2012, 吴亚伟 wrote: If it is just like what Eoghan said that it is unused right now as there is only a single source currently, what does the ? represent? If I want to establish a customer billing system,do I need it ? It represents the fact we had no idea to use it when we write the code the first time. We discussed this yesterday, now we have a good plan. See https://bugs.launchpad.net/ceilometer/+bug/1070857 I do mean the cinder volumes , but I don't know how to configure it ,could you tell me more detailed steps on how to do this ? You need to configure the notifier to use rabbitmq (this is commented out in the default configuration file IIRC), to set the audit interval to something low like daily or hourlay (this should also be in the default configuration file) and to run this program into a cronjob. Same to cinder , detailed steps will be highly appreciated . Like cinder, you need to configure the notification backend to use rabbitmq. We have special instructions for configuring glance to use rabbit for notifications in http://ceilometer.readthedocs.org/en/latest/install.html#configuring-devstackbut I don't see anything about cinder there. Do we need to add another step to set the notification_driver for cinder? Doug If I modify the configuration file of service like nova or cinder , how to restart the related service in devstack ? Just press C-c in the screen window, up arrow and return. -- Julien Danjou /* Free Software hacker freelance http://julien.danjou.info */ ___ 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
Re: [Openstack] iptables rule missing in multi node setup
On 10/24/2012 06:55 PM, Qin, Xiaohong wrote: Hi All, In one of my lab setups, I found the following iptable rules are missing on the controller node, Chain nova-compute-inst-3 (1 references) target prot opt source destination DROP all -- anywhere anywhere state INVALID ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED nova-compute-provider all -- anywhere anywhere ACCEPT udp -- usxxcoberbmbp1.corp.emc.com anywhere udp spt:bootps dpt:bootpc All these are getting defined in virt/libvirt/firewall.py:instance_rules() - I'd recommend looking at that function, but it should always get called at instance startup. That last one for the DHCP server might not get added if the DB doesn't have the info though. ACCEPT all -- 10.0.0.0/24 anywhere FLAGS.allow_same_net_traffic=true is probably not set, I think that defaults to false for security reasons. ACCEPT icmp -- anywhere anywhere ACCEPT tcp -- anywhere anywhere tcp dpt:ssh Did you create a security group and add icmp and ssh using 'nova secgroup-add-rule ...' ? -Brian ___ 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] [ceilometer] Potential New Use Cases
That would be one way, but adding dimensions to the meters also makes sense because it reduces the need to collect the data more than once. For instance, if flavor was a dimension of the instance meter I wouldn't need the separate meter instance:flavor. These sorts of use cases were part of the original motivation for collecting all of the metadata about a resource, but what we have now isn't structured enough to let the API user query into it. How, then, do we define the dimensions for a given meter in a more structured way? Some built-in values (like flavor) can be pulled automatically based on the resource type, but what about settings controlled by the deployer and end-user (for purposes other than billing)? Doug On Thu, Oct 25, 2012 at 7:11 AM, Julien Danjou jul...@danjou.info wrote: On Thu, Oct 25 2012, Angus Salkeld wrote: So we need normal stuff like cpu/mem usage but aggregated over the instances in the group. So this is not easy to do externally. Interesting use case. I think for such a thing, a way would be to have a component listening to meters (e.g. on the bus directly or via PubSubHubbub-like) to re-emit consolidated meters. -- Julien Danjou /* Free Software hacker freelance http://julien.danjou.info */ ___ 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] VM starts without an IP address
Hi, I am running a pre GA version of Folsom code. I created a VM instance a while ago and it successfully picked up an IP address from the fixed IP range. After few days I suspended the VM using virsh directly and resumed it. Since then, the VM lost its IP address. I rebooted the VM a bunch of times and no luck. I looked into the logs and nothing seemed obvious. I also restarted some the services for nova and quantum. I then created another VM and it picked up the next IP address from the fixed range successfully. Below is the output of nova list command. +--+--++---+ | ID | Name | Status | Networks | +--+--++---+ | 0728dd45-a265-44ba-bc5b-891b28bf7d39 | testVM-0 | ACTIVE | | | d2065970-3fb5-4f57-8ac0-7266ee7631bc | testVM-1 | ACTIVE | net1=10.0.0.4 | +--+--++---+ Could someone suggest how to debug this issue and get the IP address assignment back? Thanks Vibhu ___ 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] [ceilometer] Potential New Use Cases
On Thu, Oct 25 2012, Doug Hellmann wrote: That would be one way, but adding dimensions to the meters also makes sense because it reduces the need to collect the data more than once. In case of group, the other problem is how to emit instance counter with group metadata (assuming this group implementation is not part of Nova but Heat). For instance, if flavor was a dimension of the instance meter I wouldn't need the separate meter instance:flavor. These sorts of use cases were part of the original motivation for collecting all of the metadata about a resource, but what we have now isn't structured enough to let the API user query into it. IIUC, what's need here is a GROUP BY operator in the API. Correct me if I'm wrong, but this is still doable via the API if you request /users/user/meters/instance and treats the events in the client, no? How, then, do we define the dimensions for a given meter in a more structured way? Some built-in values (like flavor) can be pulled automatically based on the resource type, but what about settings controlled by the deployer and end-user (for purposes other than billing)? Do we have to define dimensions explicitely, or isn't what's needed just ways to filter and/or group events by metadata fields? -- Julien Danjou // Free Software hacker freelance // http://julien.danjou.info g pgpVFTwjNG7i6.pgp Description: PGP signature ___ 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] Ceilometer API Glossary
On Thu, Oct 25 2012, Doug Hellmann wrote: We have special instructions for configuring glance to use rabbit for notifications in http://ceilometer.readthedocs.org/en/latest/install.html#configuring-devstackbut I don't see anything about cinder there. Do we need to add another step to set the notification_driver for cinder? I think so. -- Julien Danjou # Free Software hacker freelance # http://julien.danjou.info pgp4I0qLEd6g5.pgp Description: PGP signature ___ 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] Why OpenStack use openvpn?
Yep, I agree with you, Vish. My 2 cents, for the thread mentioning MAC OUI, it's about site-to-site connection. It's not implemented yet by cloudpipe. That probably is a feature in next version. Vinay, is what I am guessing correct? Thanks, Howard On Wed, Oct 24, 2012 at 6:31 AM, Vishvananda Ishaya vishvana...@gmail.comwrote: On Oct 22, 2012, at 5:06 PM, Hao Wang hao.1.w...@gmail.com wrote: First, why we use openvpn? I know it's kind of arch question, like how to choose a right opensource software. On the other way, please let me know your point why we don't choose IPSEC or other VPNs. It was somewhat arbitrary based on the fact that it is easy to setup on linux and there were clients on all platforms that did not require root access to install. Vish ___ 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] floating IPs not routed from inside
Hey all, we're having quite a few compute nodes with Essex installed and one central nova-network gateway. We now have a few floating IPs set up to route from the world through the gateway to these VMs. However, accessing these floating (public) IPs from inside a *tenant's VM*results into timeouts, but accessing the very same IP from a compute node (hypervisor) hosting those VMs actually does work. Now I'm a bit confused, it seems like a routing issue or iptables NAT thing and would be really greatful if anyone can help me out with a hint. :) Is this known to not work or what do you need from me to actually understand my issue a bit more? Many thanks in advance, Christian Parpart. ___ 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] Could I restart devstack with old configuration?
Hi stackers, I've got a quick question for you. Every time while I start devstack, the script will initialize mysql database. That makes me have to import customized images again. Do you know there is any way to avoid it? Thanks, Howard ___ 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] nova-br100.conf
two private networks 10.0.1.0 and 10.0.2.0 openstack assings those ips to two interfaces on instance (cirros test image) but this file only reflects the ip assigned to 10.0.2.0 network. I'm reviewing this files because I'm locking for the cause that produces that instances can't obtain the IP from dhcp. (openstack allocate and assings those ips but instances never obtain it on startup) (but this is another think). 2012/10/25 heut2008 heut2...@gmail.com: you mean the instance can only get one fixed ip? even through there are two public networks ,later, I will make a test by using devstack. 2012/10/25 Daniel Vázquez daniel2d2...@gmail.com: If the instance has two network interfaces and two private networks created, AFAIK nova-br100.conf should be the two MAC and two IPs, but only has one. (Essex version) 2012/10/25 heut2008 heut2...@gmail.com: It contains the mapping between Instances IP and MAC addresses and is read by dnsmasq for allocating IP to instance at booting time . 2012/10/25 Daniel Vázquez daniel2d2...@gmail.com: what will be the content of /var/lib/nova/networks/nova-br100.conf file??? thx! ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Yaguang Tang ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Yaguang Tang ___ 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] VM starts without an IP address
Never mind. The VM failed to boot and so the IP address was not assigned. Thanks Vibhu From: openstack-bounces+vibhuvardhan.bontala=emc@lists.launchpad.net [mailto:openstack-bounces+vibhuvardhan.bontala=emc@lists.launchpad.net] On Behalf Of Bontala, Vibhuvardhan Sent: Thursday, October 25, 2012 10:11 AM To: openstack mail list Subject: [Openstack] VM starts without an IP address Hi, I am running a pre GA version of Folsom code. I created a VM instance a while ago and it successfully picked up an IP address from the fixed IP range. After few days I suspended the VM using virsh directly and resumed it. Since then, the VM lost its IP address. I rebooted the VM a bunch of times and no luck. I looked into the logs and nothing seemed obvious. I also restarted some the services for nova and quantum. I then created another VM and it picked up the next IP address from the fixed range successfully. Below is the output of nova list command. +--+--++---+ | ID | Name | Status | Networks | +--+--++---+ | 0728dd45-a265-44ba-bc5b-891b28bf7d39 | testVM-0 | ACTIVE | | | d2065970-3fb5-4f57-8ac0-7266ee7631bc | testVM-1 | ACTIVE | net1=10.0.0.4 | +--+--++---+ Could someone suggest how to debug this issue and get the IP address assignment back? Thanks Vibhu ___ 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] How to config nova.conf in controller if I use hyper-v as nova-compute
I have read wiki http://docs.openstack.org/trunk/openstack-compute/admin/content/hyper-v-virtualization-platform.html to install nova-compute and configure in hyper-v. Now I have two question: 1, what about nova.conf in controller if my compute node is running hyper-V, is it the same as running KVM using libvirt? 2. Do one controller can control two compute nodes, one is kvm and the other is hyper-V? ___ 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] Could I restart devstack with old configuration?
Hao Wang, you can run rejoin-stack.sh from devstack directory to restart the whole thing. However, there are some problems dealing with volume. But other services should be OK. Thanks. Tong Li Emerging Technologies Standards From: Hao Wang hao.1.w...@gmail.com To: openstack@lists.launchpad.net, Date: 10/25/2012 10:29 AM Subject:[Openstack] Could I restart devstack with old configuration? Sent by:openstack-bounces+litong01=us.ibm@lists.launchpad.net Hi stackers, I've got a quick question for you. Every time while I start devstack, the script will initialize mysql database. That makes me have to import customized images again. Do you know there is any way to avoid it? Thanks, Howard___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp inline: graycol.gif___ 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] Using nova-volumes openstack LVM group for other pourposes
I think renaming the existent volume to a name that cinder/nova-volume recognize is enough. On Thu, Oct 25, 2012 at 8:48 AM, Daniel Vázquez daniel2d2...@gmail.com wrote: If we create a volume out of openstack context (it's is not created on nova database) only on system level. Can we after add to openstack? reformulate ask, Can we add to openstack an existen volumen (it's living on nova-volumes group)? I'm not sure on nova-volume create command or horizon ... that behavior it will be with existent lv label or some other properties. 2012/10/24 Daniel Vázquez daniel2d2...@gmail.com: Yeah!! Jon, I'm agree with you about organization/separation LVM groups, this is for very very very special situation. Any case if I use nova pattern labeling via logical volumen creation or via renaming label, I hope can switch the content of this custom logical volument to use with openstack, an attach to a VM in future. 2012/10/24 Jonathan Proulx j...@csail.mit.edu: On Wed, Oct 24, 2012 at 08:56:26PM +0200, Daniel Vázquez wrote: :Hi here! : :Can we create and use news logical volumes for own/custom use(out of :openstack) on nova-volumes openstack LVM group, and use it beside :openstack operational? :IMO it's LVM and no problem, but it has openstack collateral consequences? If you are talking about creating random logical volumes for non-openstack use in the same volume group nova-volume or cinder is using to create volumes (lv are in the same vg but don't otherwise interact), yes you can do that without ocnfusing openstack or having your volumes trampled. For example only having one volume group and using that for operating system partitions as well as volume-foo volumes for cinder I don't think it's a particularly good idea from an organizational standpoint I'd rather have distinct vg's for each purpose so it is clear which resources are operating system and which are data, but in my environment (a private computing/research cloud with a small admin group and 1k users in a few 10's of closely related tenents) it's probably more an aesthetic than technical choice. The larger and more diverse your situation the stronger I'd argue for keeping them in seperate VGs. -Jon ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- guilherme \n \tab maluf ___ 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] Using nova-volumes openstack LVM group for other pourposes
On Thu, Oct 25, 2012 at 12:48:23PM +0200, Daniel Vázquez wrote: :If we create a volume out of openstack context (it's is not created on :nova database) only on system level. Can we after add to openstack? :reformulate ask, Can we add to openstack an existen volumen (it's :living on nova-volumes group)? I'm not sure on nova-volume create :command or horizon ... that behavior it will be with existent lv label :or some other properties. It would be possible, it would require manually inserting data in many places though...this definately isn't a supported option but I do belive it is technically possible you might need to follow the naming convention (probably should) of volume-uuid, this could be doen with lvrename you will need to make an entry in the volumes table of your nova database you will also need an entry in /var/lib/nova/volumes/volume-uuid so that tgtd knows how to map the iSCSI target back to the correct device. that's what comes to mind, it's untested and there may be other pieces, but there isn't anything special in the logical volume data or metadata. If you're trying to plot a migration path for existing VMs it might be better to use nova to create a new volume and 'dd' to dump the contents of the old volume into it just to be sure everthing lines up correctly. -Jon : :2012/10/24 Daniel Vázquez daniel2d2...@gmail.com: : Yeah!! Jon, I'm agree with you about organization/separation LVM : groups, this is for very very very special situation. : Any case if I use nova pattern labeling via logical volumen creation : or via renaming label, I hope can switch the content of this custom : logical volument to use with openstack, an attach to a VM in future. : : : : 2012/10/24 Jonathan Proulx j...@csail.mit.edu: : On Wed, Oct 24, 2012 at 08:56:26PM +0200, Daniel Vázquez wrote: : :Hi here! : : : :Can we create and use news logical volumes for own/custom use(out of : :openstack) on nova-volumes openstack LVM group, and use it beside : :openstack operational? : :IMO it's LVM and no problem, but it has openstack collateral consequences? : : If you are talking about creating random logical volumes for : non-openstack use in the same volume group nova-volume or cinder is : using to create volumes (lv are in the same vg but don't otherwise : interact), yes you can do that without ocnfusing openstack or having : your volumes trampled. For example only having one volume group and : using that for operating system partitions as well as volume-foo : volumes for cinder : : I don't think it's a particularly good idea from an organizational : standpoint I'd rather have distinct vg's for each purpose so it is : clear which resources are operating system and which are data, but in : my environment (a private computing/research cloud with a small admin : group and 1k users in a few 10's of closely related tenents) it's : probably more an aesthetic than technical choice. The larger and more : diverse your situation the stronger I'd argue for keeping them in : seperate VGs. : : -Jon : :___ :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
Re: [Openstack] [Openstack-operators] [SWIFT] Proxies Sizing for 90.000 / 200.000 RPM
Well, we've conducted some test, but i dont know if it simulate the real use case, actually, the oposite, since the objects that are puted into the cluster, are read no more than twice, the thing is that they are millions. So, the test is as follow. We are using SWIFT 1.4.8 With Keystone. Behind this test as we said there are 6 proxy nodes ( 2 QuadCore owith HT, 96GB of RAM, Memcached with 32GB configured, 2 Bonded 1Gb Nic LACP Mode 4, the interfaces are balanced about 60%-40% ) #1 We put 30 objects (50K) into a container (private for PUT, public for GET, so no keystone on the GET side), then from 30 different physical hosts acting as clients (96GB fo RAM, 2 Intel QuadCore HT Enabled, 2 Bonded 1Gb Nic) executing httperf geting a different image each (HTTP, no SSL) with this command: httperf --server F5_IP_ADDRESS --port 8080 --uri /v1/AUTH_1bf1f1b69a864abb84ed8a1bc82cff21/testCONT/objXX.swf --num-conn 7200 --num-call 1 --rate 50 --timeout 20 --hog -v swift_$(hostname) So, each host is getting allways the same object, so doing the math : 30 clients, 50 req/s per 60 secconds = 90.000 RPM, again, each client is getting ALLWAYS the same object. We monitor this test, and we get throughput peaks of 60.000 RPM at 600ms average response time (with think its a little bit high for lan test), since its true that we are allways getting the same objects for each client, we CANT make the throughput to scale (maybe due to lack of proxy procesing power, but the thing is, the proxies CPU are under the 30% of CPU usage, and Bandwith utilization per NIC peaks 30MB/s). We started with 20 clients and got peaks of 60.000 RPMS, the we went with 30 clients and we cant get through the 60.000 RPMS threshold. Its all about proxies ? or we should consider tune the datanode sides alejandrito On Thu, Oct 25, 2012 at 9:02 AM, Ywang225 ywang...@126.com wrote: How many disks on each storage node, and what's the model? Normally, small requests performance depends on proxy CPU, but disk model matters, especially for writes. If no bottlenecks on keystone, and disks aren't too bad, I assume over 1000 op/s can archive with one proxy plus 5 storage modes with your pattern. -ywang 在 2012-10-25,1:56,Alejandro Comisario alejandro.comisa...@mercadolibre.com 写道: Guys ?? Anyone ?? * * * * *Alejandro Comisario #melicloud CloudBuilders* Arias 3751, Piso 7 (C1430CRG) Ciudad de Buenos Aires - Argentina Cel: +549(11) 15-3770-1857 Tel : +54(11) 4640-8443 On Mon, Oct 15, 2012 at 11:59 AM, Kiall Mac Innes ki...@managedit.iewrote: While I can't answer your question (I've never used swift) - it's worth mentioning many of the openstack folks are en-route/at the design summit. Also - you might have more luck on the openstack-operators list, rather than the general list. Kiall On Oct 15, 2012 2:57 PM, Alejandro Comisario alejandro.comisa...@mercadolibre.com wrote: Its worth to know that the objects in the cluster, are going to be from 200KB the biggest and 50KB the tiniest. Any considerations regarding this ? - alejandrito On Thu, Oct 11, 2012 at 8:28 PM, Alejandro Comisario alejandro.comisa...@mercadolibre.com wrote: Hi Stackers ! This is the thing, today we have a 24 datanodes (3 copies, 90TB usables) each datanode has 2 intel hexacores CPU with HT and 96GB of RAM, and 6 Proxies with the same hardware configuration, using swift 1.4.8 with keystone. Regarding the networking, each proxy / datanodes has a dual 1Gb nic, bonded in LACP mode 4, each of the proxies are behind an F5 BigIP Load Balancer ( so, no worries over there ). Today, we are receiving 5000 RPM ( Requests per Minute ) with 660 RPM per Proxies, i know its low, but now ... with a new product migration, soon ( really soon ) we are expecting to receive about a total of 90.000 RPM average ( 1500 req / s ) with weekly peaks of 200.000 RPM ( 3500 req / s ) to the swift api, witch will be 90% public gets ( no keystone auth ) and 10% authorized PUTS (keystone in the middle, worth to know that we have a 10 keystone vms pool, connected to a 5 nodes galera mysql cluster, so no worries there either ) So, 3500 req/s divided by 6 proxy nodes doesnt sounds too much, but well, its a number that we cant ignore. What do you think about this numbers? does this 6 proxies sounds good, or we should double or triple the proxies ? Does anyone has this size of requests and can share their configs ? Thanks a lot, hoping to ear from you guys ! - alejandrito ___ 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-operators mailing list openstack-operat...@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack] Could I restart devstack with old configuration?
On Thu, Oct 25, 2012 at 10:03 AM, Tong Li liton...@us.ibm.com wrote: you can run rejoin-stack.sh from devstack directory to restart the whole thing. However, there are some problems dealing with volume. But other services should be OK. rejoin-stack.sh only addresses restarting the processes running under screen. If you've used unstack.sh or rebooted it will probably not bring everything back. We do need restack.sh to undo unstack.sh. ;) As an alternative, if/when you do want to start with a fresh install but have additional things to add you can create local.sh to do that work at the end of stack.sh. There is an example in samples/local.sh. dt -- Dean Troyer dtro...@gmail.com ___ 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] Inserting into custom tables from horizon.
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 where can I start doing that? -- Srikanth. ___ 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] Could I restart devstack with old configuration?
As I indicated, you can dress the volume stuff. Here is the rejoin-stack.sh I have, I just added a few lines to deal with the volume problem, if you use the script attached, everything will work fine. if you have swift enabled, change the data file to fit your configuration (See attached file: rejoin-stack.sh) Tong Li Emerging Technologies Standards From: Dean Troyer dtro...@gmail.com To: Tong Li/Raleigh/IBM@IBMUS, Cc: Hao Wang hao.1.w...@gmail.com, openstack@lists.launchpad.net Date: 10/25/2012 11:34 AM Subject:Re: [Openstack] Could I restart devstack with old configuration? On Thu, Oct 25, 2012 at 10:03 AM, Tong Li liton...@us.ibm.com wrote: you can run rejoin-stack.sh from devstack directory to restart the whole thing. However, there are some problems dealing with volume. But other services should be OK. rejoin-stack.sh only addresses restarting the processes running under screen. If you've used unstack.sh or rebooted it will probably not bring everything back. We do need restack.sh to undo unstack.sh. ;) As an alternative, if/when you do want to start with a fresh install but have additional things to add you can create local.sh to do that work at the end of stack.sh. There is an example in samples/local.sh. dt -- Dean Troyer dtro...@gmail.com inline: graycol.gif rejoin-stack.sh Description: Binary data ___ 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] keystone folsom-backport timetable?
Hey all, Some keystone bugs tagged with ' folsom-backport ' were recently merged to master. Is there an ETA of when that backport will actually happen? And which branch/tag it'll be? Thanks, Ken ___ 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] Could I restart devstack with old configuration?
Here's what i am using http://davanum.wordpress.com/2012/10/17/scripts-to-startstop-openstack-environment-built-using-devstack/ -- dims On Thu, Oct 25, 2012 at 10:28 AM, Hao Wang hao.1.w...@gmail.com wrote: Hi stackers, I've got a quick question for you. Every time while I start devstack, the script will initialize mysql database. That makes me have to import customized images again. Do you know there is any way to avoid it? Thanks, Howard ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Davanum Srinivas :: http://davanum.wordpress.com ___ 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] Swift 1.7.5 release plan
Fast on the heels of a productive summit in San Diego, we are getting ready to release Swift 1.7.5. Our current schedule is to cut the QA release on November 5 and, assuming it passes all QA tests, prepare the final release on November 8. This is quite a solid release with a ton of bug fixes and a few new features. I'll keep you up to date as we get closer to the release date. Note that if you have patches that you would like to see included in this release, they will need to be merged before the QA release is cut on Nov 5. Thanks to everyone who has contributed to Swift since the last release. You are helping Swift become something use by everyone, every day. --John smime.p7s Description: S/MIME cryptographic signature ___ 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] Error while launching instance RHEL (cannot run lease-init script nova-dhcpbridge )
Hi all, I am facing errors while launching instances on RHEL. The network.log says *cannot run lease-init script /usr/bin/nova-dhcpbridge* I did a liitle search and found out this linkhttps://lists.launchpad.net/openstack/msg08790.html, followed the instructions. I have the flag in nova.conf set i.e *dhcpbridge = /usr/bin/nova-dhcpbridge ( This file does exist)* But I still get the same error while launching instances. Any help is highly appreciated .Thanks -- --With Regards Pavan Kulkarni ___ 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] floating IPs not routed from inside
On 10/25/2012 10:27 AM, Christian Parpart wrote: Hey all, we're having quite a few compute nodes with Essex installed and one central nova-network gateway. We now have a few floating IPs set up to route from the world through the gateway to these VMs. However, accessing these floating (public) IPs from inside a *tenant's VM* results into timeouts, but accessing the very same IP from a compute node (hypervisor) hosting those VMs actually does work. Is the floating IP assigned to the VM trying to access itself? I know there was a change to fix that (search for hairpin_mode) and pretty sure it was in Essex. Now I'm a bit confused, it seems like a routing issue or iptables NAT thing and would be really greatful if anyone can help me out with a hint. :) What does tcpdump on the bridge show? Are the packets going out and coming back? If not you need to start looking on other interfaces for it (or use -i any), and if that doesn't help start looking at the iptables counters for the rules associated with the instance. Is this known to not work or what do you need from me to actually understand my issue a bit more? It should work assuming there is a security group rule allowing it, which is something else to look at. -Brian ___ 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] Why OpenStack use openvpn?
Hao, I think Thierry and Nachi captured it well in their email responses to the thread. The Openstack foundation would (should) get a MAC OUI allocation from IEEE RAC that will be used as default instead of using the current default locally administered base_mac of fa:16:3e:00:00:00. Nothing more complicated than that. Vinay On Thu, Oct 25, 2012 at 7:26 AM, Hao Wang hao.1.w...@gmail.com wrote: Yep, I agree with you, Vish. My 2 cents, for the thread mentioning MAC OUI, it's about site-to-site connection. It's not implemented yet by cloudpipe. That probably is a feature in next version. Vinay, is what I am guessing correct? Thanks, Howard On Wed, Oct 24, 2012 at 6:31 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Oct 22, 2012, at 5:06 PM, Hao Wang hao.1.w...@gmail.com wrote: First, why we use openvpn? I know it's kind of arch question, like how to choose a right opensource software. On the other way, please let me know your point why we don't choose IPSEC or other VPNs. It was somewhat arbitrary based on the fact that it is easy to setup on linux and there were clients on all platforms that did not require root access to install. Vish -- Vinay Bannai Email: vban...@gmail.com Google Voice: 415 938 7576 ___ 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] Inserting into custom tables from horizon.
Horizon has (thus far) been designed to avoid requiring a persistent storage backend such as a database, so you won't find any code in there to do that. That said, Horizon is built on Django, and Django has a phenomenal ORM which works with most common database backends. Building a Django model for your data and integrating that with your Horizon installation is totally fair game. See Django's documentation for examples there. However I would advise against using the same database as Nova unless you actually need to do JOINs between the tables. Better to keep a clean separation otherwise. All the best, - Gabriel From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Srikanth Kumar Lingala Sent: Thursday, October 25, 2012 8:48 AM To: openstack@lists.launchpad.net Subject: [Openstack] Inserting into custom tables from horizon. 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 where can I start doing that? -- Srikanth. ___ 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] Retrieve Endpoints
Hi Pradeep, I'm not sure what the context is for these values, so it's a little hard to assert a clear answer. For most openstack projects, (all but keystone), there's generally a single API endpoints, and the keystone service catalog is configured on deployment to point to those. The service catalog supports exposing internal and public endpoints. Keystone (quirky thing that it is) has two endpoints - one for general public authorization with a very limited API - in the docs and on the CLI, this is referred to as the auth_url. In a devstack setup, this auth_url is http://localhost:5000/v2.0; - your deployment I'd expect to be different. There's also an administrative endpoint for Keystone where a Keystone admin (or associated scripts) can configure services, endpoints, users, etc depending on the keystone deployment configuration. The CLI refers to this as the management_url, and in a devstack setup, it would be http://localhost:35357/v2.0; This help? -joe On Oct 24, 2012, at 10:53 PM, Tummala Pradeep pradeep.tumm...@ericsson.com wrote: Hi, I want to configure openstack.endpoint and openstack.identity.endpoint. However, I am a bit confused between the two. How can I configure them through terminal ? Thanks Pradeep ___ 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
Re: [Openstack] Quantum features in the folsom release
Hi, I have added the following section to the bug report, --- In the following quantum command, quantum net-create --tenant-id $TENANT_ID net1 --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 1024 provider:segmentation_id is actually a VLAN id which is used in the network for controller and compute nodes. This same VLAN id is also passed to the physical switch that interconnects controller and compute nodes. Try to avoid use VLAN id 1 since some physical switches do not forward VLAN 1 frames by default. -- Thanks. Dennis Qin From: openstack-bounces+xiaohong.qin=emc@lists.launchpad.net [mailto:openstack-bounces+xiaohong.qin=emc@lists.launchpad.net] On Behalf Of Jasper Aikema Sent: Thursday, October 18, 2012 3:12 PM To: openstack@lists.launchpad.net Subject: Re: [Openstack] Quantum features in the folsom release Hello all, I did report a bug about the lack of good documentation of quantum and provider routing. If you find the solution, can you add it to the bug report? Maybe I can write a 'fix' for it. The bug number is #1066782 Kind regards, Jasper Aikema I have also tried it out in my lab by following steps documented in this URL, http://docs.openstack.org/trunk/openstack-network/admin/content/app_demo.html The floating IP address assigned to VM spawned off in controller node is working from, however, for VMs spawned off on compute node, floating IP address associated to them are not reachable from controller node or anywhere else. I don't have a dedicated physical machine running as network node; this node is combined into the controller node which is a real physical machine. In the pages following the network diagram, the CLIs provided using eth1, eth2 etc, but didn't associate these network interface names with the three network links (mgmt net, data net, and public net) illustrated in the diagram. So maybe I'm still missing magic CLIs here to get multi node deployment working. Appreciate a lot if someone can shed some light here. Thanks. Dennis Qin From: openstack-bounces+xiaohong.qin=emc@lists.launchpad.netmailto:openstack-bounces+xiaohong.qin=emc@lists.launchpad.net [mailto:openstack-bounces+xiaohong.qin=emc@lists.launchpad.net] On Behalf Of Mohammad Banikazemi Sent: Thursday, October 18, 2012 6:15 AM To: Dan Wendlandt Cc: openstack-bounces+mb=us.ibm@lists.launchpad.netmailto:openstack-bounces+mb=us.ibm@lists.launchpad.net; openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Subject: Re: [Openstack] Quantum features in the folsom release Trying to setup something similar to the Demo Setup described on the Openstack Quantum Admin Guide posted at: http://docs.openstack.org/trunk/openstack-network/admin/content/app_demo.html. I am using devstack to do the installation. For the Network Node it says three network interfaces are required: The node must have at least three network interfaces. The first is used to communicate with the controller node, this is via the management network. The IP address of this interface should be configured to 100.1.1.12/24. The second interface will be used for the VM traffic, this is on the data network. The third interface will be used to connect to the external gateway on the network. This interface will be bridged to the Open vSwitch bridge br-ex interface. 1- Anyway we can set things up with only one or two interfaces? This is a real requirement or just to make the demo setup easier to implement? 2- Right now I only have two interfaces on my server and if I connect either of them to br-ex my server (the node and all the VMs on it) becomes unreachable. Right now I want to have only one single server for my experiments so I really do not need the network for VM traffic. 3- Is the br-eht1 bridge required for VM to VM communication is there to deal with namespaces? Earlier all I had to do to connect VMs on the same network together was to connect say eth1 directly to br-int. Now, there is this additional br-eth1 that needs to be created. Thanks. [cid:image001.gif@01CDB2B2.2C6D5D20]Dan Wendlandt ---09/10/2012 02:43:07 PM---On Mon, Sep 10, 2012 at 11:07 AM, Bilel Msekni ski...@hotmail.frmailto:ski...@hotmail.fr wrote: Hi Stackers, From: Dan Wendlandt d...@nicira.commailto:d...@nicira.com To: Bilel Msekni ski...@hotmail.frmailto:ski...@hotmail.fr, Cc: openstack@lists.launchpad.netmailto:openstack@lists.launchpad.net Date: 09/10/2012 02:43 PM Subject: Re: [Openstack] Quantum features in the folsom release Sent by: openstack-bounces+mb=us.ibm@lists.launchpad.netmailto:openstack-bounces+mb=us.ibm@lists.launchpad.net On Mon, Sep 10, 2012 at 11:07 AM, Bilel Msekni ski...@hotmail.frmailto:ski...@hotmail.fr wrote: Hi Stackers, Can someone here help me out by detailing the new Quantum features that will be available in the Folsom release. Even a link or anything could help !
Re: [Openstack] [ceilometer] Potential New Use Cases
On Thu, Oct 25, 2012 at 10:22 AM, Julien Danjou jul...@danjou.info wrote: On Thu, Oct 25 2012, Doug Hellmann wrote: That would be one way, but adding dimensions to the meters also makes sense because it reduces the need to collect the data more than once. In case of group, the other problem is how to emit instance counter with group metadata (assuming this group implementation is not part of Nova but Heat). Good point. I was assuming the values would be available as metadata of the underlying resource, but that may not always be the case. For instance, if flavor was a dimension of the instance meter I wouldn't need the separate meter instance:flavor. These sorts of use cases were part of the original motivation for collecting all of the metadata about a resource, but what we have now isn't structured enough to let the API user query into it. IIUC, what's need here is a GROUP BY operator in the API. Correct me if I'm wrong, but this is still doable via the API if you request /users/user/meters/instance and treats the events in the client, no? It is possible, but very very inefficient. How, then, do we define the dimensions for a given meter in a more structured way? Some built-in values (like flavor) can be pulled automatically based on the resource type, but what about settings controlled by the deployer and end-user (for purposes other than billing)? Do we have to define dimensions explicitely, or isn't what's needed just ways to filter and/or group events by metadata fields? Querying against arbitrary metadata fields is easy in the MongoDB driver, but not in the SQLAlchemy driver. Adding explicit handling for dimensions would let us implement it in SQL and improve performance with indexes in Mongo. Doug -- Julien Danjou // Free Software hacker freelance // http://julien.danjou.info g ___ 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] Instrumentation Monitoring Next Step - quick meet up
Hi all, Couple of us chat in the summit design sessions and and after summit on #openstack irc regarding topic of Monitoring. We think it's best to do a quick meeting to get everyone on the same page, split works, and get at least a prototype going in Grizzly. Time: Monday (10/29/2012) 2200 UTC – 2300 UTC Location: IRC #openstack-meeting I checked http://wiki.openstack.org/Meetings, this tme slot seems to be empty Top level agenda would be 1. Get everyone on the same page on high level direction 2. Discuss different design/implementation possibility 3. Split up works Before the meeting, if you want to read up, here are some links I know. Please jump in with others I missed: Blueprint: https://blueprints.launchpad.net/nova/+spec/nova-instrumentation-metrics-monitoring Etherpad: https://etherpad.openstack.org/grizzly-common-instrumentation Different code samples: https://github.com/asalkeld/statgen Looking forward, some of those conversation probably will fold into the regular Metering meeting. Just like to do a one off for now so we can go deeper on monitoring specific topics. Thanks! Annie ___ 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] keystone folsom-backport timetable?
Hey Ken, Anyone can propose a backport at any time - I pestered Mark and he was kind enough to refer me to: * http://wiki.openstack.org/StableBranch#Proposing_Fixes and notes from the summit session around just this * https://etherpad.openstack.org/process-stable-branch I took a few minutes and ran through the two bugs slated for backports and proposed the reviews just now. Both merged cleanly, so I don't expect any significant issue - the stable/maint team will also review, and they'll be backported. https://review.openstack.org/14857 https://review.openstack.org/14858 - joe On Oct 25, 2012, at 9:42 AM, Ken Thomas k...@yahoo-inc.com wrote: Some keystone bugs tagged with ' folsom-backport ' were recently merged to master. Is there an ETA of when that backport will actually happen? And which branch/tag it'll be? Thanks, Ken ___ 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
Re: [Openstack] [ceilometer] Potential New Use Cases
On 25/10/12 17:04 -0400, Doug Hellmann wrote: On Thu, Oct 25, 2012 at 10:22 AM, Julien Danjou jul...@danjou.info wrote: On Thu, Oct 25 2012, Doug Hellmann wrote: That would be one way, but adding dimensions to the meters also makes sense because it reduces the need to collect the data more than once. In case of group, the other problem is how to emit instance counter with group metadata (assuming this group implementation is not part of Nova but Heat). Good point. I was assuming the values would be available as metadata of the underlying resource, but that may not always be the case. Yea, we need a consistent way of doing this. That should work on different resource types. We could use the tags or a similar mechanism. -A For instance, if flavor was a dimension of the instance meter I wouldn't need the separate meter instance:flavor. These sorts of use cases were part of the original motivation for collecting all of the metadata about a resource, but what we have now isn't structured enough to let the API user query into it. IIUC, what's need here is a GROUP BY operator in the API. Correct me if I'm wrong, but this is still doable via the API if you request /users/user/meters/instance and treats the events in the client, no? It is possible, but very very inefficient. How, then, do we define the dimensions for a given meter in a more structured way? Some built-in values (like flavor) can be pulled automatically based on the resource type, but what about settings controlled by the deployer and end-user (for purposes other than billing)? Do we have to define dimensions explicitely, or isn't what's needed just ways to filter and/or group events by metadata fields? Querying against arbitrary metadata fields is easy in the MongoDB driver, but not in the SQLAlchemy driver. Adding explicit handling for dimensions would let us implement it in SQL and improve performance with indexes in Mongo. Doug -- Julien Danjou // Free Software hacker freelance // http://julien.danjou.info g ___ 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
Re: [Openstack] keystone folsom-backport timetable?
Hi Ken, This will help explain the backport process: http://wiki.openstack.org/StableBranch As it says here: http://wiki.openstack.org/StableBranchRelease releases should be expected every 8 weeks or so. I expect we will do a 2012.2.1 as soon as the backport-worthy bug queue slows down a bit. Vish On Oct 25, 2012, at 9:42 AM, Ken Thomas k...@yahoo-inc.com wrote: Hey all, Some keystone bugs tagged with ' folsom-backport ' were recently merged to master. Is there an ETA of when that backport will actually happen? And which branch/tag it'll be? Thanks, Ken ___ 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
Re: [Openstack] Error while launching instance RHEL (cannot run lease-init script nova-dhcpbridge )
check for nova-dhcpbridge.log files wherever your other logs are. You also might try running the script manually to see if it spits out any error messages. Vish On Oct 25, 2012, at 10:30 AM, Pavan Kulkarni pavan.babu...@gmail.com wrote: Hi all, I am facing errors while launching instances on RHEL. The network.log says cannot run lease-init script /usr/bin/nova-dhcpbridge I did a liitle search and found out this link, followed the instructions. I have the flag in nova.conf set i.e dhcpbridge = /usr/bin/nova-dhcpbridge ( This file does exist) But I still get the same error while launching instances. Any help is highly appreciated .Thanks -- --With Regards Pavan Kulkarni ___ 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
Re: [Openstack] keystone folsom-backport timetable?
Thanks! Ken On 10/25/2012 3:04 PM, heckj wrote: Hey Ken, Anyone can propose a backport at any time - I pestered Mark and he was kind enough to refer me to: * http://wiki.openstack.org/StableBranch#Proposing_Fixes and notes from the summit session around just this * https://etherpad.openstack.org/process-stable-branch I took a few minutes and ran through the two bugs slated for backports and proposed the reviews just now. Both merged cleanly, so I don't expect any significant issue - the stable/maint team will also review, and they'll be backported. https://review.openstack.org/14857 https://review.openstack.org/14858 - joe On Oct 25, 2012, at 9:42 AM, Ken Thomas k...@yahoo-inc.com mailto:k...@yahoo-inc.com wrote: Some keystone bugs tagged with ' folsom-backport ' were recently merged to master. Is there an ETA of when that backport will actually happen? And which branch/tag it'll be? Thanks, Ken ___ Mailing list: https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack Post to : openstack@lists.launchpad.net mailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack 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
Re: [Openstack] Possible upgrade bug in nova-volume ( cinder)?
On Wed, Oct 24, 2012 at 6:32 PM, John Griffith john.griff...@solidfire.com wrote: Hey Jon, Cool... Yeah, I had intended for that patch to be a stable/folsom patch but shouldn't have submitted it to master :( The real problem isn't just normalizing the lvm names, but also the provider_location information that is stored in the DB for when you try to attach to your compute node. Yup, I had understood that. We only have about 10 active volumes so it was easy enough in my case to copy and paste the ids/uuids around for mysql updates and lvrenames. So I can now attach both old and new volumes at my site. The cinder version is the same (https://review.openstack.org/#/c/14790/) and depending on the feedback it's a candidate for back-port. The other possible issues that I've seen people run in to: 1. volumes directory not being specified correctly 2. not restarting tgtadm 3. not having the include statement in /etc/tgt/conf.d I think you and I covered most of these in our chat on IRC earlier today... I tripped over a couple more steps that I didn't know about but managed to discover on my own as well, like 'cinder-manage db sync' to set up the tables in the cinder database, which I'm sure are so obvious as to be nearly invisible to people working on the code and enough like any other openstack service it wasn't too hard to guess. I collected up my notes and expanded migration section of the release notes by a few steps http://wiki.openstack.org/ReleaseNotes/Folsom#OpenStack_Block_Storage_.28Cinder.29 Thanks again, -Jon ___ 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] Using nova-volumes openstack LVM group for other pourposes
Yep! or maybe ... - we've an existent manual logical volume my-custom-volume. - create a new nova volume volume-0xx (openstack generate all database and configurations need) - delete the newest volume-0xx - rename my-custom-volume to volume-0xx - one coffe cup! :) I think ok, if no other hidden data as, others guid, low level LVM data ... 2012/10/25 Jonathan Proulx j...@csail.mit.edu: On Thu, Oct 25, 2012 at 12:48:23PM +0200, Daniel Vázquez wrote: :If we create a volume out of openstack context (it's is not created on :nova database) only on system level. Can we after add to openstack? :reformulate ask, Can we add to openstack an existen volumen (it's :living on nova-volumes group)? I'm not sure on nova-volume create :command or horizon ... that behavior it will be with existent lv label :or some other properties. It would be possible, it would require manually inserting data in many places though...this definately isn't a supported option but I do belive it is technically possible you might need to follow the naming convention (probably should) of volume-uuid, this could be doen with lvrename you will need to make an entry in the volumes table of your nova database you will also need an entry in /var/lib/nova/volumes/volume-uuid so that tgtd knows how to map the iSCSI target back to the correct device. that's what comes to mind, it's untested and there may be other pieces, but there isn't anything special in the logical volume data or metadata. If you're trying to plot a migration path for existing VMs it might be better to use nova to create a new volume and 'dd' to dump the contents of the old volume into it just to be sure everthing lines up correctly. -Jon : :2012/10/24 Daniel Vázquez daniel2d2...@gmail.com: : Yeah!! Jon, I'm agree with you about organization/separation LVM : groups, this is for very very very special situation. : Any case if I use nova pattern labeling via logical volumen creation : or via renaming label, I hope can switch the content of this custom : logical volument to use with openstack, an attach to a VM in future. : : : : 2012/10/24 Jonathan Proulx j...@csail.mit.edu: : On Wed, Oct 24, 2012 at 08:56:26PM +0200, Daniel Vázquez wrote: : :Hi here! : : : :Can we create and use news logical volumes for own/custom use(out of : :openstack) on nova-volumes openstack LVM group, and use it beside : :openstack operational? : :IMO it's LVM and no problem, but it has openstack collateral consequences? : : If you are talking about creating random logical volumes for : non-openstack use in the same volume group nova-volume or cinder is : using to create volumes (lv are in the same vg but don't otherwise : interact), yes you can do that without ocnfusing openstack or having : your volumes trampled. For example only having one volume group and : using that for operating system partitions as well as volume-foo : volumes for cinder : : I don't think it's a particularly good idea from an organizational : standpoint I'd rather have distinct vg's for each purpose so it is : clear which resources are operating system and which are data, but in : my environment (a private computing/research cloud with a small admin : group and 1k users in a few 10's of closely related tenents) it's : probably more an aesthetic than technical choice. The larger and more : diverse your situation the stronger I'd argue for keeping them in : seperate VGs. : : -Jon : :___ :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
Re: [Openstack] Possible upgrade bug in nova-volume ( cinder)?
On Oct 25, 2012, at 4:03 PM, Jonathan Proulx j...@jonproulx.com wrote: I collected up my notes and expanded migration section of the release notes by a few steps http://wiki.openstack.org/ReleaseNotes/Folsom#OpenStack_Block_Storage_.28Cinder.29 Thanks for this! The information in the wiki was in two locations so I consolidated your additions here: http://wiki.openstack.org/MigrateToCinder and changed the release notes to link to that location. Vish ___ 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] Possible upgrade bug in nova-volume ( cinder)?
On Thu, Oct 25, 2012 at 5:03 PM, Jonathan Proulx j...@jonproulx.com wrote: On Wed, Oct 24, 2012 at 6:32 PM, John Griffith john.griff...@solidfire.com wrote: Hey Jon, Cool... Yeah, I had intended for that patch to be a stable/folsom patch but shouldn't have submitted it to master :( The real problem isn't just normalizing the lvm names, but also the provider_location information that is stored in the DB for when you try to attach to your compute node. Yup, I had understood that. We only have about 10 active volumes so it was easy enough in my case to copy and paste the ids/uuids around for mysql updates and lvrenames. So I can now attach both old and new volumes at my site. The cinder version is the same (https://review.openstack.org/#/c/14790/) and depending on the feedback it's a candidate for back-port. The other possible issues that I've seen people run in to: 1. volumes directory not being specified correctly 2. not restarting tgtadm 3. not having the include statement in /etc/tgt/conf.d I think you and I covered most of these in our chat on IRC earlier today... I tripped over a couple more steps that I didn't know about but managed to discover on my own as well, like 'cinder-manage db sync' to set up the tables in the cinder database, which I'm sure are so obvious as to be nearly invisible to people working on the code and enough like any other openstack service it wasn't too hard to guess. I collected up my notes and expanded migration section of the release notes by a few steps http://wiki.openstack.org/ReleaseNotes/Folsom#OpenStack_Block_Storage_.28Cinder.29 Thanks again, -Jon Thanks for putting this together Jon! I'll see about fixing what we have against the extra info you've provided. John ___ 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] Tracking triage statistics
Hi. nova-core wanted a tool to help us track how we were going with triage of incoming bugs, with the intention that we would discuss the statistics at our weekly meetings. I therefore whipped up a quick script to do this. The business rules are as follows: - report on triage events in the last 14 days - a triage is when a user changes status from New and importance from Undecided. A single user needs to perform both actions to earn a cookie The results for the last 14 days are as follows: Report: Chuck Short: 6 (1065211, 1065848, 1066213, 1066254, 1066845, 1068539) Dan Prince: 1 (1070509) Michael Still: 6 (1062474, 1070349, 1064854, 1065728, 1065430, 1070452) Mauro Sergio Martins Rodrigues: 16 (1070155, 1070156, 1070157, 1070158, 1070160, 1070161, 1070162, 1070163, 1070164, 1070165, 1070167, 1070169, 1070170, 1070171, 1070172, 1070173) Matthew Treinish: 1 (1071338) Russell Bryant: 1 (1067858) Vish Ishaya: 8 (1071017, 1053814, 1066887, 1067638, 1067744, 1068154, 1071069, 1071462) I'd be interested in comments people might have. The code is at http://bazaar.launchpad.net/~mikalstill/+junk/openstack-lp-scripts/view/head:/triage-stats.py Cheers, Mikal ___ 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] Ceilometer, StackTach, Tach / Scrutinize, CloudWatch integration ... Summit followup
Yes, I think support for metrics objects that can be leveraged both by monkey patches and decorators was what we'd been thinking along the lines of. The metrics would be controlled via config both in what scopes are active (e.g. on|off for a package, module, etc.) and also the outlet for the metrics (file, datagram, rpc). Support for instrumentation levels would also be nice so that metric flow could be controlled (i.e. instrumentation point is annotated as METRIC, MONITOR, PROFILE and then level to actually emit can be set in conjunction with a metric outlet/sink). With this approach, folks could control both the volume of metrics and also the outlet for the metrics. Ceilometer would also be an outlet that could be leveraged via RPC flow for metrics -- though I'd expect some would want to send via datagram to statsd or file for offline log aggregation. I'll post a diagram tomorrow for review and comment. Oh btw, I updated the spec with most of what was in the etherpad. We can update the spec to reflect whatever we decide is the preferred approach. -jeff On Oct 25, 2012, at 5:30 PM, Angus Salkeld wrote: On 25/10/12 11:13 +, Sandy Walsh wrote: grizzly-common-instrumentation seems to be the best choice ... hopefully the other groups will use this etherpad too. We need a proper blueprint to nail down the approach. IRC is great, but doesn't retain history for other groups. I think we need to get a plan for translating the etherpad into something concise and nailed down. Agree. statgen should really just be a new notifier in Tach (or Scrutinize) ... vs copy-pasting the code into yet-another repo. Hopefully that's the plan? Tach should remain a generic tool and not pegged to OpenStack. Well that was just an ideas play pen not serious code. I might be coming at this from a slightly different angle... I was looking at a library that can be used to generate trace, monitoring and metering data (kind of like log levels for logging). Currently both Tach and Scrutinize don't have enough fields (of course that could be changed). Also I think we should be able to insert instrumentation into the code as well as have the function level performance metrics monkey patched. Then we could have a config that directed metric data to different notifiers like how you do it in Scrutinize perhaps. Also enforcing data rate limits and possible data aggregation could be neat configurable features. Anyway more at the meeting... -Angus -S From: openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net [openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net] on behalf of Angus Salkeld [asalk...@redhat.com] Sent: Thursday, October 25, 2012 1:00 AM To: openstack@lists.launchpad.net Subject: Re: [Openstack] Ceilometer, StackTach, Tach / Scrutinize, CloudWatch integration ... Summit followup On 24/10/12 23:35 +, Sandy Walsh wrote: Hey y'all, Great to chat during the summit last week, but it's been a crazy few days of catch-up since then. The main takeaway for me was the urgent need to get some common libraries under these efforts. Yip. So, to that end ... 1. To those that asked, I'm going to get my slides / video presentation made available via the list. Stay tuned. 2. I'm having a hard time following all the links to various efforts going on (seems every time I turn around there's a new metric/instrumentation effort, which is good I guess :) Here is some fun I have been having with a bit of tach+ceilometer code. https://github.com/asalkeld/statgen Is there a single location I can place my feedback? If not, should we create one? I've got lots of suggestions/ideas and would hate to have to duplicate the threads or leave other groups out. I'll add some links here that I am aware of: https://bugs.launchpad.net/ceilometer/+bug/1071061 https://etherpad.openstack.org/grizzly-common-instrumentation https://etherpad.openstack.org/grizzly-ceilometer-actions https://blueprints.launchpad.net/nova/+spec/nova-instrumentation-metrics-monitoring 3. I'm wrapping up the packaging / cleanup of StackTach v2 with Stacky and hope to make a more formal announcement on this by the end of the week. Lots of great changes to make it easier to use/deploy based on the Summit feedback! Unifying the stacktach worker (consumer of events) into ceilometer should be a first step to integration (or agree upon a common YAGI-based consumer?) 4. If you're looking at Tach, you should also consider looking at Scrutinize (my replacement effort) https://github.com/SandyWalsh/scrutinize (needs packaging/docs and some notifier tweaks on the cprofiler to be called done for now) Looks great! I like the monkey patching for performance as you have done here, but we also need a nice clean way of manually inserting instrumentation too (that is what I have
Re: [Openstack] Error while launching instance RHEL (cannot run lease-init script nova-dhcpbridge )
On 10/25/2012 06:30 PM, Pavan Kulkarni wrote: Hi all, I am facing errors while launching instances on RHEL. The network.log says *cannot run lease-init script /usr/bin/nova-dhcpbridge* I did a liitle search and found out this link https://lists.launchpad.net/openstack/msg08790.html, followed the instructions. I have the flag in nova.conf set i.e *dhcpbridge = /usr/bin/nova-dhcpbridge ( This file does exist)* But I still get the same error while launching instances. Any help is highly appreciated .Thanks What version of RHEL? What version of OpenStack? What version of selinux-policy? The error message (which you seem to have truncated) comes from dnsmasq itself, and is mentioned here in relation to SELinux: https://bugzilla.redhat.com/show_bug.cgi?id=734346 You might want to update your SELinux policies. thanks, Pádraig. ___ 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] Tracking triage statistics
On 10/25/2012 08:18 PM, Michael Still wrote: I'd be interested in comments people might have. The code is at http://bazaar.launchpad.net/~mikalstill/+junk/openstack-lp-scripts/view/head:/triage-stats.py Awesome, thanks! One thing I think we should do for these stats is filter out cases where the reporter == triager. Developers filing bugs and triaging them for their own patches shouldn't be counted. You should move this to github so I can send you a pull request. :-) -- Russell Bryant ___ 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] Tracking triage statistics
On 10/26/2012 12:24 PM, Russell Bryant wrote: On 10/25/2012 08:18 PM, Michael Still wrote: I'd be interested in comments people might have. The code is at http://bazaar.launchpad.net/~mikalstill/+junk/openstack-lp-scripts/view/head:/triage-stats.py Awesome, thanks! One thing I think we should do for these stats is filter out cases where the reporter == triager. Developers filing bugs and triaging them for their own patches shouldn't be counted. I thought about this... Surely any triage is better than none? If we don't reward self triage, then someone else will still have to triage the bug, right? I'd be interested in other people's thoughts on this. You should move this to github so I can send you a pull request. :-) Heh. The code is on LP mainly because that's where the existing launchpadlib code for openstack resides. I can move it to github if people feel strongly about it. Mikal ___ 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] Ceilometer, StackTach, Tach / Scrutinize, CloudWatch integration ... Summit followup
As for statgen, I think that¹s just a temp repo, it'd be nice to have the end result of this be a library that provides somewhat generic metrics and plugins and such so that stacktech could use the outputs of it, ceilometer could the outputs and other systems could use the outputs (where an output goes would be configurable so that each system can configure its outputs as the operator desires, ie I want my MONITOR metrics to go to MQ in ceilomter and stacktech consumable formats, or to files or to...). I think when this gets going we should have some repo/project name that goes on stackforge so that even while this is being developed it can go through the normal review process and such (and not in someones special github repo). But we have to start somewhere, something we can discuss as to what a good solution is @ the meeting. -Josh On 10/25/12 5:47 PM, Jeffrey Budzinski jeffr...@yahoo-inc.com wrote: Yes, I think support for metrics objects that can be leveraged both by monkey patches and decorators was what we'd been thinking along the lines of. The metrics would be controlled via config both in what scopes are active (e.g. on|off for a package, module, etc.) and also the outlet for the metrics (file, datagram, rpc). Support for instrumentation levels would also be nice so that metric flow could be controlled (i.e. instrumentation point is annotated as METRIC, MONITOR, PROFILE and then level to actually emit can be set in conjunction with a metric outlet/sink). With this approach, folks could control both the volume of metrics and also the outlet for the metrics. Ceilometer would also be an outlet that could be leveraged via RPC flow for metrics -- though I'd expect some would want to send via datagram to statsd or file for offline log aggregation. I'll post a diagram tomorrow for review and comment. Oh btw, I updated the spec with most of what was in the etherpad. We can update the spec to reflect whatever we decide is the preferred approach. -jeff On Oct 25, 2012, at 5:30 PM, Angus Salkeld wrote: On 25/10/12 11:13 +, Sandy Walsh wrote: grizzly-common-instrumentation seems to be the best choice ... hopefully the other groups will use this etherpad too. We need a proper blueprint to nail down the approach. IRC is great, but doesn't retain history for other groups. I think we need to get a plan for translating the etherpad into something concise and nailed down. Agree. statgen should really just be a new notifier in Tach (or Scrutinize) ... vs copy-pasting the code into yet-another repo. Hopefully that's the plan? Tach should remain a generic tool and not pegged to OpenStack. Well that was just an ideas play pen not serious code. I might be coming at this from a slightly different angle... I was looking at a library that can be used to generate trace, monitoring and metering data (kind of like log levels for logging). Currently both Tach and Scrutinize don't have enough fields (of course that could be changed). Also I think we should be able to insert instrumentation into the code as well as have the function level performance metrics monkey patched. Then we could have a config that directed metric data to different notifiers like how you do it in Scrutinize perhaps. Also enforcing data rate limits and possible data aggregation could be neat configurable features. Anyway more at the meeting... -Angus -S From: openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net [openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net] on behalf of Angus Salkeld [asalk...@redhat.com] Sent: Thursday, October 25, 2012 1:00 AM To: openstack@lists.launchpad.net Subject: Re: [Openstack] Ceilometer, StackTach, Tach / Scrutinize, CloudWatch integration ... Summit followup On 24/10/12 23:35 +, Sandy Walsh wrote: Hey y'all, Great to chat during the summit last week, but it's been a crazy few days of catch-up since then. The main takeaway for me was the urgent need to get some common libraries under these efforts. Yip. So, to that end ... 1. To those that asked, I'm going to get my slides / video presentation made available via the list. Stay tuned. 2. I'm having a hard time following all the links to various efforts going on (seems every time I turn around there's a new metric/instrumentation effort, which is good I guess :) Here is some fun I have been having with a bit of tach+ceilometer code. https://github.com/asalkeld/statgen Is there a single location I can place my feedback? If not, should we create one? I've got lots of suggestions/ideas and would hate to have to duplicate the threads or leave other groups out. I'll add some links here that I am aware of: https://bugs.launchpad.net/ceilometer/+bug/1071061 https://etherpad.openstack.org/grizzly-common-instrumentation https://etherpad.openstack.org/grizzly-ceilometer-actions
[Openstack] MAC address uniqueness in folsom
Hi All, Does the MAC address generated in quantum is unique across tenants in folsom? I am developing an application that requires unique MAC address. If not unique, is there any way to make MAC address unique? Please help me. Thanks in advance. -- Thanks Regards Neelakantam Gaddam ___ 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] MAC address uniqueness in folsom
On 10/25/2012 11:02 PM, Neelakantam Gaddam wrote: Hi All, Does the MAC address generated in quantum is unique across tenants in folsom? I am developing an application that requires unique MAC address. If not unique, is there any way to make MAC address unique? Please help me. Thanks in advance. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp Do you need it to be globally unique (amongst all macs on earth) or simply unique in your environment? -- -- Matthew Thode signature.asc Description: OpenPGP digital signature ___ 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] Tracking triage statistics
On 10/26/2012 12:41 PM, Russell Bryant wrote: On 10/25/2012 09:30 PM, Michael Still wrote: I thought about this... Surely any triage is better than none? If we don't reward self triage, then someone else will still have to triage the bug, right? I'd be interested in other people's thoughts on this. I guess I figured it's just expected that you triage your own bugs that you filed for patches you're submitting. You're getting credit for that in other places (a merged patch, a fixed bug). If you're lazy and make someone else do it, we should certainly give them triage credit for it. But I see your point. It's still real work that was done. I'm fine with leaving it how you have it. Ok, I've tweaked this a little. Report (a * after the bug id indicates self triage): Chuck Short: 6 (1065211, 1065848, 1066213, 1066254, 1066845, 1068539) Dan Prince: 1 (1070509*) Michael Still: 6 (1062474, 1070349, 1064854, 1065728*, 1065430, 1070452) Mauro Sergio Martins Rodrigues: 16 (1070155*, 1070156*, 1070157*, 1070158*, 1070160*, 1070161*, 1070162*, 1070163*, 1070164*, 1070165*, 1070167*, 1070169*, 1070170*, 1070171*, 1070172*, 1070173*) Matthew Treinish: 1 (1071338*) Russell Bryant: 1 (1067858*) Vish Ishaya: 9 (1071017, 1071547, 1053814, 1066887, 1067638, 1067744, 1068154, 1071069, 1071462) So, you get the cookie, but people know about it too. Mikal ___ 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] Scaling PaaS in OpenStack
Hi All Anyone can give me reference, related to scaling PaaS system in OpenStack? how (more basic better) scalable is implementing PaaS in OpenStack? right now, we create virtual machine and install ubuntu inside, and run CloudFoundry or OpenShift to make it PaaS enable. my target for PaaS is to run our Java apps inside cloud environment. in another world, we have Liquid VM, but it is not opensource yet, part of Java VE Virtual Edition. The JVM can boot direct from the hypervisor. I still researching the theory behind scalability of cloud esp in openstack + cloudfoundry. F ___ 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-qa-team] [openstack-dev] Changes with ids/uuids?
In short, PKI tokens are able to be validated client-side, reducing network chattiness with keystone, etc. Although PKI was implemented in Folsom, it wasn't shipped as the default. Our goal in changing the default now is to flush out any issues as early in the Grizzly cycle as possible. If you're having any issues with PKI tokens, you can A) file bugs as appropriate (please!), and B) switch back to UUID tokens by changing [signing] token_format in keystone.conf from 'PKI' back to 'UUID'. -Dolph On Thu, Oct 25, 2012 at 7:52 AM, David Kranz david.kr...@qrclab.com wrote: On 10/25/2012 1:13 AM, Daryl Walleck wrote: While spinning up a new devstack tonight I noticed some very odd behavior. Keystone is suddenly giving me back a 3000+ character auth token, and the ids for flavors I'm creating are extremely large ints (uuids I could see, but not this). Does anyone have any insight into if either of these changes were intentional? Daryl I think that must be a result of https://review.openstack.org/#/c/14577/which changed the keystone default to use PKI tokens. Could some one from the keystone team explain any implication of this? -David ___ OpenStack-dev mailing list openstack-...@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp
Re: [Openstack-qa-team] Changes with ids/uuids?
On 10/25/2012 12:49 PM, Daryl Walleck wrote: You hit the nail on the head. I got a bit jumpy and ended up filing a bug to Keystone and got that same response, which explains the token. I suppose the flavor id change was intentional as well, but I would've expected it to be a uuid instead of a very large int. You now own the bug report that I will point people at when this issue comes up in the future. Hopefully they will search before filing From: openstack-qa-team-bounces+daryl.walleck=rackspace@lists.launchpad.net [openstack-qa-team-bounces+daryl.walleck=rackspace@lists.launchpad.net] on behalf of Jay Pipes [jaypi...@gmail.com] Sent: Thursday, October 25, 2012 11:38 AM To: openstack-qa-team@lists.launchpad.net; ayo...@redhat.com Subject: Re: [Openstack-qa-team] Changes with ids/uuids? On 10/25/2012 01:13 AM, Daryl Walleck wrote: While spinning up a new devstack tonight I noticed some very odd behavior. Keystone is suddenly giving me back a 3000+ character auth token, and the ids for flavors I'm creating are extremely large ints (uuids I could see, but not this). Does anyone have any insight into if either of these changes were intentional? I believe you have run into the change that Keystone recently made that switched to using PKI by default for token authentication in the services. Adam, can you verify this is the case, and a remedy for Daryl? Thanks much! -jay -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp
Re: [Openstack-qa-team] Changes with ids/uuids?
On 10/25/2012 01:41 PM, David Kranz wrote: Going forward, such changes should really be announced to the dev list. There is no reason people need to be left to trip over them. Good point. It was announced that it was coming for a while, and it should be a slide in replacement. But we should have specified the date. -David On 10/25/2012 1:13 PM, Adam Young wrote: On 10/25/2012 12:49 PM, Daryl Walleck wrote: You hit the nail on the head. I got a bit jumpy and ended up filing a bug to Keystone and got that same response, which explains the token. I suppose the flavor id change was intentional as well, but I would've expected it to be a uuid instead of a very large int. You now own the bug report that I will point people at when this issue comes up in the future. Hopefully they will search before filing From: openstack-qa-team-bounces+daryl.walleck=rackspace@lists.launchpad.net [openstack-qa-team-bounces+daryl.walleck=rackspace@lists.launchpad.net] on behalf of Jay Pipes [jaypi...@gmail.com] Sent: Thursday, October 25, 2012 11:38 AM To: openstack-qa-team@lists.launchpad.net; ayo...@redhat.com Subject: Re: [Openstack-qa-team] Changes with ids/uuids? On 10/25/2012 01:13 AM, Daryl Walleck wrote: While spinning up a new devstack tonight I noticed some very odd behavior. Keystone is suddenly giving me back a 3000+ character auth token, and the ids for flavors I'm creating are extremely large ints (uuids I could see, but not this). Does anyone have any insight into if either of these changes were intentional? I believe you have run into the change that Keystone recently made that switched to using PKI by default for token authentication in the services. Adam, can you verify this is the case, and a remedy for Daryl? Thanks much! -jay -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp
Re: [Openstack-qa-team] Changes with ids/uuids?
I also requested a DocImpac flag on the patch set- basically just put DocImpact in the commit message. I've logged a doc bug so we can make sure people know about this from the docs. Thanks, Anne On Thu, Oct 25, 2012 at 12:41 PM, David Kranz david.kr...@qrclab.com wrote: Going forward, such changes should really be announced to the dev list. There is no reason people need to be left to trip over them. -David On 10/25/2012 1:13 PM, Adam Young wrote: On 10/25/2012 12:49 PM, Daryl Walleck wrote: You hit the nail on the head. I got a bit jumpy and ended up filing a bug to Keystone and got that same response, which explains the token. I suppose the flavor id change was intentional as well, but I would've expected it to be a uuid instead of a very large int. You now own the bug report that I will point people at when this issue comes up in the future. Hopefully they will search before filing From: openstack-qa-team-bounces+daryl.walleck=rackspace@lists.launchpad.net [openstack-qa-team-bounces+daryl.walleck=rackspace@lists.launchpad.net] on behalf of Jay Pipes [jaypi...@gmail.com] Sent: Thursday, October 25, 2012 11:38 AM To: openstack-qa-team@lists.launchpad.net; ayo...@redhat.com Subject: Re: [Openstack-qa-team] Changes with ids/uuids? On 10/25/2012 01:13 AM, Daryl Walleck wrote: While spinning up a new devstack tonight I noticed some very odd behavior. Keystone is suddenly giving me back a 3000+ character auth token, and the ids for flavors I'm creating are extremely large ints (uuids I could see, but not this). Does anyone have any insight into if either of these changes were intentional? I believe you have run into the change that Keystone recently made that switched to using PKI by default for token authentication in the services. Adam, can you verify this is the case, and a remedy for Daryl? Thanks much! -jay -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp -- Mailing list: https://launchpad.net/~openstack-qa-team Post to : openstack-qa-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack-qa-team More help : https://help.launchpad.net/ListHelp