*** Poorna has quit IRC | 00:31 | |
*** Poorna has joined #tacker | 00:31 | |
openstackgerrit | qinchunhua proposed openstack/tacker: Replace __builtin__ with six.moves.builtins https://review.openstack.org/345713 | 00:32 |
---|---|---|
openstackgerrit | qinchunhua proposed openstack/tacker: Remove execute permission on one file https://review.openstack.org/346296 | 00:33 |
ksantoshk | beemerduc, can you run command 'tacker vim-list' and confirm VIM0 is listed there..with auth_url http://localhost:5000/v3 | 00:50 |
*** s3wong has quit IRC | 01:12 | |
*** Liuqing has joined #tacker | 01:12 | |
*** Poorna has quit IRC | 01:17 | |
*** bobh has joined #tacker | 01:21 | |
*** bobh has quit IRC | 01:23 | |
*** prashantD__ has quit IRC | 01:37 | |
*** dkushwaha has joined #tacker | 01:51 | |
*** KanagarajM has joined #tacker | 02:08 | |
*** Liuqing has quit IRC | 02:32 | |
*** Liuqing has joined #tacker | 02:34 | |
*** Liuqing has quit IRC | 02:37 | |
*** Liuqing has joined #tacker | 02:39 | |
*** KanagarajM has quit IRC | 02:59 | |
*** KanagarajM has joined #tacker | 03:00 | |
*** KanagarajM has quit IRC | 03:15 | |
*** dkushwaha has quit IRC | 03:53 | |
*** KanagarajM has joined #tacker | 04:08 | |
*** links has joined #tacker | 04:12 | |
*** links has quit IRC | 04:13 | |
*** links has joined #tacker | 04:13 | |
*** neel has joined #tacker | 04:16 | |
*** sripriya has joined #tacker | 04:17 | |
sripriya | beemerduc: are you on the latest for tacker server? | 04:24 |
*** sripriya has quit IRC | 04:35 | |
*** ksantoshk has quit IRC | 05:15 | |
*** janki has joined #tacker | 05:21 | |
*** prashantD has joined #tacker | 05:27 | |
*** amotoki has joined #tacker | 05:46 | |
*** prashantD has quit IRC | 06:04 | |
*** Ravikiran_K has joined #tacker | 06:06 | |
*** neel has quit IRC | 06:12 | |
*** neel has joined #tacker | 06:17 | |
*** neel has quit IRC | 06:24 | |
*** saju_m has joined #tacker | 06:30 | |
openstackgerrit | xu-haiwei proposed openstack/python-tackerclient: Deprecate '--config' option when create/update a vim https://review.openstack.org/323192 | 06:32 |
*** neel has joined #tacker | 06:34 | |
*** gongysh has joined #tacker | 06:42 | |
*** neel has quit IRC | 06:47 | |
*** manikanta_tadi has joined #tacker | 06:51 | |
*** Srini has joined #tacker | 07:01 | |
*** Srini_ has joined #tacker | 07:11 | |
*** Srini has quit IRC | 07: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: service | 07:13 |
Srini_ | Each key value pair is on a new line | 07:13 |
*** Srini has joined #tacker | 07:17 | |
*** Srini_ has quit IRC | 07: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 |
Srini | Sorry typo. Tried with auth url: http;//controller:5000/v3 | 07:20 |
*** vishwanathj has quit IRC | 07:21 | |
Srini | 2nd typo :) Actually used auth url: http://controller:5000/v3 | 07:24 |
*** Srini has quit IRC | 07:29 | |
*** Srini has joined #tacker | 07:47 | |
Srini | Also 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 IRC | 07:53 | |
*** Srini has quit IRC | 07:54 | |
openstackgerrit | Manikantha Srinivas Tadi proposed openstack/python-tackerclient: Created nfvo directory for nfvo specific unit tests. https://review.openstack.org/345939 | 08:24 |
*** Srini has joined #tacker | 08:30 | |
*** dkushwaha has joined #tacker | 08:48 | |
*** gongysh has joined #tacker | 08:50 | |
*** Srini has quit IRC | 08:54 | |
*** amotoki has quit IRC | 08:56 | |
*** amotoki has joined #tacker | 09:00 | |
*** mbound has joined #tacker | 09:17 | |
*** KanagarajM has quit IRC | 09:33 | |
openstackgerrit | xu-haiwei proposed openstack/python-tackerclient: Add client support for vnffgd https://review.openstack.org/341389 | 10:02 |
*** Liuqing has quit IRC | 10:03 | |
*** Qiming has quit IRC | 10:08 | |
janki | haiwei: There is a patch doing the same https://review.openstack.org/#/c/348003/3. Please check for duplicacy. | 10:11 |
*** diga has joined #tacker | 10:12 | |
*** Qiming has joined #tacker | 10:13 | |
*** gongysh has quit IRC | 10:18 | |
*** dkushwaha has quit IRC | 10:23 | |
*** Qiming has quit IRC | 10:25 | |
*** Qiming has joined #tacker | 10:27 | |
*** mbound has quit IRC | 10:31 | |
*** Srini has joined #tacker | 10:32 | |
*** Srini has quit IRC | 10:36 | |
*** Qiming has quit IRC | 10:46 | |
*** Qiming has joined #tacker | 10:52 | |
*** Qiming has quit IRC | 10:57 | |
*** tbh has joined #tacker | 11:01 | |
*** Qiming has joined #tacker | 11:01 | |
*** neel has joined #tacker | 11:03 | |
*** saju_m has quit IRC | 11:11 | |
*** lamt_ has quit IRC | 11:31 | |
*** mbound has joined #tacker | 11:32 | |
*** mbound has quit IRC | 11:36 | |
*** diga has quit IRC | 11:37 | |
*** neel has quit IRC | 11:38 | |
*** prashantD has joined #tacker | 12:01 | |
*** prashantD has quit IRC | 12:05 | |
*** Liuqing has joined #tacker | 12:20 | |
*** dr3662 has joined #tacker | 12:29 | |
dr3662 | Hello, | 12:31 |
dr3662 | I am going through this http://lists.openstack.org/pipermail/openstack-dev/2016-May/094401.html | 12:31 |
dr3662 | can someone explain me how murano will help tacker? | 12:32 |
*** lulei has quit IRC | 12:46 | |
openstackgerrit | Manikantha Srinivas Tadi proposed openstack/tacker: Remove the service id from vnfd-create command output https://review.openstack.org/348874 | 12:56 |
*** KanagarajM has joined #tacker | 13:02 | |
*** manikanta_tadi has quit IRC | 13:04 | |
*** links has quit IRC | 13:07 | |
*** janki has quit IRC | 13:35 | |
*** mbound has joined #tacker | 13:36 | |
*** Ravikiran_K has quit IRC | 13:56 | |
trozet | sridhar_ram: ping? | 13:56 |
*** lamt_ has joined #tacker | 13:57 | |
*** amotoki has quit IRC | 13:58 | |
*** dr3662 has quit IRC | 13:58 | |
*** Poorna has joined #tacker | 14:09 | |
*** shaikapsar has joined #tacker | 14:30 | |
*** shaikapsar is now known as shaik_apsar | 14:31 | |
*** shaik_apsar is now known as ShaikApsar | 14:33 | |
*** ShaikApsar has quit IRC | 14:37 | |
sridhar_ram | trozet: pong | 14:42 |
*** ShaikApsar has joined #tacker | 14:42 | |
trozet | sridhar_ram: so I have tacker with my changes setup in an tripleO deployment to test/debug | 14:42 |
trozet | sridhar_ram: first issue im hitting now is that I don't have an alembic migration, so my DB tables are not there | 14:42 |
trozet | sridhar_ram: iirc in the old tacker it would automatically create missing tables for me | 14:42 |
trozet | sridhar_ram: from that I could generate a new alembic revision | 14:43 |
trozet | sridhar_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 possible | 14:43 |
sridhar_ram | trozet: I remember, we ended up creating missing tables to take care of that issue.. | 14:44 |
sridhar_ram | trozet: are you running tacker-db-manage command before you start the tacker service ? | 14:44 |
trozet | sridhar_ram: yeah i ran the puppet module, which will configure the DB, all of the other tables are there | 14:45 |
trozet | sridhar_ram: just not the ones I added for VNFFG, which I expect, because i have no alembic migration | 14:45 |
sridhar_ram | trozet: understood, hmm... | 14:46 |
trozet | sridhar_ram: so did something change where the tables do not get automatically created anymore? | 14:46 |
sridhar_ram | trozet: I remember it was a artifact of sqlalchemy in the tacker-service that created those missing tables | 14:47 |
sridhar_ram | trozet: I don't remember there was anything explicitly disabled to block that behavior | 14:47 |
sridhar_ram | trozet: btw, RHEL systems are puling a slightly different version of MariaDB .. | 14:49 |
trozet | sridhar_ram: ok I see the nfvo plugin loads in the tacker log without error | 14:49 |
trozet | sridhar_ram: so I don't think there is any problem with the code | 14:49 |
ShaikApsar | sridhar_ram: Hi , Please review my change https://review.openstack.org/#/c/341164/ | 14:50 |
sridhar_ram | trozet: my memory is not serving me well, need to go back to check my notes.. | 14:50 |
trozet | sridhar_ram: also the README for the alembic migration seems out of date, the command used to generate the template doesn't seem correct | 14:50 |
sridhar_ram | trozet: this file ? https://github.com/openstack/tacker/blob/master/tacker/db/migration/README | 14:51 |
trozet | sridhar_ram: yah | 14:51 |
trozet | sridhar_ram: line 69, tacker-db-manage seems to complain about that | 14:52 |
sridhar_ram | ShaikApsar: 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 |
ShaikApsar | sridhar_ram: You can use mistral UI and let get the command to use mistral from cli | 14:54 |
sridhar_ram | trozet: try this "/usr/local/bin/tacker-db-manage --config-file /etc/tacker/tacker.conf upgrade head" | 14:54 |
sridhar_ram | trozet: as documented in the http://docs.openstack.org/developer/tacker/install/manual_installation.html | 14:54 |
trozet | sridhar_ram: that works | 14:54 |
sridhar_ram | ShaikApsar: thanks! | 14:54 |
trozet | sridhar_ram: for creating the tables, I think im going to try to just manually do it in python by using create_engine in sqlaclhemy | 14:55 |
trozet | sridhar_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 -m | 14:55 |
ShaikApsar | sridhar_ram: I have one more change https://review.openstack.org/#/c/348480/ for password mask in the tacker log. Please also review it | 14:56 |
sridhar_ram | trozet: 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 |
trozet | sridhar_ram: the alembic migration script will generate automatically, I just need to have the table right first | 14:57 |
trozet | afaik | 14:57 |
sridhar_ram | trozet: oh, yes.. | 14:57 |
sridhar_ram | trozet: gongysh or KanagarajM is our resident db experts | 14:58 |
sridhar_ram | KanagarajM: do you happen to know how to do incrementatl alembic revisions ? | 14:58 |
sridhar_ram | trozet: have u tried https://github.com/openstack/tacker/blob/master/tacker/db/migration/README#L49 ? | 14:59 |
trozet | sridhar_ram: yeah thats to upgrade, I need to generate a new revision | 14:59 |
sridhar_ram | ShaikApsar: that was a good catch (on password in logs). | 14:59 |
sridhar_ram | trozet: only for specific revisions ? not from head --to--> latest ? | 15:00 |
trozet | sridhar_ram: yeah | 15:01 |
sridhar_ram | trozet: hmm, not sure :( | 15:01 |
KanagarajM | sridhar_ram, trozet you could make use of tacker-db-manage which is wrapper on top of alembic. | 15:02 |
KanagarajM | manickan@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 ... done | 15:02 |
KanagarajM | trozet, and kindly don't add stuff for downgrade, as we need not support. | 15:03 |
trozet | KanagarajM: the issue is before I create any alembic revision, I need the tables in mysql | 15:04 |
trozet | KanagarajM: right? | 15:04 |
KanagarajM | trozet, yeah, use "upgrade HEAD" | 15:04 |
trozet | KanagarajM: right so I have all of the current tables there that tacker supports | 15:05 |
trozet | KanagarajM: I've added 2 new tables in my my db code for vnffg | 15:05 |
trozet | KanagarajM: those tables are not currently present in mysql, even after tacker service startup | 15:05 |
trozet | KanagarajM: so I need to get those tables into mysql, and I don't want to manually create them | 15:05 |
trozet | KanagarajM: tacker service used to add them automatically if they were missing, but defined in the db code | 15:06 |
trozet | KanagarajM: so now I'm trying to use sqlaclhemy to add them for me | 15:06 |
KanagarajM | after you trozet, i believe 'revision' commmand mentioned above should help | 15:06 |
*** kikas has joined #tacker | 15:06 | |
trozet | KanagarajM: you mean after i get the tables created? | 15:06 |
KanagarajM | it would auto generate by looking at the current state of db and your updated model | 15:07 |
trozet | KanagarajM: ah ok let me try it | 15:07 |
KanagarajM | trozet, 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 |
KanagarajM | trozet, sure. I will be back soon. | 15:08 |
trozet | KanagarajM: i tried revision, it did create a new migration script, but it is empty and just says pass for upgrade | 15:08 |
KanagarajM | because you have mentioned that you created the table already in db, if i am not wrong | 15:09 |
*** saju_m has joined #tacker | 15:10 | |
trozet | KanagarajM: https://paste.fedoraproject.org/397327/ | 15:11 |
trozet | KanagarajM: my tables are not there, create on alembic fails | 15:11 |
*** KanagarajM has quit IRC | 15:15 | |
*** janki has joined #tacker | 15:25 | |
ShaikApsar | sridhar_ram: I have prepared list of commands for the workflow creations. | 15:27 |
ShaikApsar | sridhar_ram: http://paste.openstack.org/show/543918/ have the all the cli commands for testing the patch | 15:29 |
*** Liuqing has quit IRC | 15:33 | |
*** vishwanathj has joined #tacker | 15:57 | |
*** vishnoianil has joined #tacker | 16:03 | |
*** Liuqing has joined #tacker | 16:21 | |
*** kikas has quit IRC | 16:23 | |
*** tbh has quit IRC | 16:24 | |
*** Poorna has quit IRC | 16:37 | |
*** beemerduc has quit IRC | 16:38 | |
*** Poorna has joined #tacker | 16:38 | |
*** Liuqing has quit IRC | 16:44 | |
*** Liuqing has joined #tacker | 16:47 | |
*** tbh has joined #tacker | 16:52 | |
*** Liuqing has quit IRC | 16:54 | |
*** Liuqing has joined #tacker | 16:56 | |
*** janki_ has joined #tacker | 17:09 | |
*** janki has quit IRC | 17:10 | |
*** janki_ is now known as janki | 17:10 | |
*** ShaikApsar has quit IRC | 17:13 | |
*** sripriya has joined #tacker | 17:25 | |
*** vishnoianil has quit IRC | 17:35 | |
*** Liuqing has quit IRC | 17:36 | |
*** janki has quit IRC | 17:40 | |
sripriya | trozet: 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#L28 | 17:40 |
sripriya | trozet: i suspect that is why it is not being picked up by alembic | 17:41 |
sripriya | basically you need a line—> from tacker.db.nfvo.db_base import vnffg_db for alembic to pick up the new module | 17:42 |
sripriya | trozet: ^ | 17:42 |
*** janki has joined #tacker | 17:47 | |
*** links has joined #tacker | 17:53 | |
*** s3wong has joined #tacker | 17:54 | |
*** sripriya has quit IRC | 18:10 | |
*** tbh has quit IRC | 18:15 | |
*** vishnoianil has joined #tacker | 18:44 | |
*** santoshk has joined #tacker | 18:49 | |
*** sripriya has joined #tacker | 19:00 | |
openstackgerrit | Sripriya Seetharam proposed openstack/python-tackerclient: Add domain information into auth cred. https://review.openstack.org/349033 | 19:07 |
*** janki has quit IRC | 19:14 | |
*** links has quit IRC | 19:20 | |
*** neel has joined #tacker | 19:22 | |
*** bobh has joined #tacker | 19:54 | |
trozet | sripriya: thanks for the pointer, I updated that file, but hte db still didnt get created | 19:59 |
trozet | sripriya: by manually using sqlaclhemy engine i could create a few of the tables | 19:59 |
trozet | sripriya: looks like the others have errors that I don't quite understand | 19:59 |
openstackgerrit | Sripriya Seetharam proposed openstack/tacker: Add domain name info into auth for keystone v3 https://review.openstack.org/343446 | 20:16 |
openstackgerrit | Sripriya Seetharam proposed openstack/tacker-horizon: Add domain name field for VIM register https://review.openstack.org/349065 | 20:24 |
trozet | sridhar_ram: do you have a minute to help debug my error? | 20:25 |
sridhar_ram | trozet: under the gun for next few hrs, sorry :( .. pls leave a paste / error log and will get back | 20:26 |
trozet | sridhar_ram: ok | 20:26 |
*** bobh has quit IRC | 20:34 | |
*** bobh has joined #tacker | 20:40 | |
*** Poorna has quit IRC | 21:08 | |
*** sripriya has quit IRC | 21:26 | |
*** bobh has quit IRC | 21:28 | |
*** sripriya has joined #tacker | 21:33 | |
*** neel has quit IRC | 21:36 | |
*** sripriya has quit IRC | 21:45 | |
trozet | sridhar_ram: it looks like the generated alembic migration isn't right: https://paste.fedoraproject.org/397487/ | 21:53 |
*** sripriya has joined #tacker | 21:58 | |
*** saju_m has quit IRC | 22:54 | |
*** vishnoianil has quit IRC | 23:16 | |
*** santoshk has quit IRC | 23:25 | |
openstackgerrit | Merged openstack/python-tackerclient: Updated from global requirements https://review.openstack.org/348684 | 23:48 |
*** vishwanathj has quit IRC | 23:52 | |
*** sripriya has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!