Friday, 2015-11-06

openstackgerritSantosh Kodicherla proposed openstack/tacker:     Add tacker multi vdu tests  https://review.openstack.org/23954600:10
*** s3wong has joined #tacker00:11
*** sridhar_ram1 has quit IRC00:18
*** sridhar_ram has joined #tacker00:34
*** mbound has quit IRC00:40
*** sridhar_ram1 has joined #tacker00:43
*** sridhar_ram has quit IRC00:45
*** sridhar_ram has joined #tacker00:47
*** sridhar_ram1 has quit IRC00:50
*** sridhar_ram1 has joined #tacker01:03
*** sridhar_ram has quit IRC01:03
*** prashantD_ has quit IRC01:24
*** prashantD has joined #tacker01:32
*** bobh has joined #tacker01:32
*** bobh has quit IRC01:39
*** bobh has joined #tacker01:49
*** bobh has quit IRC01:50
*** bobh has joined #tacker02:00
*** bobh has quit IRC02:08
*** sridhar_ram1 has quit IRC02:17
*** sridhar_ram has joined #tacker02:24
*** sridhar_ram1 has joined #tacker02:27
*** sridhar_ram has quit IRC02:28
*** prashantD has quit IRC02:30
*** s3wong has quit IRC02:32
*** sridhar_ram1 has quit IRC02:45
*** bobh has joined #tacker03:03
*** lhcheng has quit IRC03:11
*** bobh has quit IRC03:30
*** prashantD has joined #tacker04:13
*** lhcheng has joined #tacker04:17
*** prashantD_ has joined #tacker04:17
*** lhcheng_ has joined #tacker04:18
*** prashantD has quit IRC04:18
*** lhcheng has quit IRC04:21
*** prashantD_ has quit IRC05:04
*** tbharath has joined #tacker05:11
*** lhcheng_ has quit IRC05:30
*** lhcheng has joined #tacker05:30
*** tbharath has left #tacker05:48
*** lhcheng has quit IRC06:04
*** openstackgerrit has quit IRC06:31
*** openstackgerrit has joined #tacker06:32
*** dkusidlo has joined #tacker07:25
*** dkusidlo has quit IRC07:29
*** lhcheng has joined #tacker07:52
*** igordcard has joined #tacker07:54
*** lhcheng has quit IRC07:57
*** karimb has joined #tacker08:17
*** ilozgach has joined #tacker08:36
ilozgachHi everyone08:36
ilozgachI have a problem with creating custom image08:36
ilozgachI uploaded new image in qcow2 format08:37
ilozgachBut get error while creating new VNF08:37
ilozgach HeatClientException: ERROR: Property error: : resources.vdu1.properties.image: : Error validating value 'nfvpilot-openvswitch-image': The Image (nfvpilot-openvswitch-image) could not be found.08:37
ilozgachHere are some details http://paste.openstack.org/show/478160/08:42
KLuka_What happens if you try to launch instance with that image from nova?08:46
ilozgachMoment, I need to check it08:52
KLuka_maybe image is not publicly available to all tenants, or something08:52
KLuka_also try "glance image-show nfvpilot-openvswitch-image"08:53
*** karimb has quit IRC08:54
KLuka_here you can check "is_public" and "owner" values08:55
KLuka_From "keystone tenant-list" check tenant id and compare it with owner08:56
KLuka_*image owner08:56
*** mbound has joined #tacker08:59
*** karimb has joined #tacker09:01
*** mbound has quit IRC09:02
*** mbound has joined #tacker09:02
ilozgachYes, nova boot works well with this image09:03
ilozgachBut09:03
ilozgachglance image-show nfvpilot-openvswitch-image09:03
ilozgachProvides error09:03
ilozgach404 Not Found: No image found with ID nfvpilot-openvswitch-image (HTTP 404)09:03
KLuka_try the image id09:04
KLuka_get id from "glance image-list"09:05
ilozgachOk, I get glance image information using image id09:06
ilozgachThere is only owner info09:07
ilozgachowner            | dafa3efc6fac4e24b21f3f2fa4724dd209:07
ilozgachvisibility       | private09:07
ilozgachShould I change it to public somehow?09:08
KLuka_hm, maybe you can compare owner ids with other images that work with tacker09:08
KLuka_Yes try to do that09:08
ilozgachHow?09:09
ilozgachI found how to do it09:09
ilozgachYeah! It works now09:10
ilozgachThanks :)09:10
ilozgachBy the way09:11
ilozgachHow network configuration is processed while parsing yaml file?09:12
ilozgachFor example09:12
ilozgachpkt_in:  network: net009:12
ilozgachpkt_out:  network: net109:12
ilozgachWhat is a difference between pkt_in and pkt_out?09:12
ilozgachI tried to grep tacker source code for that09:13
ilozgachBut didn't find anything09:13
KLuka_Hmm, I am not sure :) I am just a Tacker user, not a developer :)09:14
KLuka_Glad you got it to work ;)09:14
KLuka_This pkt_in and pkt_out could be related with SFC (?). I normally use just one network for now...09:15
ilozgachHmm09:17
ilozgachGut if I assign floating IP to my VNF09:17
ilozgachWill it be bridged to mgmt interface or to one of these pkt...?09:18
KLuka_Hmm, I think that you need to chose interface manually?09:19
ilozgachO, really? I didnt check it yet :)09:19
ilozgachIs that possible to specify in vnfd yaml file that my VNF needs floating IP?09:27
ilozgachSo that is floating IP will be automatically assigned?09:27
ilozgachAfter creation09:27
KLuka_I don't know you can do that within template. I do it after creation from Horizon.09:34
KLuka_I know that you can do that with HOT template (heat module)09:35
KLuka_Maybe you can find something here, and search Tacker source code09:36
KLuka_https://github.com/openstack/heat-templates/blob/master/hot/servers_in_existing_neutron_net.yaml09:36
*** dkusidlo has joined #tacker09:39
*** lhcheng has joined #tacker09:42
ilozgachI tried to associate floating ip09:43
ilozgachFrom Project -> Access and Security -> Floating IP09:44
ilozgachBut I cannot associate it09:44
ilozgachHorizon says that "No ports available"09:44
ilozgach:(09:44
*** lhcheng has quit IRC09:46
KLuka_Hm, I think you need to allocate floating ips,10:00
KLuka_Check commands "neutron floatingip-list"10:00
KLuka_and "neutron floatingip-create"...10:01
ilozgachThere is one floating IP10:02
ilozgach| b2ed291e-89ce-4014-94a7-63c8527c894b |                  | 10.12.161.151       |         |10:02
*** dkusidlo has quit IRC10:02
*** igordcard_ has joined #tacker10:04
*** lhcheng has joined #tacker10:05
*** igordcard has quit IRC10:06
*** lhcheng has quit IRC10:10
ilozgachHmhm, it looks like I forgot to install cloud-init package10:12
ilozgachneutron port-list do not show any ports assigned to my VNF10:12
*** lhcheng has joined #tacker10:17
*** tbharath has joined #tacker10:24
*** dkusidlo has joined #tacker10:43
*** dkusidlo has quit IRC10:44
mboundilozgach: sorry, I missed the first part of the conversation, did you create a switch VNF for tacker? i'd be interested to see it :-) Now i'm trying to see how small one could make a VNF, to deploy it as a microservice instance10:49
mboundi'm more of a Tacker/Openstack user for now, btw10:50
ilozgachActually, my image is very big, it's ubuntu server :)10:51
*** dkusidlo has joined #tacker10:51
ilozgachCreate minimal image is one of my tasks, but I'll do it later10:51
ilozgachSo this image has openvswitch name because it will contain openvswitch installed10:53
ilozgachNothing else10:53
*** prashantD has joined #tacker11:01
KLuka_ilozgach, I don't think you need cloud-init for floating IP... Try to find your instance in Horizon and use "Associate Floating IP".11:01
KLuka_This works for me.11:02
*** lhcheng has quit IRC11:04
*** dkusidlo has quit IRC11:04
*** prashantD has quit IRC11:05
KLuka_To find an instance, go to "Admin" > "Instances" and search for "vdu" in instance name...11:06
*** igordcard__ has joined #tacker11:08
*** igordcard_ has quit IRC11:10
*** lhcheng has joined #tacker11:37
ilozgachAre there any developers here?11:50
*** igordcard__ has quit IRC11:51
*** igordcard has joined #tacker11:53
*** dkusidlo has joined #tacker11:54
*** dkusidlo has quit IRC12:03
*** dkusidlo has joined #tacker12:06
*** karimb has quit IRC12:07
*** karimb has joined #tacker12:08
KLuka_ilozgach, I guess not :)12:09
*** dkusidlo has quit IRC12:12
*** dkusidlo has joined #tacker12:13
*** dkusidlo has quit IRC12:21
ilozgach:)13:00
ilozgachOkay13:00
*** lhcheng has quit IRC13:00
ilozgachcloud-init somehow break my image and now I cannot start it ))13:00
ilozgachIt's enough for me for today13:01
ilozgach^)13:01
ilozgachThanks KLuka_ for a help13:01
*** ilozgach has quit IRC13:02
*** bobh has joined #tacker13:08
*** bobh has quit IRC13:12
*** dkusidlo has joined #tacker13:12
*** dkusidlo has quit IRC13:30
*** dkusidlo has joined #tacker13:31
*** dkusidlo has quit IRC13:36
*** dkusidlo has joined #tacker13:37
*** bobh has joined #tacker13:45
*** trozet has quit IRC13:50
*** bobh has quit IRC14:02
*** tbharath has quit IRC14:10
*** dkusidlo has quit IRC14:36
*** bobh has joined #tacker14:41
*** amotoki has joined #tacker14:58
*** trozet has joined #tacker15:13
*** karimb has quit IRC15:16
*** amotoki has quit IRC15:19
*** sridhar_ram has joined #tacker15:52
*** sridhar_ram has quit IRC16:38
*** sridhar_ram has joined #tacker16:39
*** karimb has joined #tacker16:46
mboundmaybe the datasource for OpenStack is not configured correctly?16:48
mboundhttp://docs.openstack.org/image-guide/content/ubuntu-image.html16:49
mboundthere are some parameters to configure16:49
mboundor else you could use a Ubuntu cloud image, which should be already configured to use openstack16:50
*** bharath has joined #tacker16:51
*** bharath is now known as tbharath16:52
*** sridhar_ram has quit IRC16:54
*** sridhar_ram has joined #tacker16:56
*** igordcard has quit IRC17:21
*** lhcheng has joined #tacker17:25
*** Jezogwza_ has joined #tacker17:36
*** mbound has quit IRC17:40
*** tbharath has left #tacker17:48
*** tbharath has quit IRC17:48
trozetsridhar_ram: ping?18:49
sridhar_ramtrozet: pong18:50
trozetsridhar_ram: was wondering what the correct way is to update the revision of the alembic stuff to include the database tables I made for SFC?18:50
* sridhar_ram looking up...18:51
trozetsridhar_ram: seems like the tables get created automatically when I do an sfc-create even though they are missing from the schema18:51
sridhar_ramtrozet: look at https://review.openstack.org/#/c/231088/18:56
sridhar_ramtrozet: you need a new alembic migration script and alter the HEAD18:57
sridhar_ramtrozet: there is a script to generate these magic numbers18:57
trozetsridhar_ram: ok thanks will take a look at this18:58
*** bobh has quit IRC19:04
trozetsridhar_ram:19:04
trozettacker-db-manage --config-file /path/to/tacker.conf \19:04
trozet--config-file /path/to/plugin/config.ini revision \19:05
trozet-m "description of revision" \19:05
trozet--autogenerate19:05
trozetwhat is that plugin/config.ini19:05
trozetseems just using /etc/tacker/tacker.conf generates one, not sure if its correct19:09
*** mbound has joined #tacker19:10
*** karimb has quit IRC19:22
radezsridhar_ram: it looks like the migrations don't add the servicetypes table?19:23
radezany idea why those would be missing from the db migreations?19:23
radezsridhar_ram: also you would it be helpful for me to push a systemctl script up to the tacker repo? I wrote one so my puppet service calls would work properly19:25
*** bobh has joined #tacker20:07
radezsridhar_ram: ping ^20:09
sridhar_ramradez: trozet: I'm back...20:11
trozetsridhar_ram: we are going crazy over here :)20:13
radezhaha20:13
radezsridhar_ram: does dev stack create tables if they don't exist?20:13
trozetsridhar_ram: the alembic revisions in the github repo are missing servicetypes and a bunch of other tables, but somehow devstack creates them20:13
trozet^^20:13
sridhar_ramvm/vm_db.py takes care of creating them...20:13
sridhar_ramlet me double check...20:14
trozetsridhar_ram: so sqlalchemy will create them if they dont exist?20:14
sridhar_ramtrozet: yes20:15
trozetsridhar_ram: hmm radez doesnt see that in his non-devstack setup20:15
* sridhar_ram checking few things..20:17
*** bobh has quit IRC20:18
radezsridhar_ram: I had to run a db-manage update head to get any tables20:25
trozetsridhar_ram: we just looked through his tacker log in debug/verbose all the extensions, plugins get loaded correctly20:25
radezthen the service* tables and acl table wasn't there20:25
sridhar_ramtrozet: radez: yeah, something doesn't make sense here.. we inherited tacker db stuff of old neutron. this needs some poking20:26
radezand I had to get a migration file from tim for his sfc stuff20:26
*** bobh has joined #tacker20:26
sridhar_ramradez: yes, tacker-db-manage shd bring your db the the latest db level20:26
radezbut there arn't any defs in the migreations for the service* tables20:27
sridhar_ramradez: hmm.. wondering how these table get created in the first place!20:28
trozetsridhar_ram: :)20:29
sridhar_ramradez: I meant .. the servicetype ones!20:29
radezright :) that's what we're trying to figure out20:29
sridhar_ramI'm w/ you guys... poking around20:31
*** bobh has quit IRC20:43
*** karimb has joined #tacker20:47
*** karimb has quit IRC20:47
trozetsridhar_ram, radez: interesting i just tried to stack with liberty:20:47
trozetsqlalchemy.exc.InternalError: (pymysql.err.InternalError) (1051, u"Unknown table 'servicecontexts'") [SQL: u'\nDROP TABLE servicecontexts']20:47
trozetduring migration20:48
*** karimb has joined #tacker20:48
sridhar_ramtrozet: using devstack ?20:49
*** santoshkumark has joined #tacker20:49
trozetsridhar_ram: yeah20:51
sridhar_ramtrozet: .. switching to stable/liberty20:51
trozetsridhar_ram: oh nvm, i had created a migration file and left it in my /opt/stack directory20:52
trozetsridhar_ram: i think it tried to use that in the migration and died20:52
sridhar_ramtrozet: alright...I'm restacking to check few things20:52
*** openstackgerrit has quit IRC21:01
*** openstackgerrit has joined #tacker21:02
*** prashantD has joined #tacker21:06
*** sridhar_ram has quit IRC21:47
*** prashantD_ has joined #tacker21:49
*** prashantD has quit IRC21:51
*** santoshk has joined #tacker22:03
*** santoshkumark has quit IRC22:07
*** santoshk has quit IRC23:33
*** santoshkumark has joined #tacker23:35
*** santoshk has joined #tacker23:37
*** santoshkumar has joined #tacker23:39
*** santoshkumark has quit IRC23:40
*** santoshkumark has joined #tacker23:42
*** santoshk has quit IRC23:43
*** santoshkumar has quit IRC23:45
*** santoshk has joined #tacker23:49
*** santoshkumark has quit IRC23:50
*** santoshkumark has joined #tacker23:55
*** santoshk has quit IRC23:59

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