*** EinstCrazy has joined #openstack-freezer | 01:25 | |
*** zhangjn has quit IRC | 02:01 | |
*** zhangjn has joined #openstack-freezer | 02:06 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/freezer: Updated from global requirements https://review.openstack.org/315055 | 02:59 |
---|---|---|
*** EinstCrazy has quit IRC | 03:00 | |
*** EinstCrazy has joined #openstack-freezer | 03:30 | |
*** lpetrut has joined #openstack-freezer | 04:15 | |
*** lpetrut has quit IRC | 05:04 | |
*** lpetrut has joined #openstack-freezer | 05:29 | |
*** lpetrut has quit IRC | 05:47 | |
*** lpetrut has joined #openstack-freezer | 06:08 | |
*** lpetrut has quit IRC | 06:13 | |
*** yuval has joined #openstack-freezer | 06:26 | |
*** kjelly has quit IRC | 07:57 | |
*** c00281451_ is now known as chenzeng | 08:07 | |
chenzeng | hi, guys, I have a question, can some body give me some help, thanks. my question is if there 2 scheduler, which jobs do they get to do? for example, there are 10 jobs, scheduler_A maybe get 5 of them to do, and scheduler_B get another 5. | 08:59 |
*** electrofelix has joined #openstack-freezer | 09:01 | |
*** daemontool has joined #openstack-freezer | 09:22 | |
szaher | EinstCrazy: plz re-review this one https://review.openstack.org/#/c/320964/ | 09:25 |
daemontool | o/ | 09:31 |
*** yangyapeng has joined #openstack-freezer | 09:34 | |
EinstCrazy | szaher Hello | 09:38 |
szaher | EinstCrazy: Hi | 09:42 |
szaher | Sorry I wasn't on my desk | 09:42 |
EinstCrazy | en , I've get that previous patch has been deleted. but I've not get what is the problem | 09:43 |
szaher | permission denied ! | 09:44 |
szaher | the permission is denied to access or write on the config files ! | 09:44 |
szaher | EinstCrazy: http://logs.openstack.org/64/320964/6/check/gate-freezer-api-devstack-dsvm/69bd0f6/logs/devstacklog.txt.gz | 09:46 |
*** ksmutthu has joined #openstack-freezer | 09:48 | |
EinstCrazy | OK, I got it | 09:48 |
EinstCrazy | And the second problem why not use the argument -R to chown? | 09:48 |
EinstCrazy | As i known without -R, it only change the folder itself. but this seem to be done before | 09:49 |
EinstCrazy | As in devstack code, nova configure use like this: | 09:52 |
EinstCrazy | 300 sudo install -d -o $STACK_USER $NOVA_CONF_DIR | 09:52 |
EinstCrazy | 301 | 09:52 |
EinstCrazy | 302 install_default_policy nova | 09:52 |
EinstCrazy | 303 | 09:52 |
EinstCrazy | 304 configure_rootwrap nova | 09:52 |
EinstCrazy | 305 | 09:52 |
EinstCrazy | 306 if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then | 09:52 |
EinstCrazy | 307 # Get the sample configuration file in place | 09:52 |
EinstCrazy | 308 cp $NOVA_DIR/etc/nova/api-paste.ini $NOVA_CONF_DIR | 09:52 |
EinstCrazy | 309 fi | 09:52 |
EinstCrazy | 310 | 09:52 |
szaher | I can see it's working fine without the need for -R online what do you think ? | 09:56 |
szaher | Jenkins is giving +1 ! | 09:56 |
openstackgerrit | Merged openstack/freezer-api: Remove version string from elk documents https://review.openstack.org/322927 | 10:00 |
EinstCrazy | I think as it has change the owner of the folder before why do this twice? | 10:00 |
EinstCrazy | If you keep your point, I change my vote | 10:07 |
szaher | EinstCrazy: to make long story short, you say that I need to remove the second chown, and use -R in the first line ? | 10:08 |
szaher | I am going to do another patchset anyway | 10:09 |
EinstCrazy | szaher: i think delete the last line or -R in the last one | 10:09 |
openstackgerrit | yapeng Yang proposed openstack/freezer: Increase the judgment of the state of the cinder volume https://review.openstack.org/318551 | 10:16 |
*** EinstCrazy has quit IRC | 10:32 | |
*** yangyapeng has quit IRC | 10:35 | |
*** zhangjn has quit IRC | 11:36 | |
*** zhangjn has joined #openstack-freezer | 11:38 | |
*** ksmutthu has quit IRC | 11:55 | |
*** electrofelix has quit IRC | 13:39 | |
*** zengchen has joined #openstack-freezer | 13:42 | |
*** electrofelix has joined #openstack-freezer | 13:51 | |
gahan | I've just setup freezer in my cloud but whenever trying to access anything from within Web UI (+ Create Job / + Create action) api throws Critical TypeError: argument of type 'NoneType' is not iterable. File "/usr/local/lib/python2.7/dist-packages/freezer_api/api/common/middleware.py", line 69, in process_request if 'application/json' not in req.content_type: | 13:58 |
m3m0 | gahan: are you running master branches? | 14:10 |
gahan | m3m0: most recent | 14:10 |
gahan | master | 14:10 |
m3m0 | could you try using the stable ones? | 14:10 |
gahan | is it backward compatibile with elasticsearch? | 14:11 |
openstackgerrit | Domhnall Walsh proposed openstack/freezer-api: fix typo in jobs.py https://review.openstack.org/323401 | 14:11 |
m3m0 | I think so, but we are aware of that error, we are working on fix it | 14:12 |
gahan | how do I switch the branch in freezer dir and pull? | 14:12 |
*** yangyapeng has joined #openstack-freezer | 14:12 | |
gahan | what is the latest stable for liberty? | 14:14 |
daemontool | gahan, git clone https://github.com/openstack/freezer | 14:15 |
daemontool | cd freezer | 14:15 |
daemontool | git checkout stable/liberty | 14:15 |
gahan | thanks | 14:16 |
m3m0 | mitaka | 14:18 |
daemontool | git checkout stable/mitaka | 14:19 |
daemontool | newton == master | 14:19 |
*** EinstCrazy has joined #openstack-freezer | 14:19 | |
m3m0 | could someone review this please? https://review.openstack.org/#/c/299248/ | 14:21 |
*** domhnallw has joined #openstack-freezer | 14:22 | |
gahan | liberty/stable throws some mod_Wsgi exception | 14:24 |
gahan | [Tue May 31 14:20:31.551631 2016] [:error] [pid 24065:tid 140718852138752] [remote 10.1.1.143:19380] mod_wsgi (pid=24065): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. | 14:25 |
gahan | and nothing works, dashboard died | 14:25 |
gahan | had to uninstall freezer | 14:25 |
daemontool | gahan, it probably would be better if you use venv | 14:30 |
m3m0 | did you install freezer-web-ui and freezer on the same environment as horizon? | 14:31 |
gahan | I installed api on another box and web-ui and freezer on one | 14:31 |
gahan | Now I have containers unable to remove | 14:35 |
yangyapeng | hello everyone please review this patch if you have time https://review.openstack.org/#/c/312430/ https://review.openstack.org/#/c/318551/ https://review.openstack.org/#/c/315939/ | 14:36 |
gahan | and stable/liberty freezer-agent doesn't work at all. | 14:37 |
gahan | ImportError: cannot import name create_subprocess | 14:37 |
m3m0 | I've seen this | 14:37 |
m3m0 | try removing the freezer folder and uninstallit | 14:38 |
m3m0 | and install it like this: git clone -b stable/mitaka https://github.com/openstack/freezer | 14:38 |
gahan | what's the command to uninstall? | 14:38 |
m3m0 | pip uninstall freezer | 14:38 |
gahan | you sure aobut mitaka while I'm using liberty | 14:38 |
gahan | ? | 14:38 |
gahan | I didn't use pip | 14:38 |
gahan | I use python setup.py install | 14:38 |
m3m0 | could be liberty just clone the right branch from the beggining | 14:38 |
m3m0 | it can be uninstalled using pip as well | 14:38 |
yangyapeng | you can install python-pip | 14:38 |
gahan | I removed it all manually | 14:41 |
gahan | pip uninstall was useless, couldn't find it. | 14:41 |
m3m0 | you install it again? | 14:43 |
gahan | yeah | 14:44 |
gahan | uwsgi is no longer picking up that module | 14:46 |
gahan | ImportError: No module named wsgi | 14:48 |
gahan | everything crapped up, webui | 14:50 |
yangyapeng | ping EinstCrazy | 14:50 |
gahan | any idea how to get rid of the containers from object store using mysql or some other magic? and filesystem too | 14:51 |
EinstCrazy | ? | 14:51 |
daemontool | gahan, my best advise would be to remove the packages you installed and restart from scratch using virtualenv | 14:53 |
gahan | daemontool: that's not ideal I'm already running containers that are heavily in use on that openstack deployment | 14:54 |
daemontool | well then at least uses virtualenv for new tasks | 14:54 |
gahan | I cloned stable/liberty as I was told and still getting warning about depreceations in mitaka | 14:54 |
daemontool | did you install freezer-web-ui_ | 14:55 |
daemontool | ? | 14:55 |
daemontool | already? | 14:55 |
gahan | api, client, and webui | 14:55 |
daemontool | so remove them | 14:55 |
gahan | I did | 14:55 |
daemontool | and reinstall them in a virtualenv | 14:55 |
daemontool | and install all the requirements.txt from the venv | 14:56 |
gahan | how bout old containers in object store? | 14:57 |
gahan | I can't get rid of these through UI | 14:57 |
daemontool | swift delete container_name | 14:58 |
jokke_ | daemontool: \o | 14:58 |
daemontool | jokke_, o/ | 14:58 |
*** yuval has quit IRC | 14:59 | |
gahan | daemontool: that seems to be doing something. as I'm already using lxc containers in deployment do you suggest I create one and for API? I still have to install freezer-web-ui in the same container as openstack-dashboard though, isn't that right? | 14:59 |
daemontool | yes you should install freezer-web-ui in the same container as horizon | 15:01 |
gahan | `pip2 list` lists freezer and freezer-web-ui but refuses to remove them [No files were found to uninstall] | 15:02 |
gahan | shall I manually remove files from /usr/local/lib/python2.7/dist-packages/ ? | 15:03 |
m3m0 | yes, please, that what pip does, | 15:07 |
*** daemontool_ has joined #openstack-freezer | 15:09 | |
gahan | thanks | 15:09 |
*** daemontool has quit IRC | 15:10 | |
*** daemontool_ has quit IRC | 15:11 | |
*** daemontool__ has joined #openstack-freezer | 15:11 | |
*** zengchen has quit IRC | 15:12 | |
daemontool__ | gahan: pip freeze | grep freezer | 15:13 |
gahan | python is throwing exception | 15:14 |
yangyapeng | pip search freezer ? | 15:15 |
m3m0 | which exception? | 15:15 |
gahan | Traceback (most recent call last): | 15:16 |
gahan | File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main | 15:16 |
gahan | status = self.run(options, args) | 15:16 |
gahan | File "/usr/lib/python2.7/dist-packages/pip/commands/freeze.py", line 74, in run | 15:16 |
gahan | req = pip.FrozenRequirement.from_dist(dist, dependency_links, find_tags=find_tags) | 15:16 |
gahan | File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 286, in from_dist | 15:16 |
gahan | assert len(specs) == 1 and specs[0][0] == '==' | 15:16 |
gahan | AssertionError | 15:16 |
*** ksmutthu has joined #openstack-freezer | 15:23 | |
*** ksmutthu has quit IRC | 15:24 | |
*** EinstCrazy has quit IRC | 15:28 | |
*** EinstCrazy has joined #openstack-freezer | 15:29 | |
*** EinstCrazy has quit IRC | 15:29 | |
*** openstackgerrit has quit IRC | 15:33 | |
*** openstackgerrit has joined #openstack-freezer | 15:34 | |
gahan | daemontool__: installed all in container and now I can't even pull freezer-api --help and it still binds to localhost only even when I specifically try different address in /etc/freezer-api.conf | 15:35 |
yangyapeng | hello gahan | 15:38 |
gahan | hello | 15:38 |
openstackgerrit | Merged openstack/freezer-api: fix typo in jobs.py https://review.openstack.org/323401 | 15:38 |
yangyapeng | if you have a freezer user in keystone | 15:38 |
yangyapeng | 1. create a freezer user in keystone 2. install elasticsearch 3. config freezer-api.conf 4. init sql | 15:40 |
gahan | ok all 4 done | 15:40 |
gahan | now freezer-api --help gives socket.gaierror: [Errno -2] Name or service not known | 15:40 |
gahan | amongst many other lines | 15:40 |
gahan | when starting, there's a deprececation warning about Mitaka even though my branch is stable/liberty | 15:41 |
openstackgerrit | Memo Garcia proposed openstack/python-freezerclient: Fixed client creation when no os_backup_url is given https://review.openstack.org/323456 | 15:41 |
yangyapeng | keystone user-create --name freezer --pass FREEZER_PWD | 15:43 |
yangyapeng | keystone user-role-add --user freezer --tenant service --role admin | 15:43 |
yangyapeng | keystone service-create --name freezer --type backup \ --description "Freezer Backup Service” | 15:43 |
yangyapeng | keystone endpoint-create --service-id $(keystone service-list | awk '/ backup / {print $2}') \ | 15:43 |
yangyapeng | --publicurl http://172.16.20.16:9090\ | 15:43 |
yangyapeng | --internalurl http://172.16.20.16:9090\ | 15:43 |
yangyapeng | --adminurl http://172.16.20.16:9090\ --region regionOne | 15:43 |
gahan | did that | 15:43 |
yangyapeng | it is done ? | 15:43 |
gahan | 1,2,3,4 are done | 15:43 |
gahan | I may just need to recreate the endpoint as IP has changed after moving inside lxc | 15:44 |
gahan | but I can't see the point if it won't bind anyway to any other address than localhost | 15:44 |
gahan | is it keystone not allowing it? | 15:45 |
gahan | $ keystone endpoint-create --service-id $(keystone service-list | awk '/ backup / {print $2}') --publicurl http://10.1.1.110:9090 --internalurl http://10.1.1.110:9090 --adminurl http://10.1.1.110:9090 --region office | 15:48 |
gahan | bind_host = 10.1.1.110 | 15:48 |
gahan | 2016-05-31 15:47:57,894 root INFO Server listening on 127.0.0.1:9090 | 15:49 |
*** yangyapeng has quit IRC | 15:50 | |
*** yangyapeng has joined #openstack-freezer | 15:50 | |
yangyapeng | i am disconneted just now. | 15:51 |
*** saggi has quit IRC | 16:04 | |
*** yangyapeng has quit IRC | 16:07 | |
openstackgerrit | Merged openstack/freezer-api: Don't check for content-type in requests https://review.openstack.org/320555 | 16:51 |
*** yangyapeng has joined #openstack-freezer | 17:07 | |
*** yangyapeng has quit IRC | 17:12 | |
openstackgerrit | Saad Zaher proposed openstack/freezer-api: Move to Paste and Paste-deploy https://review.openstack.org/320964 | 17:18 |
openstackgerrit | Saad Zaher proposed openstack/freezer-api: Move to Paste and Paste-deploy https://review.openstack.org/320964 | 17:19 |
openstackgerrit | Saad Zaher proposed openstack/freezer-api: Move to Paste and Paste-deploy https://review.openstack.org/320964 | 17:20 |
*** lpetrut has joined #openstack-freezer | 17:30 | |
*** daemontool__ has quit IRC | 17:54 | |
*** daemontool has joined #openstack-freezer | 17:55 | |
*** electrofelix has quit IRC | 18:12 | |
openstackgerrit | Clenimar Filemon proposed openstack/freezer: Switch to keystoneauth https://review.openstack.org/323525 | 18:29 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/freezer-api: Updated from global requirements https://review.openstack.org/288699 | 18:50 |
*** yangyapeng has joined #openstack-freezer | 19:09 | |
*** yangyapeng has quit IRC | 19:14 | |
*** daemontool has quit IRC | 19:38 | |
*** lpetrut has quit IRC | 19:53 | |
*** daemontool has joined #openstack-freezer | 20:15 | |
*** daemontool_ has joined #openstack-freezer | 20:31 | |
*** daemontool has quit IRC | 20:33 | |
*** daemontool_ has quit IRC | 21:02 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!