*** dshulyak has joined #openstack-solar | 08:54 | |
*** salmon_ has joined #openstack-solar | 09:05 | |
salmon_ | yo | 09:24 |
---|---|---|
salmon_ | can you review it https://review.openstack.org/#/c/284129/ ? | 09:24 |
pigmej | sure | 09:25 |
pigmej | I'm testing it now ;) | 09:25 |
pigmej | salmon_: https://review.openstack.org/#/c/284262/ | 09:48 |
bogdando | pigmej, it requires 1.10 docker | 11:06 |
pigmej | ah.. | 11:16 |
pigmej | bogdando: so I cannot test | 11:33 |
bogdando | sad ;l | 11:36 |
salmon_ | dshulyak: btw. I can see tasks in deployment_info in astute, I don't get what do you want to get from nailgun :( | 11:42 |
dshulyak | salmon_: maybe thats a bug, but it is clearly not the tasks we are looking for | 11:43 |
salmon_ | dshulyak: but astute doesn't look for another tasks | 11:44 |
dshulyak | salmon_: https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/task/task.py#L236-L241 | 11:44 |
dshulyak | yes it does | 11:44 |
dshulyak | salmon_: https://github.com/openstack/fuel-astute/commit/583d68b1cbac03a4f9b6bb9f15921fbbb38159ee | 11:46 |
salmon_ | dshulyak: hmm, ok. nailgun sends this to astute deployment_info and deployment_tasks https://github.com/openstack/fuel-astute/commit/583d68b1cbac03a4f9b6bb9f15921fbbb38159ee#diff-d8e8658074af5e3f6e87af4299256905R117 | 11:46 |
salmon_ | but it's not possible to get it via api? yes? | 11:46 |
salmon_ | this is funny https://github.com/openstack/fuel-astute/blob/master/lib/astute/task_deployment.rb#L109-L129 | 11:48 |
pigmej | dshulyak: salmon_ we need to schedule fast call | 11:49 |
dshulyak | pigmej: i am eating | 11:50 |
pigmej | when do you finish? | 11:50 |
dshulyak | depends :) | 11:50 |
salmon_ | pigmej: dshulyak I'm ready, just let me know when you are | 11:50 |
dshulyak | 15-20 mins, ok? | 11:50 |
bogdando | pigmej, no way to install 1.10 at fedora, really? | 11:51 |
pigmej | bogdando: there is copr, I will try it | 12:00 |
pigmej | dshulyak: salmon_ evgenyl I created meeting in next 15 minutes but if you have time now, we can start it now | 12:01 |
openstackgerrit | Merged openstack/solar: Fix parsing list of dicts https://review.openstack.org/284129 | 12:53 |
salmon_ | dshulyak: we still need a data_role resource, symlinks are still generated: 2016-02-25 10:33:03 DEBUG [27411] 5147d6e0-11f3-4d68-a053-6b20589f19bc: cmd: ln -s -f /etc/base-os.yaml /etc/astute.yaml | 13:29 |
salmon_ | 2016-02-25 10:33:03 DEBUG [27411] Task time summary: pre_deployment_start with status successful on node virtual_sync_node took 00:00:00 | 13:29 |
dshulyak | salmon_: are you sure that task based is enabled on your iso? | 13:40 |
salmon_ | dshulyak: 2016-02-25 10:33:03 INFO [27411] Task based deployment will be used | 13:40 |
dshulyak | hm | 13:40 |
salmon_ | dshulyak: this is the newest iso | 13:40 |
dshulyak | salmon_: ok, Vova said that there is always only one file is linked | 13:43 |
dshulyak | so we can put data directly to astute.yaml | 13:43 |
salmon_ | awesome, some logs are in astute.yaml, some can be read via journalctl | 13:54 |
salmon_ | *astute.log | 13:54 |
salmon_ | yup. it's run only once. Strange | 14:04 |
openstackgerrit | Bogdan Dobrelya proposed openstack/solar-resources: Do not use atomic file updates for hosts_file https://review.openstack.org/283120 | 14:21 |
dshulyak | i think we need another handler type | 14:38 |
dshulyak | shell | 14:38 |
dshulyak | instead of copying bash - it will just run command, like this one https://github.com/openstack/fuel-library/blob/master/deployment/puppet/osnailyfacter/modular/astute/tasks.yaml#L9 | 14:39 |
pigmej | dshulyak: you can do it using ansible handler :) | 14:39 |
openstackgerrit | Bogdan Dobrelya proposed openstack/solar: Add packer build for docker container https://review.openstack.org/281767 | 14:40 |
dshulyak | can i? i want to put cmd directly in action | 14:41 |
dshulyak | run: echo 1 | 14:41 |
pigmej | yup | 14:41 |
pigmej | http://docs.ansible.com/ansible/shell_module.html | 14:41 |
openstackgerrit | Bogdan Dobrelya proposed openstack/solar: Add packer build for docker container https://review.openstack.org/281767 | 14:42 |
dshulyak | pigmej: can you post an example? | 14:42 |
pigmej | dshulyak: sure | 14:44 |
pigmej | http://docs.ansible.com/ansible/shell_module.html#examples | 14:44 |
dshulyak | no | 14:45 |
salmon_ | dshulyak: pigmej https://bpaste.net/show/fdd18b345a40 :) | 14:45 |
pigmej | yup it has to work like that :) | 14:45 |
dshulyak | i am talking about run: in resources | 14:45 |
pigmej | salmon_: posted example dshulyak | 14:45 |
dshulyak | i need to generate this stuff | 14:46 |
dshulyak | and it has nothing to do with ansible | 14:46 |
pigmej | ah | 14:46 |
pigmej | well simple shell handler is easy to be written :) | 14:46 |
pigmej | but afair our own calls bash -c | 14:47 |
pigmej | so it should be able to execute any action that you want, so maybe I don't get the problem | 14:47 |
salmon_ | dshulyak: just create resource shell with the same inputs like paramters | 14:49 |
salmon_ | dshulyak: why do you need another handler? | 14:50 |
dshulyak | https://github.com/dshulyak/f2s/blob/more_tasks/resources/sync_time/meta.yaml#L5-L8 | 15:01 |
dshulyak | salmon_: why resource? | 15:02 |
dshulyak | ah | 15:02 |
dshulyak | we have support for this? | 15:02 |
pigmej | dshulyak: nope :( | 15:03 |
pigmej | dshulyak: it's not that trivial then, becaue all our handlers are expecting files | 15:04 |
salmon_ | it is trivial :P | 15:05 |
salmon_ | if not os.path.exists() ... :P | 15:05 |
salmon_ | but it's easier to do the way I posted | 15:06 |
salmon_ | easier == without changes in solar | 15:06 |
pigmej | bogdando: ❯ docker --version solar/git/fix_zerorpc-1 | 15:35 |
pigmej | Docker version 1.10.0-rc2, build f5a33dd | 15:35 |
pigmej | wrr | 15:35 |
pigmej | Docker version 1.10.0-rc2, build f5a33dd | 15:35 |
bogdando | cool | 15:35 |
bogdando | you can share details in docs ;) | 15:36 |
pigmej | at first I will need to play with it:P | 15:36 |
*** angdraug has joined #openstack-solar | 15:58 | |
openstackgerrit | Bogdan Dobrelya proposed openstack/solar: (WIP) Add centos7 docker support https://review.openstack.org/284782 | 16:07 |
openstackgerrit | Bogdan Dobrelya proposed openstack/solar: (WIP) Add centos7 docker support https://review.openstack.org/284782 | 16:54 |
pigmej | bogdando: hmm, that docker is not working for me | 16:55 |
pigmej | I mean I was able to bootstrap but nothing more | 16:55 |
pigmej | vagrant ssh is not working obviously | 16:55 |
bogdando | I put a note about exec | 16:55 |
pigmej | so I have no idea how I can check it if it really works | 16:55 |
bogdando | and I was able to deploy riak | 16:55 |
pigmej | how ? | 16:55 |
pigmej | you just exec bash in container? | 16:56 |
bogdando | do not use vagrant ssh, use docker exec -it :) | 16:56 |
bogdando | ssh works inside, as a transport | 16:56 |
pigmej | ok bogdando so we need at firt to upload the image to hub :) | 16:56 |
bogdando | you can also ssh as vagrant@ip | 16:56 |
pigmej | ok | 16:56 |
bogdando | yes, you can just put mine | 16:56 |
pigmej | that's the only change, so I will test everything and then we will upload it to hub, sounds fair? | 16:57 |
*** salmon_ has quit IRC | 16:58 | |
pigmej | bogdando: | 17:07 |
pigmej | https://bpaste.net/show/bfc0e10f919e | 17:07 |
pigmej | ah | 17:08 |
pigmej | you should rebase bogdando | 17:08 |
pigmej | strange error though | 17:23 |
pigmej | and root@solar-dev:/vagrant# solar repository show | 17:25 |
pigmej | Error: [Errno 2] No such file or directory: '/var/lib/solar/repositories' | 17:25 |
pigmej | something is not fully right there I think | 17:25 |
*** dshulyak has quit IRC | 18:27 | |
*** dshulyak has joined #openstack-solar | 18:29 | |
*** salmon_ has joined #openstack-solar | 18:40 | |
*** angdraug has quit IRC | 19:12 | |
*** salmon_ has quit IRC | 19:28 | |
*** angdraug has joined #openstack-solar | 20:39 | |
*** dshulyak has quit IRC | 21:01 | |
*** salmon_ has joined #openstack-solar | 21:09 | |
*** salmon_ has quit IRC | 22:47 | |
*** salmon_ has joined #openstack-solar | 22:48 | |
*** salmon_ has quit IRC | 23:28 | |
*** angdraug has quit IRC | 23:43 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!