Friday, 2016-07-29

*** Poorna has quit IRC00:31
*** Poorna has joined #tacker00:31
openstackgerritqinchunhua proposed openstack/tacker: Replace __builtin__ with six.moves.builtins  https://review.openstack.org/34571300:32
openstackgerritqinchunhua proposed openstack/tacker: Remove execute permission on one file  https://review.openstack.org/34629600:33
ksantoshkbeemerduc, can you run command 'tacker vim-list'  and confirm VIM0 is listed there..with auth_url http://localhost:5000/v300:50
*** s3wong has quit IRC01:12
*** Liuqing has joined #tacker01:12
*** Poorna has quit IRC01:17
*** bobh has joined #tacker01:21
*** bobh has quit IRC01:23
*** prashantD__ has quit IRC01:37
*** dkushwaha has joined #tacker01:51
*** KanagarajM has joined #tacker02:08
*** Liuqing has quit IRC02:32
*** Liuqing has joined #tacker02:34
*** Liuqing has quit IRC02:37
*** Liuqing has joined #tacker02:39
*** KanagarajM has quit IRC02:59
*** KanagarajM has joined #tacker03:00
*** KanagarajM has quit IRC03:15
*** dkushwaha has quit IRC03:53
*** KanagarajM has joined #tacker04:08
*** links has joined #tacker04:12
*** links has quit IRC04:13
*** links has joined #tacker04:13
*** neel has joined #tacker04:16
*** sripriya has joined #tacker04:17
sripriyabeemerduc: are you on the latest for tacker server?04:24
*** sripriya has quit IRC04:35
*** ksantoshk has quit IRC05:15
*** janki has joined #tacker05:21
*** prashantD has joined #tacker05:27
*** amotoki has joined #tacker05:46
*** prashantD has quit IRC06:04
*** Ravikiran_K has joined #tacker06:06
*** neel has quit IRC06:12
*** neel has joined #tacker06:17
*** neel has quit IRC06:24
*** saju_m has joined #tacker06:30
openstackgerritxu-haiwei proposed openstack/python-tackerclient: Deprecate '--config' option when create/update a vim  https://review.openstack.org/32319206:32
*** neel has joined #tacker06:34
*** gongysh has joined #tacker06:42
*** neel has quit IRC06:47
*** manikanta_tadi has joined #tacker06:51
*** Srini has joined #tacker07:01
*** Srini_ has joined #tacker07:11
*** Srini has quit IRC07:12
Srini_@ksantoshk Here is what is in the config file that I am using for vim-register ==>07:12
Srini_auth_url: http://controller:5000 username: tacker password: tacker_password project_name: service07:13
Srini_Each key value pair is on a new line07:13
*** Srini has joined #tacker07:17
*** Srini_ has quit IRC07:18
Srini@ksantoshk Also tried changing auth_url: http://controller:5000 in the config file and got the same error from tacker vim-register: Unrecognized attribute(s) 'is_default'07:19
SriniSorry typo. Tried with auth url: http;//controller:5000/v307:20
*** vishwanathj has quit IRC07:21
Srini2nd typo :) Actually used auth url: http://controller:5000/v307:24
*** Srini has quit IRC07:29
*** Srini has joined #tacker07:47
SriniAlso tried tacker vim-register after replacing "controller" in the auth_url with the IP address of the controller (like http://10.10.10.10:5000/v3) and got the same Unrecognized attribute is_default. have pasted debug output from tacker server here; http://paste.openstack.org/show/543849/07:50
*** gongysh has quit IRC07:53
*** Srini has quit IRC07:54
openstackgerritManikantha Srinivas Tadi proposed openstack/python-tackerclient: Created nfvo directory for nfvo specific unit tests.  https://review.openstack.org/34593908:24
*** Srini has joined #tacker08:30
*** dkushwaha has joined #tacker08:48
*** gongysh has joined #tacker08:50
*** Srini has quit IRC08:54
*** amotoki has quit IRC08:56
*** amotoki has joined #tacker09:00
*** mbound has joined #tacker09:17
*** KanagarajM has quit IRC09:33
openstackgerritxu-haiwei proposed openstack/python-tackerclient: Add client support for vnffgd  https://review.openstack.org/34138910:02
*** Liuqing has quit IRC10:03
*** Qiming has quit IRC10:08
jankihaiwei: There is a patch doing the same https://review.openstack.org/#/c/348003/3. Please check for duplicacy.10:11
*** diga has joined #tacker10:12
*** Qiming has joined #tacker10:13
*** gongysh has quit IRC10:18
*** dkushwaha has quit IRC10:23
*** Qiming has quit IRC10:25
*** Qiming has joined #tacker10:27
*** mbound has quit IRC10:31
*** Srini has joined #tacker10:32
*** Srini has quit IRC10:36
*** Qiming has quit IRC10:46
*** Qiming has joined #tacker10:52
*** Qiming has quit IRC10:57
*** tbh has joined #tacker11:01
*** Qiming has joined #tacker11:01
*** neel has joined #tacker11:03
*** saju_m has quit IRC11:11
*** lamt_ has quit IRC11:31
*** mbound has joined #tacker11:32
*** mbound has quit IRC11:36
*** diga has quit IRC11:37
*** neel has quit IRC11:38
*** prashantD has joined #tacker12:01
*** prashantD has quit IRC12:05
*** Liuqing has joined #tacker12:20
*** dr3662 has joined #tacker12:29
dr3662Hello,12:31
dr3662I am going through this http://lists.openstack.org/pipermail/openstack-dev/2016-May/094401.html12:31
dr3662can someone explain me how murano will help tacker?12:32
*** lulei has quit IRC12:46
openstackgerritManikantha Srinivas Tadi proposed openstack/tacker: Remove the service id from vnfd-create command output  https://review.openstack.org/34887412:56
*** KanagarajM has joined #tacker13:02
*** manikanta_tadi has quit IRC13:04
*** links has quit IRC13:07
*** janki has quit IRC13:35
*** mbound has joined #tacker13:36
*** Ravikiran_K has quit IRC13:56
trozetsridhar_ram: ping?13:56
*** lamt_ has joined #tacker13:57
*** amotoki has quit IRC13:58
*** dr3662 has quit IRC13:58
*** Poorna has joined #tacker14:09
*** shaikapsar has joined #tacker14:30
*** shaikapsar is now known as shaik_apsar14:31
*** shaik_apsar is now known as ShaikApsar14:33
*** ShaikApsar has quit IRC14:37
sridhar_ramtrozet: pong14:42
*** ShaikApsar has joined #tacker14:42
trozetsridhar_ram: so I have tacker with my changes setup in an tripleO deployment to test/debug14:42
trozetsridhar_ram: first issue im hitting now is that I don't have an alembic migration, so my DB tables are not there14:42
trozetsridhar_ram: iirc in the old tacker it would automatically create missing tables for me14:42
trozetsridhar_ram: from that I could generate a new alembic revision14:43
trozetsridhar_ram: but it seems like in master tacker it is not creating the db tables for me upon service startup, any pointers here on how to automatically generate?  I really don't want to go manually create the tables myself if possible14:43
sridhar_ramtrozet: I remember, we ended up creating missing tables to take care of that issue..14:44
sridhar_ramtrozet: are you running tacker-db-manage command before you start the tacker service ?14:44
trozetsridhar_ram: yeah i ran the puppet module, which will configure the DB, all of the other tables are there14:45
trozetsridhar_ram: just not the ones I added for VNFFG, which I expect, because i have no alembic migration14:45
sridhar_ramtrozet: understood, hmm...14:46
trozetsridhar_ram: so did something change where the tables do not get automatically created anymore?14:46
sridhar_ramtrozet: I remember it was a artifact of sqlalchemy in the tacker-service that created those missing tables14:47
sridhar_ramtrozet: I don't remember there was anything explicitly disabled to block that behavior14:47
sridhar_ramtrozet: btw, RHEL systems are puling a slightly different version of MariaDB ..14:49
trozetsridhar_ram: ok I see the nfvo plugin loads in the tacker log without error14:49
trozetsridhar_ram: so I don't think there is any problem with the code14:49
ShaikApsarsridhar_ram: Hi , Please review my change https://review.openstack.org/#/c/341164/14:50
sridhar_ramtrozet: my memory is not serving me well, need to go back to check my notes..14:50
trozetsridhar_ram: also the README for the alembic migration seems out of date, the command used to generate the template doesn't seem correct14:50
sridhar_ramtrozet: this file ? https://github.com/openstack/tacker/blob/master/tacker/db/migration/README14:51
trozetsridhar_ram: yah14:51
trozetsridhar_ram: line 69, tacker-db-manage seems to complain about that14:52
sridhar_ramShaikApsar: will do, planning to give a quick spin in my testbed before +2. Just installed Mistral. Is there a small cheatsheet of mistral CLI commands you use to create say a VNFD ?14:52
ShaikApsarsridhar_ram: You can use mistral UI and let get the command to use mistral from cli14:54
sridhar_ramtrozet: try this "/usr/local/bin/tacker-db-manage --config-file /etc/tacker/tacker.conf upgrade head"14:54
sridhar_ramtrozet: as documented in the http://docs.openstack.org/developer/tacker/install/manual_installation.html14:54
trozetsridhar_ram: that works14:54
sridhar_ramShaikApsar: thanks!14:54
trozetsridhar_ram: for creating the tables, I think im going to try to just manually do it in python by using create_engine in sqlaclhemy14:55
trozetsridhar_ram: do you know the correct tacker-db-manage cmd to create an incremental albembic revision?  Like i said line 69 seems to complain about -m14:55
ShaikApsarsridhar_ram: I have one more change https://review.openstack.org/#/c/348480/ for password mask in the tacker log. Please also review it14:56
sridhar_ramtrozet: okay, btw... eventually u do need to write alembic migration scripts, your plan is to get the db right first and then write that in one shot?14:56
trozetsridhar_ram: the alembic migration script will generate automatically, I just need to have the table right first14:57
trozetafaik14:57
sridhar_ramtrozet: oh, yes..14:57
sridhar_ramtrozet: gongysh or KanagarajM is our resident db experts14:58
sridhar_ramKanagarajM: do you happen to know how to do incrementatl alembic revisions ?14:58
sridhar_ramtrozet: have u tried https://github.com/openstack/tacker/blob/master/tacker/db/migration/README#L49 ?14:59
trozetsridhar_ram: yeah thats to upgrade, I need to generate a new revision14:59
sridhar_ramShaikApsar: that was a good catch (on password in logs).14:59
sridhar_ramtrozet: only for specific revisions ? not from head --to--> latest ?15:00
trozetsridhar_ram: yeah15:01
sridhar_ramtrozet: hmm, not sure :(15:01
KanagarajMsridhar_ram, trozet  you could make use of tacker-db-manage which is wrapper on top of alembic.15:02
KanagarajMmanickan@mrkanag-os:/opt/stack/tacker$ tacker-db-manage revision -m "revision message"15:02
KanagarajM  Generating /opt/stack/tacker/tacker/db/migration/alembic_migrations/versions/50b871d580bc_revision_message.py ... done15:02
KanagarajMtrozet, and kindly don't add stuff for downgrade, as we need not support.15:03
trozetKanagarajM: the issue is before I create any alembic revision, I need the tables in mysql15:04
trozetKanagarajM: right?15:04
KanagarajMtrozet, yeah, use "upgrade HEAD"15:04
trozetKanagarajM: right so I have all of the current tables there that tacker supports15:05
trozetKanagarajM: I've added 2 new tables in my my db code for vnffg15:05
trozetKanagarajM: those tables are not currently present in mysql, even after tacker service startup15:05
trozetKanagarajM: so I need to get those tables into mysql, and I don't want to manually create them15:05
trozetKanagarajM: tacker service used to add them automatically if they were missing, but defined in the db code15:06
trozetKanagarajM: so now I'm trying to use sqlaclhemy to add them for me15:06
KanagarajMafter you trozet, i believe 'revision' commmand mentioned above should help15:06
*** kikas has joined #tacker15:06
trozetKanagarajM: you mean after i get the tables created?15:06
KanagarajMit would auto generate by looking at the current state of db and your updated model15:07
trozetKanagarajM: ah ok let me try it15:07
KanagarajMtrozet, but usually i prefer to fill the upgrade() part manually as its clean and neat and if you would have used any custom type, then auto-genration does not capture it.15:08
KanagarajMtrozet, sure. I will be back soon.15:08
trozetKanagarajM: i tried revision, it did create a new migration script, but it is empty and just says pass for upgrade15:08
KanagarajMbecause you have mentioned that you created the table already in db, if i am not wrong15:09
*** saju_m has joined #tacker15:10
trozetKanagarajM: https://paste.fedoraproject.org/397327/15:11
trozetKanagarajM: my tables are not there, create on alembic fails15:11
*** KanagarajM has quit IRC15:15
*** janki has joined #tacker15:25
ShaikApsarsridhar_ram: I have prepared list of commands for the workflow creations.15:27
ShaikApsarsridhar_ram: http://paste.openstack.org/show/543918/ have the all the cli commands for testing the patch15:29
*** Liuqing has quit IRC15:33
*** vishwanathj has joined #tacker15:57
*** vishnoianil has joined #tacker16:03
*** Liuqing has joined #tacker16:21
*** kikas has quit IRC16:23
*** tbh has quit IRC16:24
*** Poorna has quit IRC16:37
*** beemerduc has quit IRC16:38
*** Poorna has joined #tacker16:38
*** Liuqing has quit IRC16:44
*** Liuqing has joined #tacker16:47
*** tbh has joined #tacker16:52
*** Liuqing has quit IRC16:54
*** Liuqing has joined #tacker16:56
*** janki_ has joined #tacker17:09
*** janki has quit IRC17:10
*** janki_ is now known as janki17:10
*** ShaikApsar has quit IRC17:13
*** sripriya has joined #tacker17:25
*** vishnoianil has quit IRC17:35
*** Liuqing has quit IRC17:36
*** janki has quit IRC17:40
sripriyatrozet: did you add your db class to head module as an import in https://github.com/openstack/tacker/blob/master/tacker/db/migration/models/head.py#L2817:40
sripriyatrozet: i suspect that is why it is not being picked up by alembic17:41
sripriyabasically you need a line—> from tacker.db.nfvo.db_base import vnffg_db for alembic to pick up the new module17:42
sripriyatrozet: ^17:42
*** janki has joined #tacker17:47
*** links has joined #tacker17:53
*** s3wong has joined #tacker17:54
*** sripriya has quit IRC18:10
*** tbh has quit IRC18:15
*** vishnoianil has joined #tacker18:44
*** santoshk has joined #tacker18:49
*** sripriya has joined #tacker19:00
openstackgerritSripriya Seetharam proposed openstack/python-tackerclient: Add domain information into auth cred.  https://review.openstack.org/34903319:07
*** janki has quit IRC19:14
*** links has quit IRC19:20
*** neel has joined #tacker19:22
*** bobh has joined #tacker19:54
trozetsripriya: thanks for the pointer, I updated that file, but hte db still didnt get created19:59
trozetsripriya: by manually using sqlaclhemy engine i could create a few of the tables19:59
trozetsripriya: looks like the others have errors that I don't quite understand19:59
openstackgerritSripriya Seetharam proposed openstack/tacker: Add domain name info into auth for keystone v3  https://review.openstack.org/34344620:16
openstackgerritSripriya Seetharam proposed openstack/tacker-horizon: Add domain name field for VIM register  https://review.openstack.org/34906520:24
trozetsridhar_ram: do you have a minute to help debug my error?20:25
sridhar_ramtrozet: under the gun for next few hrs, sorry :(   .. pls leave a paste / error log and will get back20:26
trozetsridhar_ram: ok20:26
*** bobh has quit IRC20:34
*** bobh has joined #tacker20:40
*** Poorna has quit IRC21:08
*** sripriya has quit IRC21:26
*** bobh has quit IRC21:28
*** sripriya has joined #tacker21:33
*** neel has quit IRC21:36
*** sripriya has quit IRC21:45
trozetsridhar_ram: it looks like the generated alembic migration isn't right: https://paste.fedoraproject.org/397487/21:53
*** sripriya has joined #tacker21:58
*** saju_m has quit IRC22:54
*** vishnoianil has quit IRC23:16
*** santoshk has quit IRC23:25
openstackgerritMerged openstack/python-tackerclient: Updated from global requirements  https://review.openstack.org/34868423:48
*** vishwanathj has quit IRC23:52
*** sripriya has quit IRC23:57

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