kota_ | eranrom: hi | 06:50 |
---|---|---|
eranrom | Hi | 06:50 |
kota_ | eranrom: I'm now trying to play with your demo | 06:50 |
kota_ | https://github.com/eranr/e2emlstorlets | 06:50 |
eranrom | yep | 06:50 |
eranrom | problems? | 06:51 |
kota_ | and question i have, the `tox -e functional` <- what is that | 06:51 |
kota_ | at Installation block | 06:51 |
kota_ | the tox in 2emlstorlets doesn't have the section for functional | 06:52 |
kota_ | but "func" exists? | 06:52 |
eranrom | oops! sec. | 06:52 |
kota_ | i did `tox -e func` but almosts fails | 06:52 |
kota_ | so it looks like no swift and storlets running with the instllation | 06:53 |
eranrom | so after running install.sh swift isn't running? | 06:54 |
kota_ | wait a bit, try to check | 06:54 |
kota_ | not running | 06:54 |
eranrom | one sec. | 06:55 |
kota_ | looking the install.sh | 06:55 |
kota_ | er - that calls s2aio.sh | 06:56 |
kota_ | so it should work | 06:56 |
eranrom | right | 06:56 |
eranrom | what does 'sudo docker images'show? | 06:56 |
kota_ | no docker command found | 06:57 |
kota_ | it looks like I was missing to install dependencies yet | 06:57 |
kota_ | so s2aio.sh seemed to fail for the reason | 06:58 |
kota_ | try to install the dependencies (e.g. build-essentials | 06:58 |
eranrom | a-ha! | 06:58 |
eranrom | wait! | 06:58 |
eranrom | there is a problem in the committed script! | 06:58 |
eranrom | there is an exit command right before the call to s2aio | 06:58 |
eranrom | see line 5 | 06:59 |
eranrom | Let me fix that... | 06:59 |
eranrom | this was not supposed to get committed... | 06:59 |
kota_ | oic | 06:59 |
kota_ | I'm now trying to run the install.sh removing the line 5 exit | 07:00 |
kota_ | it looks to run installation | 07:00 |
eranrom | I have just pushed the changes to install.sh and README.md | 07:02 |
eranrom | apologies for that! | 07:02 |
kota_ | np, I'd like to use the notebook for an introduction for my customer ;-) | 07:03 |
kota_ | eranrom: hmm... still failed at "Cannot determine the project id. Please execute install.sh [project id]" | 07:18 |
kota_ | it looks like docker command not installed | 07:18 |
kota_ | `sudo docker images` -> command not found | 07:19 |
eranrom | kota_: sec. | 07:19 |
eranrom | has swift been installed? | 07:20 |
kota_ | yes | 07:20 |
kota_ | but it looks not runniing | 07:21 |
kota_ | running | 07:21 |
eranrom | so the storlets installation failed along the way. Do you have a file ~/storlets/install/storlets/deploy/cluster_config.json? | 07:23 |
kota_ | let me check | 07:25 |
kota_ | it looks no such a file exists | 07:27 |
eranrom | what happens if you manually go to ~/storlets and execute ./s2aio.sh dev host | 07:28 |
eranrom | wait | 07:28 |
eranrom | perhaps this is not a good idea. | 07:28 |
eranrom | thinking... | 07:28 |
eranrom | Do you have /etc/swift/ with all config files in place? | 07:29 |
kota_ | sec | 07:29 |
kota_ | the swift was set up. | 07:30 |
eranrom | ok. | 07:30 |
kota_ | but it looks like keystone authentication failed | 07:31 |
eranrom | and this is what broke the storlets installation. | 07:31 |
eranrom | Let me try the whole process locally, and see what fails. few mins | 07:31 |
kota_ | hmm... | 07:32 |
kota_ | while doing try/fail, the env seems moving weird | 07:33 |
kota_ | so let me start with brand-new env | 07:33 |
eranrom | kota_: ok, will keep ypou updated on my findings | 07:46 |
eranrom | kota_: there seem to be a change in the Keystone default url. I am checking this | 07:52 |
eranrom | this should break our functional at the gate... | 07:53 |
kota_ | hmm... still fail with the same point | 07:59 |
kota_ | that said "sudo: docker: command not found" | 07:59 |
kota_ | seems we need to run s2aio.sh dev docker? | 07:59 |
eranrom | kota_: I think that there has been a change in keystone defaults, which requires a change in s2aio.sh | 08:19 |
*** openstackgerrit has joined #openstack-storlets | 08:20 | |
openstackgerrit | Kota Tsuyuzaki proposed openstack/storlets master: Fix s2aio.sh to address trusty -> xenial https://review.openstack.org/458385 | 08:20 |
eranrom | kota_: I guess we have not seen it yet, as we did not run any gate job in the last several days | 08:20 |
kota_ | ok, eranrom and I found an issue which uses still trusty repo | 08:20 |
eranrom | kota_: good point. Lets see if my theory on gate being broken is true... | 08:21 |
eranrom | I think that Jenkins will fail on the patch, due to Keystone changes. Lets see... | 08:22 |
eranrom | kota_: As I thought, we run into the same issue on the gate. | 08:29 |
eranrom | kota_: hopefully will have a patch soon | 08:29 |
kota_ | eranrom: much appreciated | 08:31 |
kota_ | eranrom: ok, after installing docker successfully, I probably hit the issue you described | 08:35 |
eranrom | kota_: makes sense. | 08:35 |
eranrom | I hate those Keystone changes... | 08:35 |
kota_ | yeah | 08:36 |
kota_ | so you hit auth failure, right? | 08:36 |
eranrom | right. | 08:37 |
openstackgerrit | Kota Tsuyuzaki proposed openstack/storlets master: Ristrict ipython upper version https://review.openstack.org/458401 | 08:46 |
openstackgerrit | Kota Tsuyuzaki proposed openstack/storlets master: Restrict ipython upper version https://review.openstack.org/458401 | 08:46 |
kota_ | it seems one more patch we need | 08:46 |
openstackgerrit | Kota Tsuyuzaki proposed openstack/storlets master: Fix s2aio.sh to address trusty -> xenial https://review.openstack.org/458385 | 08:48 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Fixing func test gate job https://review.openstack.org/458402 | 08:52 |
eranrom | kota_: here is a quick fix to your env: | 08:53 |
eranrom | edit ~/devstack/localrc | 08:53 |
eranrom | change export OS_AUTH_URL="http://$KEYSTONE_IP:5000/v3" to export OS_AUTH_URL="http://$KEYSTONE_IP/identity_admin" | 08:54 |
eranrom | edit ~/storlets/install/storlets/deploy/cluster_config (do this with sudo) | 08:54 |
eranrom | you still do not have the last file, so do this instead: | 08:55 |
kota_ | looking | 08:55 |
eranrom | execute lines 57-72 of ~/storlets/install/swift/install_swift.sh | 08:57 |
eranrom | go to ~/storlets | 08:57 |
kota_ | eranrom: quick qusetion, does it run with... port 80? | 08:57 |
eranrom | run: install/storlets/prepare_storlets_install.sh dev host | 08:58 |
kota_ | it looks we needn't the port 5000 anymore but I'm not sure on that | 08:58 |
eranrom | kota_: right | 08:58 |
eranrom | this is one of the changes | 08:58 |
eranrom | see the patch I have sent | 08:58 |
eranrom | then go to ~/storlets/install/storlets | 08:58 |
eranrom | edit (with sudo) the file deploy/cluster_config | 08:59 |
eranrom | change "keystone_public_url": "http://127.0.0.1:5000/v3", to "keystone_public_url": "http://127.0.0.1/identity/v3", | 09:00 |
eranrom | and then run ./install_storlets.sh | 09:00 |
eranrom | kota_: The above steps are a quick hack to get your e2emlstorlets env up and running | 09:00 |
kota_ | let me step | 09:01 |
eranrom | kota_: it starts with the changes to ~/devstack/localrc | 09:02 |
eranrom | kota_: see above... | 09:02 |
kota_ | ok, re-run the scripts | 09:07 |
kota_ | eranrom: sorry, i have to leave for a while here, will be back in 2 hours or... will look at tommorow morning | 09:07 |
eranrom | sure | 09:08 |
eranrom | talk to you later | 09:08 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Fixing func test gate job https://review.openstack.org/458402 | 09:09 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Fixing func test gate job https://review.openstack.org/458402 | 09:34 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Fixing func test gate job https://review.openstack.org/458402 | 10:10 |
kota_ | eranrom: quick report, the installation seems to succeed | 11:08 |
kota_ | eranrom: swift stat returns correct answer | 11:08 |
kota_ | I'll try to step the remaining steps to run the notebook | 11:09 |
openstackgerrit | Merged openstack/storlets master: Fixing func test gate job https://review.openstack.org/458402 | 11:12 |
kota_ | it looks we need to fix the keystone path in access.cfg for the demo though | 11:13 |
kota_ | hmm... test_recognize_face run as successful | 11:16 |
kota_ | others failed | 11:16 |
kota_ | need to go deep dive more. Will do tommorow | 11:16 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Fix s2aio.sh to address trusty -> xenial https://review.openstack.org/458385 | 11:27 |
eranrom | kota_: right. I will check in the meantime what breaks there | 11:28 |
*** openstackgerrit has quit IRC | 11:32 | |
*** openstackgerrit has joined #openstack-storlets | 12:54 | |
openstackgerrit | Merged openstack/storlets master: Fix s2aio.sh to address trusty -> xenial https://review.openstack.org/458385 | 12:54 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Adding invocation magics to the IPython extension https://review.openstack.org/452649 | 12:56 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Adding invocation magics to the IPython extension https://review.openstack.org/452649 | 13:28 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Adding invocation magics to the IPython extension https://review.openstack.org/452649 | 13:58 |
eranrom | kota_: I have made several adjustments to the e2emlstorlets repo to 'revive' the func tests. They should work now. | 14:11 |
eranrom | please note, however, that passing the tests is not mandatory for the notebook to work. | 14:12 |
eranrom | also, note that the neural network training has a random element, so expect different results in different executions. | 14:12 |
eranrom | Having said that, in all of the execution I have done, I always got 75-100 precent success for 3 out of the 4 faces being recognized, and one with ~50% success | 14:13 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Add start / stop to s2aio https://review.openstack.org/395152 | 14:27 |
openstackgerrit | Eran Rom proposed openstack/storlets master: Adding invocation magics to the IPython extension https://review.openstack.org/452649 | 14:37 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!