Perl 6 - the future is here, just unevenly distributed

IRC log for #fuel, 2016-09-07

| Channels | #fuel index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:26 Julien-zte joined #fuel
01:35 raunak joined #fuel
02:24 alec_ joined #fuel
02:24 alec_ hello
02:24 alec_ can anyone point me to the the file where pxe interface and DHCP boot parameters are configured?
02:25 alec_ i believe it is in the cobbler container? but is there a file on Fuel that syncs with the cobbler container if i rebuilt it?
02:50 alec_ ??
02:53 johnavp1989 joined #fuel
03:21 akscram joined #fuel
03:26 alec_ hello
03:26 alec_ anyone know the best way to export a bootstrap image
03:31 akscram joined #fuel
04:17 kiteall joined #fuel
04:36 kiteall joined #fuel
04:55 vkulanov joined #fuel
05:06 xarses joined #fuel
05:49 raunak joined #fuel
06:31 neilus joined #fuel
06:57 dklenov Hi python folks, can you please take a look at https://review.openstack.org/#/c/366285/?
06:58 dklenov it would be good to merge it till Friday as we are under FFE for role decomposition
07:11 Julien-zte joined #fuel
07:36 DavidRama joined #fuel
07:39 DavidRama joined #fuel
07:52 miniman joined #fuel
08:08 yassine joined #fuel
08:09 DavidRama1 joined #fuel
08:47 Ahharu Hello, I am totally blocked with plugin development. It wont get even past the Firewall step, because it isnt creating sources.list.d files
08:47 Ahharu for vanilla installation, it does
08:52 Ahharu on logs for the plugin install " Fuel_pkgs::Setup_repositories])) MODULAR: fuel_pkgs/setup_repositories.pp " is not even being called
08:52 kiteall joined #fuel
08:53 mskalski Ahharu: did you try install package from your plugin?
08:54 Ahharu msalski: I cant, because the ubuntu repository mirrors and mos stuff is not setup
08:54 Ahharu it fails on the Firewall/Firewall.pp MOS task because it cannot find any packages ( of course, there are no repos setup )
08:56 mskalski Ahharu: how you defined task? Its probably matter of ordering your task to be executed after repositories configuration is created
08:56 Ahharu this task is default mirantis openstack
08:57 mskalski Ahharu: you said that it fail after you enable plugin, can you provide link to the source of the plugin?
08:58 Ahharu yes, when the plugin is enabled, but it doesnt even arrive to any part of my code, it just fails when istalling default MOS stuff
08:59 Ahharu my source is here
08:59 Ahharu https://github.com/ahharu/fuel-plugin-midonet
09:01 mskalski Ahharu: is it fail on the node where you assigned your own role?
09:02 Ahharu on both, the custom "NSDB" role and the Controller node
09:02 code-R joined #fuel
09:02 Ahharu which has some tweaks but thats it
09:03 Ahharu the thing is that its skipping the Fuel_pkgs/setup_repositories.pp task
09:03 Ahharu (which is default MOS)
09:03 mskalski Ahharu: try add setup_repositores and fuel_pkgs tasks to the tasks list of your roles, like here https://github.com/openstack/fuel-plugin-opendaylight/blob/master/deployment_tasks.yaml#L6
09:05 code-R_ joined #fuel
09:08 mskalski btw you should try migrate completely to deployment_tasks.yaml, not sure if fuel 9.0 still support tasks.yaml tasks definitions
09:12 Ahharu well.. for controller I cannot add this tasks to the list of roles since it is not a custom role right?
09:12 Ahharu it should be done by default
09:13 mskalski Ahharu: yes controller have this tasks by default
09:17 mskalski Ahharu: http://docs.openstack.org/developer/fuel-docs/plugindocs/fuel-plugin-sdk-guide/create-plugin/plugin-node-roles/define-new-role.html "The difference between the deployment of the nodes with the new role and the pre-existing ones is that only the core tasks that you explicitly defined in the tasks field of the role’s group definition will run on the node with the new role, while there is a predefined list of core tasks to run on the n
09:17 mskalski odes with pre-existing roles."
09:21 Ahharu that makes sense, thus we are adding the "globals" tasks which should take care of fuel_pkgs also
09:36 DavidRama joined #fuel
09:45 DavidRama1 joined #fuel
09:45 zubchick please review backport https://review.openstack.org/#/c/366212/
09:45 zubchick ikutukov, dguryanov ^^^
10:31 DavidRama joined #fuel
10:34 Ahharu it is skipping them, for both controller and custom role
10:40 Julien-zte joined #fuel
10:44 DavidRama1 joined #fuel
10:46 Julien-zte joined #fuel
10:49 achevychalov joined #fuel
10:55 Ahharu by the way, where can I see the result of the shell scripts I execute in tasks.yaml? I cant find this anywhere
10:57 pma Ahharu> shell scripts are converted to puppet manifests
10:58 pma Ahharu> so, you could check output out in puppet.log
11:06 obcecado joined #fuel
11:11 Julien-zte joined #fuel
11:17 ekosareva joined #fuel
11:25 GMAzrael joined #fuel
11:45 vkulanov agordeev, hi, before you start working on tests I've putted some comments in your fuelclient code...
11:53 agordeev vkulanov: hi, thanks for proper and helpful explanation. I will re-work methods for Env*List classes.
11:56 dburmistrov joined #fuel
11:57 izinovik_ joined #fuel
11:57 nurla joined #fuel
11:58 MiroslavAnashkin joined #fuel
11:58 aglarendil_ joined #fuel
11:59 akislitsky joined #fuel
12:00 kat_pimenova joined #fuel
12:01 mrasskazov joined #fuel
12:01 meow-nofer joined #fuel
12:02 seeg joined #fuel
12:03 sbog joined #fuel
12:05 vkramskikh joined #fuel
12:06 apalkina joined #fuel
12:07 MorAle joined #fuel
12:07 agordeev vkulanov: replied
12:08 Ahharu Hi, I am having trouble with my plugin ( https://github.com/ahharu/fuel-plugin-midonet ) . Even for the Controller node it isnt creating the entries in sources.list.d for repos and not executing my pre_deployment task in task.yaml
12:08 Ahharu how is this possible?
12:11 mskalski Ahharu: as I said please first get rid of tasks.yaml since it is deprecated http://docs.openstack.org/developer/fuel-docs/plugindocs/fuel-plugin-sdk-guide/create-plugin/define-plugin-actions.html
12:12 mskalski Ahharu: you can easily achieve the same with deployment_tasks and new format of ordering tasks http://docs.openstack.org/developer/fuel-docs/plugindocs/fuel-plugin-sdk-guide/create-plugin/actions-existing-roles/deployment-stages.html
12:25 Ahharu does this explain the errors in controller?
12:27 Ahharu i will move it into deployment_tasks.pp though
12:27 mskalski Ahharu: first of all you are trying to use  puppet classes which are not present since you don't  downloaded them in pre deployment, I would start with that
12:27 Ahharu for NSDB node, sure
12:27 mskalski Ahharu: then I would take a look at ordering tasks in main phase deployment
12:28 mskalski Ahharu: maybe stop ordering against skipped task
12:28 Ahharu well .ok
12:29 Ahharu but the sources.list should be done correctly, at least on controller
12:29 Ahharu since it is default task
12:29 mskalski Ahharu: your plugin break this orther
12:29 mskalski *order
12:32 Ahharu for controller it is weird though,
12:32 Ahharu i dont skip the tasks either
12:32 mskalski you don't skip netconfig task?
12:32 Ahharu netconfig yes
12:33 Ahharu fuel_pkg and setup_repositories not
12:33 Ahharu they should run
12:35 GMAzrael joined #fuel
12:35 mskalski probably your task run before them, or your plugin changed the tasks order execution, please verify with fuel graph command
12:46 mskalski Ahharu: I think git is not installed by default on nodes https://github.com/ahharu/fuel-plugin-midonet/blob/master/deployment_scripts/install_midonet_puppet_modules.sh#L19
12:48 Ahharu I think yes because if i try "git" command after just clicking "provision" it finds it
12:49 Ahharu if its failing it should appear on "puppet" logs right?
12:55 mskalski I checked on one of the fuel9 nodes and it is not installed there, and I don't see this in default list of Initial packages in environment settings
12:56 dancn Hello all, I am also experiencing problem with task ordering, the wiki and docs.openstack.org and the public plugins do not offer enough useful examples (what are the predefined tasks?, how can I add preexisting networks roles...) for my use case.  Also fuel graph --env 8 --download crashes: requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url:
12:56 dancn http://10.20.0.2:8000/api/v1/clusters/8/deploy_tasks/graph.gv?tasks=fuel-plugin-storlets_role%[...]  so I am out of luck today!
12:56 GMAzrael Question: Is the public network expected to have an external DHCP, or does Fuel set that?
12:58 Ahharu for me it is also crashing the fuel graph command
12:58 Ahharu :(
12:58 mskalski GMAzrael: by default it does not have dhcp, it is divided for two parts one is used for openstack nodes by default only for controllers, second for floating ips, both of them does not use dhcp by default
13:00 GMAzrael @mskalski: so when netconfig runs and attempts to ping the gateway of the selected subnet, what IP  does it use, or should I turn on DHCP for that network in order for it to proceed
13:01 GMAzrael I'm getting multiple "no dhclient process running on bond.XXX"
13:02 mskalski GMAzrael: fuel allocated ip for nodes and set up them on chosen NIC, no dhcp server is used, does network check pass for you before you deployed?
13:03 GMAzrael I'm performing LACP bonding on my NIC's so it won't complete until after deployment
13:05 Ahharu cannot check graph because it is giving 500
13:05 Ahharu about git yes, it needs to be installed
13:08 mskalski Ahharu: dancn graph created by new installed plugins is invalid, probably dependence loop was created and it could not be generated, does fuel --env X env --deployment-tasks --download work for you?
13:09 Ahharu this works
13:10 dancn mskalski: yes, it works
13:10 Ahharu i even removed everything in deployment tasks
13:10 Ahharu and left only the .sh script call
13:10 Ahharu :q
13:11 dancn mskalski: how can I debug the loop?  by the way the source is available at: https://github.com/SmartInfrastructures/fuel-plugin-storlets/blob/master/deployment_tasks.yaml
13:12 Ahharu is there any place where we can see where is the loop?
13:12 mskalski dancn: it is old format of defining tasks https://github.com/SmartInfrastructures/fuel-plugin-storlets/blob/master/deployment_tasks.yaml#L18
13:12 mskalski dancn: and should not be used in deployment_tasks
13:14 mskalski dancn: http://docs.openstack.org/developer/fuel-docs/plugindocs/fuel-plugin-sdk-guide/create-plugin/actions-existing-roles.html
13:15 dancn mskalski: thanks, I was used with them... the wiki still mention this... but not mention the cross-depend-by (not the docs IIRC) I found in some plugin, I will drop those lines
13:15 dancn mskalski: do you think that cross-depend-by is the correct way to proceed?
13:20 mskalski dancn: do you assign many fuel-plugin-storlets_role roles or just one? If those tasks are distributed among different nodes and depends of each other that yes, but if you doing this plugin for fuel9.0 you can tray use yaql language to define dependencies
13:20 mskalski dancn: if not then simple requires and required_for will be sufficient for you, you will be able to order your tasks without using priortity numbers
13:23 Ahharu Is there any way to debug for the dep cycles? I removed everything from my deployment_tasks.yml except the sh script and its still bombing
13:24 dancn mskalski: well maybe the confusion is that i do not know what is exactly a role assignment, maybe is better to describe what the plugins has to do
13:24 mskalski Ahharu: and how it looks now? did you modified this on fuel master and run: fuel plugins --sync ?
13:25 Ahharu yes
13:25 Ahharu now it has only this
13:25 Ahharu https://github.com/ahharu/fuel-plugin-midonet/blob/master/deployment_tasks.yaml
13:26 dancn mskalski: the plugin need to wait for keystone and switf to be available, then to launch one task on the controller and after the completion of the task two other task, one after another in the new created host with role fuel-plugin-storlets_role, it should not be difficult to express that, i hope!
13:26 mskalski Ahharu: please make this more like this http://paste.ubuntu.com/23145783/
13:28 Ahharu cant you use yaml lists anymore?
13:29 mskalski Ahharu: remove https://github.com/ahharu/fuel-plugin-midonet/blob/master/deployment_tasks.yaml#L13, and I this you want to execute this in pre_deployment
13:30 mskalski Ahharu: you can
13:31 GMAzrael @mskalski: any way to reset to provisioned status?
13:32 Ahharu ok
13:32 Ahharu lemme see
13:33 dancn mskalski: update: I see the 500 error for the graph even after removing the 'stage:.*' lines
13:33 mskalski GMAzrael: hmm probably not, but since you had installation already builded, reset and deploy should proceed faster
13:33 mskalski *installation image
13:33 GMAzrael Redoing the partitioning etc takes a while
13:34 Ahharu what about a way to debug the dep cycle when the graph fails?
13:35 mskalski dancn: but you need to define reuires and required for for all tasks like here https://github.com/SmartInfrastructures/fuel-plugin-storlets/blob/master/deployment_tasks.yaml#L7-L8
13:36 Ahharu with only the code in the pastebin, it still crashes
13:37 dancn mskalski: ok, tnx, will work on that
13:39 mskalski Ahharu: did you run fuel plugins --sync after modifying deployments tasks? for me it works
13:40 Ahharu yes I did
13:41 johnavp1989 joined #fuel
13:42 Ahharu Created new env > Added Controller and NSDB node > fuel-graph and it crashes
13:42 Ahharu even with just the Controller it will crash
13:44 Ahharu were you able to generate graph?
13:45 mskalski Ahharu: yep http://paste.ubuntu.com/23145826/
13:47 mskalski Ahharu: /var/log/nailgun/app.log may contain some hints why its failing
13:50 Ahharu i just see the GET there and a 500
13:50 Ahharu nothing else
13:51 mskalski please paste fuel --env X env --deployment-tasks --download
13:52 Ahharu http://paste.ubuntu.com/23145855/
13:54 alwaysatthenoc joined #fuel
13:55 mskalski Ahharu: line number 25
13:55 mskalski Ahharu: try remove, sync and download graph
13:56 Alec_ joined #fuel
13:56 Alec_ Good morning
13:56 Ahharu I removed it from deployment_tasks.yaml
13:56 Ahharu built new fuel plugin version
13:56 Ahharu and sync
13:56 Ahharu why it still there?
13:56 Ahharu also the names of the functions still are old ones
13:57 Alec_ can anyone provide me with the location of the pxe boot configuration file, i am attempting to change DHCP pools.
13:57 mskalski Alec_: use cobbler command if it is prior fuel 9 it will be in cobbler container
13:58 mskalski Alec_: https://docs.mirantis.com/openstack/fuel/fuel-8.0/operations.html#how-to-modify-kernel-parameters
13:59 DavidRama1 left #fuel
14:00 Alec_ and if i am seeing DHCP Discover come in, but no offers in return. I restarted the dnsmasq process on the host, but not luck
14:01 Alec_ also follow question to my first if it s a mirantis fuel 9.0
14:01 Alec_ how would i modify the PXE pools
14:02 dancn mskalski: updated version at: https://github.com/SmartInfrastructures/fuel-plugin-storlets/blob/master/deployment_tasks.yaml, still 500 on fuel graph --env 11 --download works with fuel --env 11 env --deployment-tasks --download I will have a look at the file created
14:05 mskalski dancn: please remove https://github.com/SmartInfrastructures/fuel-plugin-storlets/blob/master/deployment_tasks.yaml#L52-L53 https://github.com/SmartInfrastructures/fuel-plugin-storlets/blob/master/deployment_tasks.yaml#L40 and cross-depended-by is probably not needed now
14:05 Ahharu ok @mskalski now I could generate graph
14:06 Ahharu lets try if it install the packages
14:06 Ahharu after that how should I debug the dep cycles on my code?
14:06 Ahharu it was code for fuel 8 that I upgraded to new midonet plugin
14:06 dancn mskalski: tnx, will do and retry!
14:14 dancn mskalski: sorry, update but, still 500 on graph! :-(
14:22 vkulanov joined #fuel
14:27 mskalski dancn: could you paste fuel --env 11 env --deployment-tasks --download ?
14:32 dancn mskalski: sure, done at http://paste.openstack.org/show/yH6pmOCH1FEm8lbitaIu/
14:34 dancn oh, I still see stage: post_deployment/6000, but I upgrade the plugin an created a new env... seems that the upgrade has some problem... let me try to remove and re-install it
14:34 mskalski dancn: did you run fuel plugins --sync ?
14:35 dancn by the way in the user interface i saw the updated version number
14:35 dancn mskalski: i did a new build and the fuel plugin install --upgrade *rpm
14:35 dancn mskalski: no --sync
14:37 mskalski dancn: please try completly remove plugin and install new one, or modify deployment tasks file localy (/var/www/nailgun/your_plugin) and run fuel plugins --sync
14:39 dancn mskalski: i am doing it, it will require some time to delete older envs in order to have the plugin deleted
14:41 xarses joined #fuel
14:42 chardegen joined #fuel
14:42 goldenfri joined #fuel
14:42 dguryanov|2 joined #fuel
14:42 gbraad joined #fuel
14:42 Damjanek joined #fuel
14:42 cameron_C joined #fuel
14:42 binarin joined #fuel
14:42 mskalski dancn: ok, the second approach is faster since you don't need to remove plugin and related envs
14:47 mwhahaha joined #fuel
14:48 dancn mskalski: I was thinking that the upgrade is working... and does not need the --sync... anyway now the graph works, I should be able to make some more steps by myself but i guess that tomorrow I will have some network-related issues in the plugin deployment! thanks again mskalski
15:31 ekosareva joined #fuel
15:51 scsnow hi, is it possible to deploy bare mysql/mariadb with fuel 9 w/o clustering (galera, percona..)?
15:55 Ahharu I executed it but in Controller it is getting called BEFORE the fuel_pkgs
15:55 Ahharu :(
15:59 failart joined #fuel
16:09 Vijayendra joined #fuel
16:16 Zer0Byte__ joined #fuel
16:18 raunak joined #fuel
16:20 raunak joined #fuel
16:28 raunak joined #fuel
16:55 Miouge joined #fuel
17:40 Miouge joined #fuel
17:44 Miouge joined #fuel
17:51 mihgen joined #fuel
17:55 code-R joined #fuel
17:56 code-R_ joined #fuel
17:57 Miouge joined #fuel
18:14 code-R joined #fuel
18:15 code-R joined #fuel
18:18 zhsj joined #fuel
18:32 code-R_ joined #fuel
19:43 tatyana joined #fuel
19:44 pchaigno joined #fuel
20:00 fuel-slackbot joined #fuel
20:01 raunak joined #fuel
20:08 kiteall joined #fuel
20:21 Alec_ joined #fuel
20:23 kiteall joined #fuel
20:24 DavidRama joined #fuel
22:47 Julien-zte joined #fuel

| Channels | #fuel index | Today | | Search | Google Search | Plain-Text | summary