*** arnaud____ has joined #openstack-fr | 04:22 | |
*** arnaud____ has quit IRC | 05:21 | |
*** JeanBriceCombebi has joined #openstack-fr | 06:22 | |
*** jlanoux has joined #openstack-fr | 07:04 | |
*** thomnico has joined #openstack-fr | 07:37 | |
*** Fdot has joined #openstack-fr | 07:38 | |
*** daviddcc has joined #openstack-fr | 08:00 | |
*** JeanBriceCombebi has quit IRC | 08:07 | |
*** JeanBriceCombebi has joined #openstack-fr | 08:09 | |
*** yassine_ has joined #openstack-fr | 08:14 | |
*** jlanoux has quit IRC | 08:15 | |
*** openstack has quit IRC | 08:25 | |
*** openstack has joined #openstack-fr | 08:26 | |
*** JeanBriceCombebi has quit IRC | 08:30 | |
*** egallen has joined #openstack-fr | 08:38 | |
*** sebm3 has joined #openstack-fr | 09:09 | |
*** user2 has quit IRC | 09:12 | |
*** thomnico has quit IRC | 09:18 | |
*** thomnico has joined #openstack-fr | 09:27 | |
*** jlanoux has joined #openstack-fr | 10:33 | |
*** egallen has quit IRC | 10:45 | |
*** daviddcc has quit IRC | 10:52 | |
dachary | bonjour ! | 11:11 |
---|---|---|
dachary | je cherche a utiliser un cloud public OpenStack qui propose l'API neutron (en utilisant ma carte de credit, pour un usage personnel ou associatif). Est-ce que vous connaissez quelque chose qui fonctionne ? Pour l'instant j'ai trouvé entercloudsuite.com. | 11:13 |
*** egallen has joined #openstack-fr | 11:16 | |
*** thomnico has quit IRC | 11:55 | |
*** thomnico has joined #openstack-fr | 11:57 | |
*** thomnico has quit IRC | 11:57 | |
*** egallen has quit IRC | 11:59 | |
*** egallen has joined #openstack-fr | 12:02 | |
*** Fdot has quit IRC | 12:08 | |
*** JeanBriceCombebi has joined #openstack-fr | 12:10 | |
*** Fdot has joined #openstack-fr | 12:19 | |
*** thomnico has joined #openstack-fr | 12:22 | |
*** daviddcc has joined #openstack-fr | 12:28 | |
*** JeanBriceCombebi has quit IRC | 12:32 | |
*** zulf has joined #openstack-fr | 12:35 | |
*** JeanBriceCombebi has joined #openstack-fr | 12:35 | |
*** daviddcc has quit IRC | 12:38 | |
*** JeanBriceCombebi has quit IRC | 12:39 | |
*** JeanBriceCombebi has joined #openstack-fr | 12:41 | |
*** EmilienM is now known as EmilienM|off | 12:50 | |
*** l_a_m has quit IRC | 13:41 | |
*** l_a_m has joined #openstack-fr | 13:43 | |
*** egallen has left #openstack-fr | 13:50 | |
*** thomnico has quit IRC | 14:00 | |
*** thomnico_ has joined #openstack-fr | 14:00 | |
*** thomnico has joined #openstack-fr | 14:02 | |
*** thomnico_ has quit IRC | 14:05 | |
*** l_a_m has quit IRC | 14:18 | |
*** l_a_m has joined #openstack-fr | 14:19 | |
*** JeanBriceCombebi has quit IRC | 14:24 | |
*** l_a_m has quit IRC | 14:31 | |
*** l_a_m has joined #openstack-fr | 14:32 | |
*** JeanBriceCombebi has joined #openstack-fr | 14:40 | |
*** JeanBriceCombebi has quit IRC | 15:08 | |
*** JeanBriceCombebi has joined #openstack-fr | 15:10 | |
*** egallen has joined #openstack-fr | 15:32 | |
*** Fdot has quit IRC | 15:46 | |
*** thomnico_ has joined #openstack-fr | 15:48 | |
*** egallen has quit IRC | 15:48 | |
*** thomnico has quit IRC | 15:50 | |
*** egallen has joined #openstack-fr | 15:54 | |
*** JeanBriceCombebi has quit IRC | 15:55 | |
*** Homere has quit IRC | 16:04 | |
*** jlanoux has quit IRC | 16:07 | |
*** arnaud____ has joined #openstack-fr | 16:13 | |
*** arnaud____ has quit IRC | 16:20 | |
*** zulf has quit IRC | 16:28 | |
huats | bauzas: tiens une question : tu sais où est stocké le num_attempts de nova_scheduller en base ? | 16:42 |
huats | ça m'intéresse | 16:42 |
bauzas | huats: il l'est pas :) | 16:49 |
huats | bauzas: ah ? | 16:49 |
bauzas | huats: votre sieur ici présent a pour boulot de le foutre en base justement :p | 16:49 |
huats | c'est dynamique actuelleent ? | 16:50 |
bauzas | huats: tu parles bien du retry ? | 16:50 |
huats | oui | 16:50 |
bauzas | huats: dynamique, c'est un bien grand terme :D | 16:50 |
huats | car je vois pas trop trop le fonctionnement :) | 16:50 |
bauzas | huats: en gros, t'as un dictionnaire qui s'appelle filter_properties | 16:50 |
huats | ouep | 16:50 |
bauzas | huats: c'est un gros fourre-tout merdier | 16:50 |
huats | en mémoire ? | 16:50 |
bauzas | huats: bien sûr :) | 16:51 |
bauzas | huats: pas versionné, pas typé, tous les trucs marrants | 16:51 |
huats | donc en mémoire du scheduler ? | 16:51 |
bauzas | huats: nan, mieux | 16:51 |
huats | sympa... | 16:51 |
huats | ah ? | 16:51 |
bauzas | huats: en gros, le truc est généré dans la compute api (si mes souvenirs sont bons) puis passé au conductor qui rajoute une ou deux clés, puis passé au scheduler | 16:51 |
bauzas | huats: jusque là, ton retry dict, il existe pas | 16:52 |
huats | ok | 16:52 |
bauzas | huats: donc le scheduler prend ce filt_props, le refile à tous ses filtres et là paf y a le RetryFilter qui lit justement la clé retry | 16:52 |
huats | ok | 16:52 |
huats | car je fais des tests depuis tout à l'heure | 16:52 |
bauzas | huats: dans le cas initial, y a rien à broncher, vu que la clé existe pas | 16:53 |
huats | (pour un soucis autour de ironic) | 16:53 |
huats | et je relance juste le scheduler :) | 16:53 |
*** thomnico_ has quit IRC | 16:53 | |
huats | donc je vais aussi relancer l'api et le scheduler :) | 16:53 |
huats | et donc pourquoi tu dois changer ça ? | 16:53 |
*** thomnico has joined #openstack-fr | 16:53 | |
bauzas | je reformule | 16:53 |
bauzas | (me suis trompé) | 16:54 |
bauzas | donc en gros, avant que le conductor appelle le scheduler, il appelle un scheduler_utils.populate_retry() qui ajoute le dict vide dans filt_props | 16:54 |
bauzas | avec un num_attempts à 0 | 16:54 |
bauzas | ensuite, filt_props est passé en payload du RPC call vers le scheduler, qui le passe au RetryFilter qui bronche pas | 16:55 |
bauzas | jusque là, tout va bien | 16:55 |
huats | ok | 16:56 |
bauzas | huats: ensuite, la réponse revient au conductor, qui appelle donc ensuite le compute | 16:56 |
huats | oui | 16:56 |
bauzas | toujours en gardant ce magnifique dict, qui est donc avec un num_attempts à 1 et pas de hosts | 16:56 |
bauzas | le compute prend alors la requete dans build_and_run_instance(), appelle le virt driver, et si tout va bien dans le meilleur des mondes, ca se termine | 16:57 |
bauzas | huats: tu me suis toujours ? | 16:58 |
huats | oui oui | 16:58 |
bauzas | huats: ok | 16:58 |
bauzas | huats: bon, c'est là que les bactéries attaquent et que t'as pas tonyglandyl | 16:59 |
bauzas | huats: tu te manges une exception au moment du spawn au niveau du compute | 16:59 |
huats | ok | 17:00 |
bauzas | huats: parce que par exemple, tu as le claiming des resources qui marche pas, ou à cause de libvirt | 17:01 |
bauzas | huats: donc là, une exception est catchée et paf tu génères une RescheduledException qui elle meme est catchée | 17:02 |
huats | ok | 17:02 |
bauzas | huats: et là, boum, tu es toujours sur le compute | 17:02 |
huats | moyen :( | 17:02 |
bauzas | huats: je te file le lien | 17:02 |
huats | ok merci | 17:02 |
bauzas | https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L1890 | 17:03 |
bauzas | huats: et donc là, magie, tu lis le retry dict pour vérifier que t'autorises les retries et si oui, tu rapplles le conductor pour lui dire "eh, mon pote, reschedule moi ca siouplé" | 17:03 |
bauzas | https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L1920-L1923 | 17:04 |
bauzas | huats: le conductor rappelle populate_retry() avant de rappeller le scheduler | 17:04 |
bauzas | et là boum, ca incrémente de un | 17:04 |
huats | je vais regarder tout ça | 17:06 |
huats | merci bauzas ! | 17:06 |
*** thomnico has quit IRC | 17:06 | |
bauzas | huats: en gros, le payload est généré en mémoire par le conductor, passé au scheduler qui le refile au conductor, passé au compute, qui le repasse au conductor | 17:07 |
bauzas | huats: y a rien de persisté là dedans | 17:07 |
huats | ok | 17:17 |
*** egallen has quit IRC | 17:21 | |
*** egallen has joined #openstack-fr | 17:22 | |
*** yassine_ has quit IRC | 17:51 | |
*** egallen has quit IRC | 18:09 | |
*** _william_ has joined #openstack-fr | 18:22 | |
*** egallen has joined #openstack-fr | 18:23 | |
*** egallen has quit IRC | 18:34 | |
*** daviddcc has joined #openstack-fr | 18:46 | |
*** arnaud____ has joined #openstack-fr | 19:20 | |
*** arnaud____ has quit IRC | 19:25 | |
*** egallen has joined #openstack-fr | 20:01 | |
*** daviddcc has quit IRC | 20:49 | |
*** daviddcc has joined #openstack-fr | 21:32 | |
*** daviddcc has quit IRC | 21:33 | |
*** daviddcc has joined #openstack-fr | 21:34 | |
*** _william_ has quit IRC | 22:06 | |
*** lnicolas has joined #openstack-fr | 22:16 | |
*** egallen has left #openstack-fr | 23:24 | |
*** daviddcc has quit IRC | 23:56 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!