Friday, 2016-07-01

*** trozet has quit IRC00:03
sridhar_ramQiming: ping00:18
*** uck has quit IRC00:19
*** zeih has joined #tacker00:21
*** zeih has quit IRC00:26
*** trozet has joined #tacker00:29
openstackgerritSridhar Ramaswamy proposed openstack/tacker: Add python-tackerclient to requirements.txt  https://review.openstack.org/33630500:29
*** dkushwaha_ has joined #tacker00:33
*** lamt has quit IRC00:41
*** amotoki has joined #tacker00:54
*** trozet has quit IRC00:55
*** apsarshaik has joined #tacker01:00
*** aasmith has quit IRC01:08
*** vishnoianil has quit IRC01:10
*** uck has joined #tacker01:19
*** zeih has joined #tacker01:22
*** uck has quit IRC01:24
openstackgerritSripriya Seetharam proposed openstack/tacker: Fix foreign key and primary key integrity errors  https://review.openstack.org/33632701:25
*** zeih has quit IRC01:26
openstackgerritSripriya Seetharam proposed openstack/tacker: Fix foreign key and primary key errors in db scripts  https://review.openstack.org/33632701:28
*** sripriya has quit IRC01:29
*** s3wong has quit IRC01:36
*** prashantD has quit IRC01:47
*** apsarshaik has quit IRC02:08
*** vishnoianil has joined #tacker02:10
*** apsarshaik has joined #tacker02:14
*** apsarshaik has quit IRC02:18
*** zeih has joined #tacker02:23
*** apsarshaik has joined #tacker02:24
*** zeih has quit IRC02:27
*** apsarshaik has quit IRC02:43
*** diga has quit IRC02:46
*** apsarshaik has joined #tacker02:49
*** apsarshaik has quit IRC02:54
*** apsarshaik has joined #tacker03:06
*** KanagarajM has joined #tacker03:12
*** manikanta_tadi has joined #tacker03:22
*** zeih has joined #tacker03:23
*** links has joined #tacker03:26
*** zeih has quit IRC03:28
*** Qiming has quit IRC03:28
*** Qiming has joined #tacker03:32
*** Liuqing has joined #tacker03:39
*** apsarshaik has quit IRC03:45
*** diga has joined #tacker03:46
*** manikanta_tadi has quit IRC03:53
*** apsarshaik has joined #tacker03:54
*** tbh has joined #tacker04:05
*** anshukch has joined #tacker04:06
*** anshukch has quit IRC04:06
*** zeih has joined #tacker04:24
openstackgerritKanagaraj Manickam proposed openstack/tacker: TOSCA definitions and sample template for scaling support  https://review.openstack.org/32952804:25
openstackgerritKanagaraj Manickam proposed openstack/tacker: Refactor heat driver create() handler  https://review.openstack.org/33066404:25
openstackgerritKanagaraj Manickam proposed openstack/tacker: Correct the reference and actual parameters in assertEqual  https://review.openstack.org/33066504:25
openstackgerritKanagaraj Manickam proposed openstack/tacker: Heat driver update for scaling support  https://review.openstack.org/33066604:25
openstackgerritKanagaraj Manickam proposed openstack/tacker: Scaling policy API  https://review.openstack.org/33066704:25
openstackgerritKanagaraj Manickam proposed openstack/tacker: Heat driver config description updates  https://review.openstack.org/32952704:25
*** zeih has quit IRC04:29
*** KanagarajM has quit IRC04:32
*** neel has joined #tacker04:41
*** zeih has joined #tacker05:25
*** zeih has quit IRC05:30
*** Liuqing has quit IRC05:38
*** Liuqing has joined #tacker05:40
*** apsarshaik has quit IRC05:42
*** apsarshaik has joined #tacker05:52
*** apsarshaik has quit IRC05:56
*** Ravikiran_K has joined #tacker05:59
*** janki has joined #tacker06:13
*** santoshk has joined #tacker06:17
*** apsarshaik has joined #tacker06:18
*** dkushwaha_ has quit IRC06:22
*** dkushwaha_ has joined #tacker06:23
*** apsarshaik has quit IRC06:23
*** zeih has joined #tacker06:25
*** zeih has quit IRC06:30
*** apsarshaik has joined #tacker06:30
*** apsarshaik has quit IRC06:36
*** zeih has joined #tacker06:36
*** saju_m has quit IRC06:43
*** ksantoshk has joined #tacker06:58
*** apsarshaik has joined #tacker06:59
*** santoshk has quit IRC07:01
*** apsarshaik has quit IRC07:04
*** apsarshaik has joined #tacker07:04
*** ksantoshk has quit IRC07:10
*** saju_m has joined #tacker07:11
*** apsarshaik has quit IRC07:16
*** saju_m has quit IRC07:32
*** openstackgerrit has quit IRC07:33
*** openstackgerrit has joined #tacker07:34
*** apsarshaik has joined #tacker07:34
*** KanagarajM has joined #tacker07:39
*** saju_m has joined #tacker08:08
*** openstackgerrit has quit IRC08:18
*** openstackgerrit has joined #tacker08:19
*** neel has quit IRC08:31
*** apsarshaik has quit IRC08:50
*** neel has joined #tacker09:00
*** blinky_ghost has joined #tacker09:36
*** neel has quit IRC09:38
*** neel has joined #tacker09:42
*** KanagarajM has quit IRC09:52
*** neel has left #tacker10:00
*** neel has joined #tacker10:00
openstackgerritNeeldhwaj Pathak proposed openstack/python-tackerclient: Reducing number of columns in vim/vnfd/vnf-list  https://review.openstack.org/33645910:03
*** amotoki has quit IRC10:28
*** Ravikiran_K has quit IRC10:34
*** KanagarajM has joined #tacker10:49
*** amotoki has joined #tacker10:59
*** amotoki has quit IRC11:04
*** amotoki has joined #tacker11:25
blinky_ghosthi all, I'm trying to learn how to compose tosca templates for tacker. Can anybody explain me how do I create a 2-tier application? For example, first I create a VDU db server, then I create a VDU web server that connects to db server. Maybe with a connection point? Thanks11:25
*** Liuqing has quit IRC11:26
*** amotoki has quit IRC11:33
*** KanagarajM has quit IRC11:55
*** apsarshaik has joined #tacker11:58
*** derekjhyang has quit IRC12:11
*** diga has quit IRC12:18
*** amotoki has joined #tacker12:18
*** saju_m has quit IRC12:24
*** amotoki has quit IRC12:27
*** vijayendra has joined #tacker12:35
*** priya has joined #tacker12:43
*** Ravikiran_K has joined #tacker13:04
*** tbh has quit IRC13:13
*** neel has quit IRC13:13
*** janki has quit IRC13:20
*** amotoki has joined #tacker13:21
*** tbh has joined #tacker13:25
*** neel has joined #tacker13:26
*** bobh has joined #tacker13:27
*** bobh has quit IRC13:33
*** apsarshaik has quit IRC13:34
*** apsarshaik has joined #tacker13:35
*** tbh has quit IRC13:35
*** Liuqing has joined #tacker13:36
*** neel has quit IRC13:45
*** vishwanathj has joined #tacker13:54
*** apsarshaik has quit IRC13:59
*** Liuqing has quit IRC14:02
*** Liuqing has joined #tacker14:06
*** links has quit IRC14:25
*** links has joined #tacker14:27
*** trozet has joined #tacker14:37
*** apsarshaik has joined #tacker14:42
*** apsarshaik has quit IRC14:51
*** vijayendra has quit IRC14:59
*** links has quit IRC15:02
*** apsarshaik has joined #tacker15:08
*** apsarshaik has quit IRC15:17
*** apsarshaik has joined #tacker15:17
*** bobh has joined #tacker15:19
*** amotoki has quit IRC15:23
*** bobh has quit IRC15:33
*** apsarshaik has quit IRC15:37
*** apsarshaik has joined #tacker15:38
*** amotoki has joined #tacker15:47
*** apsarshaik has quit IRC15:48
*** apsarshaik has joined #tacker15:49
*** amotoki has quit IRC15:49
*** amotoki has joined #tacker15:50
*** apsarshaik has quit IRC15:57
*** apsarshaik has joined #tacker15:58
*** apsarshaik has quit IRC16:02
*** lhcheng has joined #tacker16:19
*** bobh has joined #tacker16:21
*** sripriya has joined #tacker16:25
blinky_ghosthi anybody here?16:26
*** amotoki has quit IRC16:27
*** bobh has quit IRC16:42
*** lhcheng has quit IRC16:58
*** lhcheng has joined #tacker16:59
sripriyablinky_ghost: whats up?16:59
blinky_ghosthi all, I'm trying to learn how to compose tosca templates for tacker. Can anybody explain me how do I create a 2-tier application? For example, first I create a VDU db server, then I create a VDU web server that connects to db server. Any hint how to start?17:00
*** uck has joined #tacker17:02
sripriyablinky_ghost: you can use the multivdu template to deploy this with images prebuilt. or you could use user_data in template that installs these packages on the instances17:12
blinky_ghostsripriya: hum ok, but are they installed in a specific order? VDU2 has to wait for VDU1 to complete. What you are saying is that VDU2 waits for user_data to complete on the first server, correct?17:15
sripriyablinky_ghost: no, they are not dependent on one another, each have their user_data which would install packages on individual instances17:16
blinky_ghostsripriya: but is there a way to make them dependent? I mean, for example, server2 needs the ip from the server1 to configure it's db backend, so it has to wait that server1 finishes what's it doing.17:19
blinky_ghost*is17:20
*** saju_m has joined #tacker17:21
*** sripriya has quit IRC17:26
*** sripriya has joined #tacker17:30
*** vishnoianil has quit IRC17:35
sripriyablinky_ghost: a similar question was asked earlier on launchpad. see https://answers.launchpad.net/tacker/+question/27926717:36
sripriyablinky_ghost: i’m not sure if this dependency is supported yet in tosca-parser/heat-translator. good to get suggestion from bobh on this.17:37
*** anshukch has joined #tacker17:41
blinky_ghostsripriya: thanks I'll check it out, it seems to be a good idea to use some userdata that passes variables between vdus.17:42
*** bobh has joined #tacker17:42
blinky_ghostsripriya: guess it not supported yet: "If you need the creation of VNFC2 to wait until the IP address assigned to VNFC1 is available, that functionality is not available yet in Tacker. We are hoping to gain the ability to do things like that (dependencies) when we finish implementing the tosca-parser/heat-translator changes that are due this cycle."17:44
sripriyabobh: ^^17:44
*** bobh has quit IRC17:47
blinky_ghostsripriya: gotta go, get back later, thank you for your help :)17:53
*** blinky_ghost has quit IRC17:53
*** lhcheng has quit IRC17:54
*** vishnoianil has joined #tacker17:59
*** s3wong has joined #tacker17:59
trozetsridhar_ram: ping?18:23
*** Liuqing has quit IRC18:26
*** anshukch_ has joined #tacker18:37
*** anshukch has quit IRC18:38
*** janki has joined #tacker18:42
*** bobh has joined #tacker18:43
*** bobh has quit IRC18:48
*** bobh has joined #tacker18:58
sridhar_ramtrozet: stuck in a long mtg :( will free up one an hr or so19:04
*** janki has quit IRC19:20
openstackgerritAnshu Kumar proposed openstack/tacker: Masks hashed password in VIM CRUD responses  https://review.openstack.org/33375119:26
*** janki has joined #tacker19:27
jankis3wong:  trozet: ping19:28
trozetjanki: hi19:28
jankitrozet: for a vnf, a heat stack is created19:28
jankihence heat stores all stack related data into its db19:28
jankiincluding CP UUIDs19:29
jankitrozet: can heat db directly be accessed in tacker plugin file to get these data?19:29
trozetjanki: yeah you want to invoke the openstaack VIM driver19:30
trozetjanki: from the VNFM plugin19:30
trozetjanki: and that will use heat client to dump the info19:30
jankitrozet: yes, that I figured out19:30
jankidata (includes UUIDs for all heat resources created) from heat should come back to tacker19:31
jankifrom there, it could be stored in db for further use19:31
*** Ravikiran_K has quit IRC19:31
jankitrozet: I am not able to figure out to get back data from heat19:32
jankito elaborate, tacker tells heat to spawn the vnf19:34
jankiheat spawns and stores the vnf details in its db19:34
jankithis data needs to be stored in tacker db as well19:34
jankior heat db needs to be accessed everytime data is needed19:34
trozetjanki: tacker stores the id in its db19:37
trozetjanki: so you just need to pass that ID to the driver call to invoke heat19:37
jankitrozet: it stores the id of stack, vnfs, vdfs but not the id of CPs/VDUs19:37
trozetjanki: ah19:38
jankitrozet: I understand that the UUIDs of CP is what needs to be found19:38
trozetjanki: yeah that is part of it19:38
jankitrozet: heat db stores the id of CPs, VDUs and VLs19:39
trozetjanki: hmm19:39
trozetjanki: so how do we map the logical CP name from the vnfd to the CP created in heat19:39
trozetjanki: it seems like tacker vnf db should hold that mapping19:39
jankiso these ids need to be derived from heat db from tacker19:39
*** uck_ has joined #tacker19:39
jankitrozet: we can have heat return the ids as soon as the vnf is spawned and store it in tacker db along wiht its vnfd name19:40
jankiso that way, we can use get UUID of CP1 from VNFD119:40
jankiI hope this is feasible19:40
trozetjanki: yes19:40
trozetjanki: that is the correct way19:41
trozetjanki: we will need to update the Device class in vm_db.py19:41
jankitrozet: Device class is used by both vnf and vnfd, if I am correct19:41
jankiso using the same class might cause issues bacause vnfd and vnf, then, wont have same columns19:42
trozetjanki: i think that is just VNF right? DeviceTemplate is VNFD19:42
*** sripriya has quit IRC19:42
*** uck has quit IRC19:42
jankitrozet: checking19:42
trozetjanki: but what you are saying makes sense, and needs to be done before anything else19:43
trozetjanki: need to get the tacker db for VNF table to hold more info so that we can map CPs19:43
trozetsridhar_ram:^ in case you have any input on this19:43
jankitrozet: need to figure out how to make heat reply with UUIDs19:44
jankitrozet: I think the heat driver returns only the state of vnf and not the UUIDs19:45
trozetjanki: which file you looking at?19:46
jankitrozet: https://github.com/openstack/tacker/blob/2810b5e8a4b5f9f6230411270d0e39726caf5a1b/tacker/vm/infra_drivers/heat/heat.py#L41219:48
jankiI believe this line goes to heat asking to spawn vnf19:49
trozetjanki: i thought there was a new openstack VIM driver19:49
trozetjanki: rather than this heat driver19:49
jankitrozet: I am talking about this driver itself19:49
trozetyah19:50
jankineed to check the return value of above line and UUIDs are included then cool19:50
trozetjanki: maybe that is only for NFVO plugin, i see the VNFMPlugin is still using heat ok19:50
jankitrozet: as discussed in the last meeting, a new abstract driver is to be created in NFVO plugin which will give UUIDs of tacker resources as they are created19:52
jankitrozet: this is so far is my understanding19:52
trozetjanki: you see on line 32919:52
trozetjanki: vdu_id, vdu_dict19:52
trozetjanki: and line 340 if network_interfaes in vdu_dict19:53
trozetjanki: you will have to manipulate that code to figure out the IDs and return more than just the stack ID19:53
jankitrozet: I think these lines convert tacker template to HOT19:54
jankitrozet: still will check19:54
-openstackstatus- NOTICE: The infrastructure team is taking Gerrit offline for maintenance beginning shortly after 20:00 UTC to upgrade the Zuul and static.openstack.org servers. We aim to have it back online around 22:00 UTC.19:54
trozetjanki: yes it is creating HOT...but you can pass in IDs19:55
trozetjanki: or names, something to map19:55
jankitrozet: https://github.com/openstack/tacker/blob/2810b5e8a4b5f9f6230411270d0e39726caf5a1b/tacker/vm/infra_drivers/heat/heat.py#L412 paases data to heat for vnf creation19:56
jankitrozet: https://github.com/openstack/tacker/blob/2810b5e8a4b5f9f6230411270d0e39726caf5a1b/tacker/vm/infra_drivers/heat/heat.py#L413 "stack" should hold some more values19:56
jankitrozet: what do you say?19:56
trozetjanki: yes the returned dictionary needs to hold more information19:57
trozetjanki: like VDU id, and CP ids19:58
jankitrozet: will look into these and the lines you shared19:58
trozetjanki: its going to take modifying the plugin/db/ and driver for this19:58
trozetjanki: we should make sure sridhar_ram and others are OK with this19:58
jankitrozet: I want to show the heat db that holds the needed values, not able to figure out how to get a paste url19:59
* sridhar_ram is wandering back in and catching up19:59
trozetjanki: you just have to compare the template in the tacker log to what is created in the heat stack19:59
trozetsridhar_ram: i can just summarize it for you..20:00
sridhar_ramtrozet: that would help20:00
trozetsridhar_ram: the issue is the ID stored for the VNF is just the heat stack ID20:00
trozetsridhar_ram: because of that you cannot correlate pieces of a VNF to their IDs from heat resources20:01
trozetsridhar_ram: so we need a way to track components of a VNF when created, like VDU ID, CP ID20:01
trozetsridhar_ram: so the proposal is the heat driver isntead of just returning hte stack ID, it returns a bigger dicitonary with VDU ID, CP ID, etc20:01
jankitrozet: sridhar_ram: http://pastebin.com/2TaWRLXa has required data in heat db20:02
sridhar_ramokay.. got it..20:02
jankitrozet: sridhar_ram: we need same data in tacker db20:02
trozetsridhar_ram: but htat requires ground up changes - plugin, db model, and driver20:02
trozetsridhar_ram: so not sure how you feel about it...20:03
sridhar_ramhere are couple of suggestions / guidelines..20:03
sridhar_ramwe store heat stack-id in the db, which is fine.. but..20:03
sridhar_ramwe shd avoid storing any physical uuid of VM, CP, VirtualLink, etc in the tacker-db20:04
trozetsridhar_ram, janki: oh wait this paste you just linked shows CPI1 maps to an ID20:04
trozetCP120:04
trozetand it shows VDU120:04
jankitrozet: that is what I am talking about20:04
trozetnvm20:04
trozetjanki: then you have all the info you need20:04
trozetsorry sridhar_ram, i misunderstood no change required I think20:05
jankiinfo is there, but in heat db20:05
trozetjanki: yeah but you have the tacker stack ID, you can just query heat for the resources20:05
sridhar_raminstead they shd be dynamically retrieved when a get_vnf_details() call goes to heat driver20:05
jankitrozet: so everytime heat needs to be called?20:05
trozetsridhar_ram: yeah sorry I thought hte mapping was lost when the heat sub-resources for CP/VDU were created20:05
sridhar_ramjanki: here is the suggestion..20:05
trozetjanki: yeah when that query is invoked20:05
sridhar_ramjanki: spawn a tacker vnf and get the heat stack-id and do a 'heat resource-list <stack-id'20:06
sridhar_ramjanki: look at the 'physical_resource_id' columen..20:07
trozetyep20:07
trozetand the name maps to the VNFD logical name20:07
sridhar_ramand that is what we need to return in the JSON obj back20:07
sridhar_ramtrozet: yep!20:07
jankisridhar_ram: trozet: how to call heat db from tacker driver20:08
-openstackstatus- NOTICE: Gerrit is offline for maintenance until approximately 22:00 UTC20:08
*** ChanServ changes topic to "Gerrit is offline for maintenance until approximately 22:00 UTC"20:08
trozetjanki: you use hte heat client in the heat.py driver20:08
jankiI have understood the flow, need to figure out heat APIs for getting the ids20:08
sridhar_ramjanki: no need to access heat-db .. just your heat-api corresponding to resource-list call20:09
trozetjanki: then the VNFMPlugin invokes the driver20:09
sridhar_ramsorry folks, need to be afk for few mins..20:09
trozetsridhar_ram: one thing quick20:09
sridhar_ramtrozet: sure20:09
trozetsridhar_ram: i have 2 patches for vnffg in gerrit20:09
trozetsridhar_ram: about to post another20:09
trozetsridhar_ram: what do i need to do to get committer reviews?20:09
sridhar_ramtrozet: cool20:09
sridhar_ramtrozet: are they in WIP state ? does jenkins passes for them ?20:10
trozetsridhar_ram: they both passed and got a +1 from one person20:10
sridhar_ramtrozet: cool, then just use the plain old nagging :)20:10
trozetreview.openstack.org down ;)20:10
sridhar_ramtrozet: yep.. saw that20:11
trozetsridhar_ram: who else should I add to the review besides you and s3wong20:11
sridhar_ramsripriya and bobh20:11
trozetsridhar_ram: ok got it, thanks!20:11
sridhar_ramwill start reviewing early next week.. shd be a quiet week here at work20:12
sridhar_ramno meeting20:12
sridhar_ramgot go..20:12
sridhar_ramjanki: was that clear ?20:12
trozetsridhar_ram: later man20:12
trozetsridhar_ram: i'll be on PTO all next week20:12
sridhar_ramtrozet: sure20:12
jankitrozet: sridhar_ram: thanks for the suggestions20:12
trozetbut will still answer email20:12
sridhar_ramtrozet: have a good one!20:12
jankisridhar_ram: yes, it is clear20:12
trozetsridhar_ram: thanks, enjoy your 4th20:13
sridhar_ramjanki: awesome!20:13
sridhar_ramtrozet: thank u.. off to camping!20:13
trozetcool20:13
trozetlater20:13
sridhar_ramttyl20:13
jankibye20:13
jankime too signing off20:13
jankiquite late here20:14
jankitrozet: will start working on it20:14
trozetjanki: np, let me know if you have any other questions20:14
jankithanks once again20:14
*** janki has quit IRC20:14
*** anshukch_ has quit IRC20:17
*** anshukch has joined #tacker20:54
*** anshukch has quit IRC20:54
*** vishwanathj has quit IRC21:33
*** zeih has quit IRC22:05
*** uck_ has quit IRC22:07
*** bobh has quit IRC22:13
*** vishnoianil has quit IRC22:31
*** s3wong has quit IRC22:51
*** zeih has joined #tacker23:05
*** uck has joined #tacker23:08
*** zeih has quit IRC23:10
*** saju_m has quit IRC23:12
*** uck has quit IRC23:13
*** saju_m has joined #tacker23:24
*** saju_m has quit IRC23:33
*** uck has joined #tacker23:46
*** uck has quit IRC23:51
*** uck has joined #tacker23:51

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!