openstackgerrit | Santosh Kodicherla proposed openstack/tacker: Add tacker multi vdu tests https://review.openstack.org/239546 | 00:10 |
---|---|---|
*** s3wong has joined #tacker | 00:11 | |
*** sridhar_ram1 has quit IRC | 00:18 | |
*** sridhar_ram has joined #tacker | 00:34 | |
*** mbound has quit IRC | 00:40 | |
*** sridhar_ram1 has joined #tacker | 00:43 | |
*** sridhar_ram has quit IRC | 00:45 | |
*** sridhar_ram has joined #tacker | 00:47 | |
*** sridhar_ram1 has quit IRC | 00:50 | |
*** sridhar_ram1 has joined #tacker | 01:03 | |
*** sridhar_ram has quit IRC | 01:03 | |
*** prashantD_ has quit IRC | 01:24 | |
*** prashantD has joined #tacker | 01:32 | |
*** bobh has joined #tacker | 01:32 | |
*** bobh has quit IRC | 01:39 | |
*** bobh has joined #tacker | 01:49 | |
*** bobh has quit IRC | 01:50 | |
*** bobh has joined #tacker | 02:00 | |
*** bobh has quit IRC | 02:08 | |
*** sridhar_ram1 has quit IRC | 02:17 | |
*** sridhar_ram has joined #tacker | 02:24 | |
*** sridhar_ram1 has joined #tacker | 02:27 | |
*** sridhar_ram has quit IRC | 02:28 | |
*** prashantD has quit IRC | 02:30 | |
*** s3wong has quit IRC | 02:32 | |
*** sridhar_ram1 has quit IRC | 02:45 | |
*** bobh has joined #tacker | 03:03 | |
*** lhcheng has quit IRC | 03:11 | |
*** bobh has quit IRC | 03:30 | |
*** prashantD has joined #tacker | 04:13 | |
*** lhcheng has joined #tacker | 04:17 | |
*** prashantD_ has joined #tacker | 04:17 | |
*** lhcheng_ has joined #tacker | 04:18 | |
*** prashantD has quit IRC | 04:18 | |
*** lhcheng has quit IRC | 04:21 | |
*** prashantD_ has quit IRC | 05:04 | |
*** tbharath has joined #tacker | 05:11 | |
*** lhcheng_ has quit IRC | 05:30 | |
*** lhcheng has joined #tacker | 05:30 | |
*** tbharath has left #tacker | 05:48 | |
*** lhcheng has quit IRC | 06:04 | |
*** openstackgerrit has quit IRC | 06:31 | |
*** openstackgerrit has joined #tacker | 06:32 | |
*** dkusidlo has joined #tacker | 07:25 | |
*** dkusidlo has quit IRC | 07:29 | |
*** lhcheng has joined #tacker | 07:52 | |
*** igordcard has joined #tacker | 07:54 | |
*** lhcheng has quit IRC | 07:57 | |
*** karimb has joined #tacker | 08:17 | |
*** ilozgach has joined #tacker | 08:36 | |
ilozgach | Hi everyone | 08:36 |
ilozgach | I have a problem with creating custom image | 08:36 |
ilozgach | I uploaded new image in qcow2 format | 08:37 |
ilozgach | But get error while creating new VNF | 08: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 |
ilozgach | Here 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 |
ilozgach | Moment, I need to check it | 08:52 |
KLuka_ | maybe image is not publicly available to all tenants, or something | 08:52 |
KLuka_ | also try "glance image-show nfvpilot-openvswitch-image" | 08:53 |
*** karimb has quit IRC | 08:54 | |
KLuka_ | here you can check "is_public" and "owner" values | 08:55 |
KLuka_ | From "keystone tenant-list" check tenant id and compare it with owner | 08:56 |
KLuka_ | *image owner | 08:56 |
*** mbound has joined #tacker | 08:59 | |
*** karimb has joined #tacker | 09:01 | |
*** mbound has quit IRC | 09:02 | |
*** mbound has joined #tacker | 09:02 | |
ilozgach | Yes, nova boot works well with this image | 09:03 |
ilozgach | But | 09:03 |
ilozgach | glance image-show nfvpilot-openvswitch-image | 09:03 |
ilozgach | Provides error | 09:03 |
ilozgach | 404 Not Found: No image found with ID nfvpilot-openvswitch-image (HTTP 404) | 09:03 |
KLuka_ | try the image id | 09:04 |
KLuka_ | get id from "glance image-list" | 09:05 |
ilozgach | Ok, I get glance image information using image id | 09:06 |
ilozgach | There is only owner info | 09:07 |
ilozgach | owner | dafa3efc6fac4e24b21f3f2fa4724dd2 | 09:07 |
ilozgach | visibility | private | 09:07 |
ilozgach | Should I change it to public somehow? | 09:08 |
KLuka_ | hm, maybe you can compare owner ids with other images that work with tacker | 09:08 |
KLuka_ | Yes try to do that | 09:08 |
ilozgach | How? | 09:09 |
ilozgach | I found how to do it | 09:09 |
ilozgach | Yeah! It works now | 09:10 |
ilozgach | Thanks :) | 09:10 |
ilozgach | By the way | 09:11 |
ilozgach | How network configuration is processed while parsing yaml file? | 09:12 |
ilozgach | For example | 09:12 |
ilozgach | pkt_in: network: net0 | 09:12 |
ilozgach | pkt_out: network: net1 | 09:12 |
ilozgach | What is a difference between pkt_in and pkt_out? | 09:12 |
ilozgach | I tried to grep tacker source code for that | 09:13 |
ilozgach | But didn't find anything | 09: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 |
ilozgach | Hmm | 09:17 |
ilozgach | Gut if I assign floating IP to my VNF | 09:17 |
ilozgach | Will 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 |
ilozgach | O, really? I didnt check it yet :) | 09:19 |
ilozgach | Is that possible to specify in vnfd yaml file that my VNF needs floating IP? | 09:27 |
ilozgach | So that is floating IP will be automatically assigned? | 09:27 |
ilozgach | After creation | 09: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 code | 09:36 |
KLuka_ | https://github.com/openstack/heat-templates/blob/master/hot/servers_in_existing_neutron_net.yaml | 09:36 |
*** dkusidlo has joined #tacker | 09:39 | |
*** lhcheng has joined #tacker | 09:42 | |
ilozgach | I tried to associate floating ip | 09:43 |
ilozgach | From Project -> Access and Security -> Floating IP | 09:44 |
ilozgach | But I cannot associate it | 09:44 |
ilozgach | Horizon says that "No ports available" | 09:44 |
ilozgach | :( | 09:44 |
*** lhcheng has quit IRC | 09: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 |
ilozgach | There is one floating IP | 10:02 |
ilozgach | | b2ed291e-89ce-4014-94a7-63c8527c894b | | 10.12.161.151 | | | 10:02 |
*** dkusidlo has quit IRC | 10:02 | |
*** igordcard_ has joined #tacker | 10:04 | |
*** lhcheng has joined #tacker | 10:05 | |
*** igordcard has quit IRC | 10:06 | |
*** lhcheng has quit IRC | 10:10 | |
ilozgach | Hmhm, it looks like I forgot to install cloud-init package | 10:12 |
ilozgach | neutron port-list do not show any ports assigned to my VNF | 10:12 |
*** lhcheng has joined #tacker | 10:17 | |
*** tbharath has joined #tacker | 10:24 | |
*** dkusidlo has joined #tacker | 10:43 | |
*** dkusidlo has quit IRC | 10:44 | |
mbound | ilozgach: 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 instance | 10:49 |
mbound | i'm more of a Tacker/Openstack user for now, btw | 10:50 |
ilozgach | Actually, my image is very big, it's ubuntu server :) | 10:51 |
*** dkusidlo has joined #tacker | 10:51 | |
ilozgach | Create minimal image is one of my tasks, but I'll do it later | 10:51 |
ilozgach | So this image has openvswitch name because it will contain openvswitch installed | 10:53 |
ilozgach | Nothing else | 10:53 |
*** prashantD has joined #tacker | 11: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 IRC | 11:04 | |
*** dkusidlo has quit IRC | 11:04 | |
*** prashantD has quit IRC | 11:05 | |
KLuka_ | To find an instance, go to "Admin" > "Instances" and search for "vdu" in instance name... | 11:06 |
*** igordcard__ has joined #tacker | 11:08 | |
*** igordcard_ has quit IRC | 11:10 | |
*** lhcheng has joined #tacker | 11:37 | |
ilozgach | Are there any developers here? | 11:50 |
*** igordcard__ has quit IRC | 11:51 | |
*** igordcard has joined #tacker | 11:53 | |
*** dkusidlo has joined #tacker | 11:54 | |
*** dkusidlo has quit IRC | 12:03 | |
*** dkusidlo has joined #tacker | 12:06 | |
*** karimb has quit IRC | 12:07 | |
*** karimb has joined #tacker | 12:08 | |
KLuka_ | ilozgach, I guess not :) | 12:09 |
*** dkusidlo has quit IRC | 12:12 | |
*** dkusidlo has joined #tacker | 12:13 | |
*** dkusidlo has quit IRC | 12:21 | |
ilozgach | :) | 13:00 |
ilozgach | Okay | 13:00 |
*** lhcheng has quit IRC | 13:00 | |
ilozgach | cloud-init somehow break my image and now I cannot start it )) | 13:00 |
ilozgach | It's enough for me for today | 13:01 |
ilozgach | ^) | 13:01 |
ilozgach | Thanks KLuka_ for a help | 13:01 |
*** ilozgach has quit IRC | 13:02 | |
*** bobh has joined #tacker | 13:08 | |
*** bobh has quit IRC | 13:12 | |
*** dkusidlo has joined #tacker | 13:12 | |
*** dkusidlo has quit IRC | 13:30 | |
*** dkusidlo has joined #tacker | 13:31 | |
*** dkusidlo has quit IRC | 13:36 | |
*** dkusidlo has joined #tacker | 13:37 | |
*** bobh has joined #tacker | 13:45 | |
*** trozet has quit IRC | 13:50 | |
*** bobh has quit IRC | 14:02 | |
*** tbharath has quit IRC | 14:10 | |
*** dkusidlo has quit IRC | 14:36 | |
*** bobh has joined #tacker | 14:41 | |
*** amotoki has joined #tacker | 14:58 | |
*** trozet has joined #tacker | 15:13 | |
*** karimb has quit IRC | 15:16 | |
*** amotoki has quit IRC | 15:19 | |
*** sridhar_ram has joined #tacker | 15:52 | |
*** sridhar_ram has quit IRC | 16:38 | |
*** sridhar_ram has joined #tacker | 16:39 | |
*** karimb has joined #tacker | 16:46 | |
mbound | maybe the datasource for OpenStack is not configured correctly? | 16:48 |
mbound | http://docs.openstack.org/image-guide/content/ubuntu-image.html | 16:49 |
mbound | there are some parameters to configure | 16:49 |
mbound | or else you could use a Ubuntu cloud image, which should be already configured to use openstack | 16:50 |
*** bharath has joined #tacker | 16:51 | |
*** bharath is now known as tbharath | 16:52 | |
*** sridhar_ram has quit IRC | 16:54 | |
*** sridhar_ram has joined #tacker | 16:56 | |
*** igordcard has quit IRC | 17:21 | |
*** lhcheng has joined #tacker | 17:25 | |
*** Jezogwza_ has joined #tacker | 17:36 | |
*** mbound has quit IRC | 17:40 | |
*** tbharath has left #tacker | 17:48 | |
*** tbharath has quit IRC | 17:48 | |
trozet | sridhar_ram: ping? | 18:49 |
sridhar_ram | trozet: pong | 18:50 |
trozet | sridhar_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 | |
trozet | sridhar_ram: seems like the tables get created automatically when I do an sfc-create even though they are missing from the schema | 18:51 |
sridhar_ram | trozet: look at https://review.openstack.org/#/c/231088/ | 18:56 |
sridhar_ram | trozet: you need a new alembic migration script and alter the HEAD | 18:57 |
sridhar_ram | trozet: there is a script to generate these magic numbers | 18:57 |
trozet | sridhar_ram: ok thanks will take a look at this | 18:58 |
*** bobh has quit IRC | 19:04 | |
trozet | sridhar_ram: | 19:04 |
trozet | tacker-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 | --autogenerate | 19:05 |
trozet | what is that plugin/config.ini | 19:05 |
trozet | seems just using /etc/tacker/tacker.conf generates one, not sure if its correct | 19:09 |
*** mbound has joined #tacker | 19:10 | |
*** karimb has quit IRC | 19:22 | |
radez | sridhar_ram: it looks like the migrations don't add the servicetypes table? | 19:23 |
radez | any idea why those would be missing from the db migreations? | 19:23 |
radez | sridhar_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 properly | 19:25 |
*** bobh has joined #tacker | 20:07 | |
radez | sridhar_ram: ping ^ | 20:09 |
sridhar_ram | radez: trozet: I'm back... | 20:11 |
trozet | sridhar_ram: we are going crazy over here :) | 20:13 |
radez | haha | 20:13 |
radez | sridhar_ram: does dev stack create tables if they don't exist? | 20:13 |
trozet | sridhar_ram: the alembic revisions in the github repo are missing servicetypes and a bunch of other tables, but somehow devstack creates them | 20:13 |
trozet | ^^ | 20:13 |
sridhar_ram | vm/vm_db.py takes care of creating them... | 20:13 |
sridhar_ram | let me double check... | 20:14 |
trozet | sridhar_ram: so sqlalchemy will create them if they dont exist? | 20:14 |
sridhar_ram | trozet: yes | 20:15 |
trozet | sridhar_ram: hmm radez doesnt see that in his non-devstack setup | 20:15 |
* sridhar_ram checking few things.. | 20:17 | |
*** bobh has quit IRC | 20:18 | |
radez | sridhar_ram: I had to run a db-manage update head to get any tables | 20:25 |
trozet | sridhar_ram: we just looked through his tacker log in debug/verbose all the extensions, plugins get loaded correctly | 20:25 |
radez | then the service* tables and acl table wasn't there | 20:25 |
sridhar_ram | trozet: radez: yeah, something doesn't make sense here.. we inherited tacker db stuff of old neutron. this needs some poking | 20:26 |
radez | and I had to get a migration file from tim for his sfc stuff | 20:26 |
*** bobh has joined #tacker | 20:26 | |
sridhar_ram | radez: yes, tacker-db-manage shd bring your db the the latest db level | 20:26 |
radez | but there arn't any defs in the migreations for the service* tables | 20:27 |
sridhar_ram | radez: hmm.. wondering how these table get created in the first place! | 20:28 |
trozet | sridhar_ram: :) | 20:29 |
sridhar_ram | radez: I meant .. the servicetype ones! | 20:29 |
radez | right :) that's what we're trying to figure out | 20:29 |
sridhar_ram | I'm w/ you guys... poking around | 20:31 |
*** bobh has quit IRC | 20:43 | |
*** karimb has joined #tacker | 20:47 | |
*** karimb has quit IRC | 20:47 | |
trozet | sridhar_ram, radez: interesting i just tried to stack with liberty: | 20:47 |
trozet | sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (1051, u"Unknown table 'servicecontexts'") [SQL: u'\nDROP TABLE servicecontexts'] | 20:47 |
trozet | during migration | 20:48 |
*** karimb has joined #tacker | 20:48 | |
sridhar_ram | trozet: using devstack ? | 20:49 |
*** santoshkumark has joined #tacker | 20:49 | |
trozet | sridhar_ram: yeah | 20:51 |
sridhar_ram | trozet: .. switching to stable/liberty | 20:51 |
trozet | sridhar_ram: oh nvm, i had created a migration file and left it in my /opt/stack directory | 20:52 |
trozet | sridhar_ram: i think it tried to use that in the migration and died | 20:52 |
sridhar_ram | trozet: alright...I'm restacking to check few things | 20:52 |
*** openstackgerrit has quit IRC | 21:01 | |
*** openstackgerrit has joined #tacker | 21:02 | |
*** prashantD has joined #tacker | 21:06 | |
*** sridhar_ram has quit IRC | 21:47 | |
*** prashantD_ has joined #tacker | 21:49 | |
*** prashantD has quit IRC | 21:51 | |
*** santoshk has joined #tacker | 22:03 | |
*** santoshkumark has quit IRC | 22:07 | |
*** santoshk has quit IRC | 23:33 | |
*** santoshkumark has joined #tacker | 23:35 | |
*** santoshk has joined #tacker | 23:37 | |
*** santoshkumar has joined #tacker | 23:39 | |
*** santoshkumark has quit IRC | 23:40 | |
*** santoshkumark has joined #tacker | 23:42 | |
*** santoshk has quit IRC | 23:43 | |
*** santoshkumar has quit IRC | 23:45 | |
*** santoshk has joined #tacker | 23:49 | |
*** santoshkumark has quit IRC | 23:50 | |
*** santoshkumark has joined #tacker | 23:55 | |
*** santoshk has quit IRC | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!