*** ccneill has quit IRC | 00:09 | |
*** richm has quit IRC | 00:09 | |
*** jasonsb has quit IRC | 00:13 | |
*** jasonsb has joined #openstack-dns | 00:13 | |
*** jasonsb has quit IRC | 00:18 | |
*** rsyed is now known as rsyed_away | 00:18 | |
*** cliles has quit IRC | 00:19 | |
*** mlavalle has quit IRC | 00:20 | |
*** Pavo has quit IRC | 00:23 | |
*** Pavo has joined #openstack-dns | 00:24 | |
*** Pavo has quit IRC | 00:28 | |
*** Pavo has joined #openstack-dns | 00:29 | |
*** ducttape_ has joined #openstack-dns | 00:42 | |
*** _ducttape_ has joined #openstack-dns | 01:15 | |
*** ducttape_ has quit IRC | 01:18 | |
*** _ducttape_ has quit IRC | 01:29 | |
*** jasonsb has joined #openstack-dns | 01:31 | |
*** stanzgy has joined #openstack-dns | 01:56 | |
*** rsyed_away is now known as rsyed | 02:06 | |
*** rsyed is now known as rsyed_away | 02:08 | |
*** Diplomat has quit IRC | 02:45 | |
*** jmcbride has joined #openstack-dns | 02:59 | |
*** jmcbride has quit IRC | 03:04 | |
*** rudrajit has joined #openstack-dns | 03:34 | |
*** fawadkhaliq has joined #openstack-dns | 03:39 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/designate: Updated from global requirements https://review.openstack.org/243920 | 04:02 |
---|---|---|
*** fawadkhaliq has quit IRC | 04:17 | |
*** fawadkhaliq has joined #openstack-dns | 05:02 | |
*** Jet_ has joined #openstack-dns | 05:40 | |
*** fawadkhaliq has quit IRC | 06:01 | |
*** fawadkhaliq has joined #openstack-dns | 06:02 | |
*** fawadk has joined #openstack-dns | 06:03 | |
*** Jet_ has quit IRC | 06:03 | |
*** fawadkhaliq has quit IRC | 06:04 | |
*** rudrajit has quit IRC | 06:15 | |
*** jschwarz has joined #openstack-dns | 06:22 | |
*** jschwarz_ has joined #openstack-dns | 06:33 | |
*** jschwarz has quit IRC | 06:34 | |
*** Jet_ has joined #openstack-dns | 06:37 | |
*** rudrajit has joined #openstack-dns | 06:41 | |
*** rudrajit has quit IRC | 06:45 | |
*** logan2 has quit IRC | 07:40 | |
*** logan2 has joined #openstack-dns | 07:40 | |
*** jasonsb_ has joined #openstack-dns | 07:41 | |
*** whydidyoustealmy has joined #openstack-dns | 07:43 | |
*** jasonsb has quit IRC | 07:43 | |
*** barra204 has quit IRC | 07:43 | |
*** jschwarz_ has quit IRC | 07:48 | |
*** fawadk has quit IRC | 07:57 | |
*** fawadkhaliq has joined #openstack-dns | 07:58 | |
*** rudrajit has joined #openstack-dns | 08:12 | |
*** fawadkhaliq has quit IRC | 08:13 | |
*** rudrajit has quit IRC | 08:17 | |
*** Diplomat has joined #openstack-dns | 08:33 | |
Diplomat | Hello! Is it okay to install designate into controller? or I have misunderstood those docs ? | 08:33 |
Diplomat | Oh and another important question.. does it work with liberty ? I can see it's for kilo, but I'm running liberty | 08:44 |
*** Guest93971 has quit IRC | 09:00 | |
*** nyechiel has joined #openstack-dns | 09:04 | |
*** fawadkhaliq has joined #openstack-dns | 09:12 | |
*** Jet_ has quit IRC | 09:20 | |
*** fawadkhaliq has quit IRC | 09:23 | |
*** fawadkhaliq has joined #openstack-dns | 09:44 | |
ekarlso | Diplomat: ya that is perfectly ok :) | 09:59 |
Diplomat | Sweet, thanks | 10:34 |
Diplomat | ekarlso: So I basically set it up in my controller and then just set up 2 vms with bind as nameservers, right? | 10:39 |
*** andreykurilin has joined #openstack-dns | 10:42 | |
andreykurilin | hi everyone! | 10:42 |
andreykurilin | Does designate project support correct devstack plugin ? | 10:43 |
andreykurilin | which can be used in gates | 10:43 |
andreykurilin | ekarlso: hi | 10:45 |
Diplomat | Interesting, I'm trying to run: pip install -r requirements.txt -r test-requirements.txt | 10:49 |
Diplomat | and it's giving me: RequirementParseError: Expected ',' or end-of-list in Routes!=2.0,!=2.1,>=1.12.3;python_version=='2.7' at ;python_version=='2.7' | 10:50 |
Diplomat | It comes from requirements.txt | 10:53 |
en_austin | Diplomat: which CentOS you're running? | 11:12 |
Diplomat | I'm running Ubuntu 14.04 now | 11:12 |
Diplomat | Well, my controller has it so im installing it there | 11:13 |
en_austin | I've installed Designate at CentOS 7 - and can share an Ansible playbook for it (or give some advice about it) | 11:13 |
Diplomat | but my main problem here is this pip error | 11:13 |
en_austin | error above - that's outdated pip | 11:13 |
en_austin | run: pip install pip -U | 11:13 |
en_austin | i've encountered this couple of days ago at my test env :) | 11:13 |
Diplomat | Didn't fix it | 11:13 |
en_austin | python version? | 11:13 |
Diplomat | Here's the message: http://pastebin.com/RFA27jfe | 11:14 |
Diplomat | Python 2.7.6 | 11:14 |
en_austin | awh | 11:14 |
en_austin | pip install pip -U --force | 11:15 |
Diplomat | lol same | 11:15 |
en_austin | Oo | 11:15 |
Diplomat | maybe ill remove it first ? | 11:16 |
en_austin | yep, try it | 11:16 |
en_austin | pip uninstall pip | 11:16 |
en_austin | and pip install pip again | 11:16 |
Diplomat | just apt-get remove python-pip ? | 11:16 |
en_austin | hm | 11:16 |
en_austin | do an "apt-get remove ..." | 11:16 |
en_austin | and than use a get-pip.py script | 11:16 |
en_austin | https://bootstrap.pypa.io/get-pip.py | 11:17 |
Diplomat | Hmm | 11:17 |
Diplomat | http://pastebin.com/JFwwvJeC | 11:18 |
Diplomat | or I have to do.. python get-pip.py install? or whatever that commandis | 11:18 |
Diplomat | looks like i dont have to do it, but not sure why it doesn't link it to bin | 11:20 |
andreykurilin | Diplomat: you should try `pip -U install pip` | 11:21 |
Diplomat | Doesnt work | 11:21 |
Diplomat | Same message | 11:21 |
andreykurilin | what about `python -m pip install -U pip` | 11:23 |
andreykurilin | ? | 11:23 |
Diplomat | Nope, same | 11:23 |
andreykurilin | hn | 11:23 |
andreykurilin | hm | 11:23 |
andreykurilin | Diplomat: I suggest you to remove pip(apt-get uninstall python-pip), install it again(apt-get install pip) and then, update it(pip install -U pip) | 11:25 |
Diplomat | tried it already | 11:25 |
*** fawadkhaliq has quit IRC | 11:26 | |
andreykurilin | what does `whereis pip` said? | 11:26 |
Diplomat | pip: /usr/bin/pip /usr/local/bin/pip2.7 /usr/local/bin/pip /usr/share/man/man1/pip.1.gz | 11:26 |
andreykurilin | try to execute `pip2.7` | 11:28 |
Diplomat | http://paste.ubuntu.com/13226388/ | 11:29 |
Diplomat | I tried pip uninstall pip and it still says: Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS | 11:30 |
Diplomat | python get-pip.py <-- doesn't do much as well | 11:32 |
Diplomat | http://paste.ubuntu.com/13226397 | 11:32 |
andreykurilin | `owned by OS` it means that you should try to uninstall via system tool(apt-get uninstall) | 11:32 |
en_austin | do you already apt-get removed pip? | 11:33 |
Diplomat | yup | 11:33 |
Diplomat | Package 'python-pip' is not installed, so not removed | 11:34 |
*** fawadkhaliq has joined #openstack-dns | 11:34 | |
Diplomat | so now im running python python get-pip.py | 11:34 |
Diplomat | and only response is this row | 11:34 |
Diplomat | Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg | 11:34 |
*** fawadkhaliq has quit IRC | 11:35 | |
andreykurilin | http://paste.ubuntu.com/13226388/ -> pip2.7 works correctly. just execute `cp /usr/local/bin/pip2.7 /usr/bin/pip` | 11:35 |
*** fawadkhaliq has joined #openstack-dns | 11:36 | |
andreykurilin | `/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg` is a latest version | 11:36 |
andreykurilin | something gone wrong while execution get-pip.sh | 11:36 |
Diplomat | woo | 11:36 |
Diplomat | works now | 11:36 |
Diplomat | But those services.. like designate-central | 11:39 |
Diplomat | Can't I just service designate-central start ? | 11:39 |
Diplomat | or I have to make my init/designate-central.conf myself ? | 11:39 |
en_austin | I'm using a supervisord to handle Designate-related services | 11:40 |
en_austin | it's awesome for such kind of tasks | 11:41 |
Diplomat | Hmm, I have never used that kind of thing | 11:41 |
en_austin | andreykurilin: possibly, he shouldn't "cp" - maybe, "ln -s" would be a more correct way? | 11:42 |
en_austin | Diplomat: just try it ;-) | 11:42 |
en_austin | it's very simple | 11:42 |
Diplomat | but shouldn't it make sense to stay with upstart stuff so things wouldn't get confused ? | 11:42 |
*** stanzgy has quit IRC | 11:43 | |
Diplomat | for consistency | 11:43 |
en_austin | you can configure it as you want - to start with a system services, or to start it manually - as you want | 11:43 |
en_austin | whatever, if you want - use a system-wide stuff such as systemd/etc | 11:44 |
andreykurilin | en_austin: Imo, `ln -s` is a better solution and I wanted to suggest it, but I looked at my local configuration(where I doen't change anynitng bu hands) and /usr/bin/pip is a file, not a link:) | 11:44 |
andreykurilin | *where I don't | 11:44 |
andreykurilin | *anything by hands | 11:44 |
andreykurilin | :) | 11:44 |
en_austin | :) | 11:44 |
en_austin | well, maybe dist-related issues | 11:45 |
en_austin | whatever | 11:45 |
Diplomat | http://paste.ubuntu.com/13226486/ I made it like this | 11:51 |
Diplomat | works fine | 11:51 |
Diplomat | Now I have to figure out how to install the dashbard | 11:56 |
ekarlso | andreykurilin: heya | 12:00 |
ekarlso | andreykurilin: what's up ? :) | 12:01 |
andreykurilin | ekarlso: do you know anything about devstack plugin for designate?) | 12:02 |
*** fawadkhaliq has quit IRC | 12:02 | |
Diplomat | Can anyone suggest a nice tutorial for me to get this dashboard thing running? https://www.openstack.org/summit/vancouver-2015/summit-videos/presentation/designate-interactive-workshop-install-and-operate-2 im not sure if that's accurate | 12:05 |
*** mwagner has quit IRC | 12:08 | |
*** openstackgerrit has quit IRC | 12:31 | |
*** openstackgerrit has joined #openstack-dns | 12:31 | |
*** ChanServ sets mode: +v openstackgerrit | 12:31 | |
Diplomat | Lol, everything went well until I had to copy something to somewhere.. and bam :D | 12:35 |
Diplomat | https://wiki.openstack.org/wiki/Designate/Vancouver/Workshop following this guide | 12:35 |
en_austin | btw, are there someone from devs? i have a question regarding Central's performance :) | 12:49 |
en_austin | it seems to be that Central is running only in one thread (even if running several workers) :( | 12:49 |
en_austin | (but, if it make sense - it processes a single Import Zone query) | 12:50 |
en_austin | https://dl.dropboxusercontent.com/s/w09i7eq9tl4n127/ScreenShot_2015-11-11_15_49_27_00b36.png htop output | 12:51 |
*** fawadkhaliq has joined #openstack-dns | 12:59 | |
Diplomat | Ok I got it fixed.. made a terrible fail, but now my horizon doesn't want to work and here's the error. http://pastebin.com/R4QRQ2nr | 13:10 |
Diplomat | maybe someone has any idea whats up | 13:10 |
*** ducttape_ has joined #openstack-dns | 13:13 | |
en_austin | to tell the truth, I've wrote my own dashboard for designate - it was more efficient (as for me), than using a horizon for Designate:) | 13:28 |
Diplomat | True.. we are actually creating our own "horizon" too lol, but I just wanted to test it out | 13:29 |
*** richm has joined #openstack-dns | 13:32 | |
*** fawadkhaliq has quit IRC | 13:32 | |
*** fawadkhaliq has joined #openstack-dns | 13:32 | |
Diplomat | Hm.. ok whatever, but I'm trying to add a new server, but it just gets stuck there.. sits like a duck | 13:34 |
Diplomat | not sure whats wrong there.. all services are working fine | 13:34 |
Diplomat | looks like a timeout or something | 13:34 |
*** ducttape_ has quit IRC | 13:34 | |
Diplomat | Nvm, looks lik pool manager is failing: CRITICAL designate [-] NoPoolTargetsConfigured | 13:36 |
Diplomat | Nope, no idea how to fix it | 13:40 |
*** mwagner has joined #openstack-dns | 13:42 | |
ekarlso | andreykurilin: yes there's devstack for designate :) | 13:46 |
ekarlso | andreykurilin: look at the contrib/vagrant folder in the repo andreykurilin | 13:46 |
Diplomat | Hm.. designate-api shows me this: factory() takes exactly 3 arguments (2 given); got ({'__file...te'}, oslo_config_project=...), wanted (cls , global_conf, allowed_origin, **local_conf) | 13:48 |
Diplomat | Here's the full error: http://pastebin.com/UEnmTVt2 | 13:49 |
*** johnbelamaric has joined #openstack-dns | 13:52 | |
Diplomat | Looks like it gets stuck somewhere around keystone stuff.. not sure why | 13:55 |
openstackgerrit | Federico Ceratto proposed openstack/designate: Hide zones flagged for deletetion in API v1 https://review.openstack.org/244116 | 14:01 |
*** fawadkhaliq has quit IRC | 14:07 | |
Diplomat | Nope.. looks like api-paste.ini is a bit broken somehow | 14:11 |
*** csoukup has quit IRC | 14:19 | |
andreykurilin | ekarlso: the question is: does this plugin is in new format or in old one? sdague mentioned in mailing thread that rally-designate job uses old style of plugin and if it will not be fixed, this job will be removed | 14:22 |
ekarlso | andreykurilin: uhm, there was someone from infra I believe that started to convert our stuff to plugin based | 14:34 |
ekarlso | andreykurilin: Kiall / mugsie knows the link | 14:34 |
Diplomat | I'm out of ideas, guys can you please give me advice.. what might be reason for this huge error | 14:34 |
*** mlavalle has joined #openstack-dns | 14:36 | |
*** rsyed_away is now known as rsyed | 14:39 | |
*** bradjones|away is now known as bradjones | 14:40 | |
*** ducttape_ has joined #openstack-dns | 14:46 | |
*** _ducttape_ has joined #openstack-dns | 14:48 | |
*** ducttape_ has quit IRC | 14:50 | |
*** jmcbride has joined #openstack-dns | 14:57 | |
*** fawadkhaliq has joined #openstack-dns | 15:01 | |
*** csoukup has joined #openstack-dns | 15:07 | |
*** ducttape_ has joined #openstack-dns | 15:09 | |
*** _ducttape_ has quit IRC | 15:13 | |
*** HenryG has quit IRC | 15:34 | |
*** pglass has joined #openstack-dns | 15:37 | |
*** HenryG has joined #openstack-dns | 15:38 | |
*** johnbelamaric has quit IRC | 15:53 | |
*** johnbelamaric has joined #openstack-dns | 15:53 | |
timsim | Diplomat. Try looking at recent requirements changes, I bet someone broke something. | 15:57 |
timsim | en_austin: How many CPUs do you have on that machine? | 15:58 |
Diplomat | timsim: possible.. i'll just reinstall it | 15:59 |
timsim | That probably won't help. | 15:59 |
timsim | try pip install oslo.service==0.7.0 | 16:00 |
timsim | Or no. | 16:00 |
timsim | What version of that do you have | 16:00 |
*** _ducttape_ has joined #openstack-dns | 16:02 | |
*** openstackgerrit has quit IRC | 16:02 | |
Diplomat | wut | 16:02 |
*** openstackgerrit has joined #openstack-dns | 16:02 | |
*** ChanServ sets mode: +v openstackgerrit | 16:02 | |
timsim | :) | 16:02 |
Diplomat | you think it's oslo's problem ? | 16:02 |
timsim | I _always_ think it's oslo's problem ;) | 16:02 |
Diplomat | like ovs for neutron | 16:02 |
timsim | I installed a fresh designate pretty recently and it worked, so I'm betting it's a requirement change. | 16:03 |
Diplomat | Uninstalling oslo.service-0.12.0: | 16:03 |
Diplomat | Successfully uninstalled oslo.service-0.12.0 | 16:03 |
Diplomat | Successfully installed oslo.service-0.7.0 | 16:03 |
Diplomat | nope, didn't help lol | 16:03 |
timsim | Nice | 16:03 |
Diplomat | so I'll reinstall 0.12 back ? | 16:03 |
timsim | I suppose | 16:04 |
*** ducttape_ has quit IRC | 16:04 | |
timsim | Try it with these requirements, just to humor me: https://raw.githubusercontent.com/openstack/designate/8af0bfaf5ef833a5e8d67e70bd727081a39e5a48/requirements.txt | 16:04 |
Diplomat | Hmn, your request for humor is suspicious | 16:07 |
timsim | I'm almost certain that no changes introduced in Designate recently would have caused that. | 16:08 |
Diplomat | Looks like all requirements are satisfied | 16:09 |
timsim | You'll probably need to blow them away and reinstall them. | 16:09 |
timsim | Most of the requirement pins are >x | 16:09 |
timsim | so newer versions will satisfy. | 16:10 |
Diplomat | hmn.. im not very sure how to do it | 16:11 |
timsim | Are you installing in a virtualenv? | 16:12 |
Diplomat | nope | 16:12 |
Diplomat | should i ? | 16:12 |
*** jasonsb has joined #openstack-dns | 16:12 | |
timsim | Eh, if it's just a vm no harm. | 16:12 |
timsim | s/vm/vm meant only for designate. | 16:12 |
timsim | pip freeze | xargs pip uninstall -y | 16:13 |
timsim | && pip install -r requirements.txt | 16:13 |
*** boris-42_ has joined #openstack-dns | 16:13 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/designate: Updated from global requirements https://review.openstack.org/243920 | 16:14 |
Diplomat | Hmn, does this uninstall removes my openstack things too and other things ? | 16:15 |
timsim | Yeah that'll remove everything installed via pip. | 16:16 |
Diplomat | hmn, that's not the best lol | 16:16 |
timsim | Alright, I figured designate was the only thing in th vm | 16:16 |
timsim | Are you in devstack? Your laptop? | 16:16 |
Diplomat | Nope, full deployment | 16:16 |
*** jasonsb_ has quit IRC | 16:17 | |
*** boris-42 has quit IRC | 16:17 | |
Diplomat | im installing it into controller node | 16:17 |
*** boris-42_ is now known as boris-42 | 16:19 | |
Diplomat | hmn.. strange thing is that if those requrements are fine.. | 16:23 |
Diplomat | then that thing still fails | 16:23 |
Diplomat | that doesnt make much sense | 16:23 |
timsim | Say what now? | 16:23 |
timsim | Sorry, a million things going on. | 16:23 |
timsim | you could just pip uninstall the requirements in the designate project, and reinstall them from the requirements I gave you. I bet that'd fix. | 16:24 |
Diplomat | I'm testing this "upgrade" thing | 16:24 |
Diplomat | noice | 16:25 |
Diplomat | now I get this ImportError: cannot import name deploy | 16:25 |
Diplomat | :D | 16:25 |
timsim | pip install deploy | 16:26 |
timsim | maybe. lol | 16:26 |
Diplomat | Could not find a version that satisfies the requirement pycoffee (from deploy) (from versions: ) | 16:26 |
Diplomat | No matching distribution found for pycoffee (from deploy) | 16:26 |
Diplomat | :D | 16:26 |
timsim | There you go, install that one | 16:28 |
Diplomat | Could not find a version that satisfies the requirement pycoffee (from versions: ) | 16:29 |
Diplomat | No matching distribution found for pycoffee | 16:29 |
Diplomat | dem requirements | 16:29 |
Diplomat | pip install pycoffee that's what I tried | 16:30 |
*** ccneill has joined #openstack-dns | 16:33 | |
timsim | How about git checkout b5b54334208e38954829ea7618de3697e73dab15 | 16:33 |
timsim | And try from there. | 16:34 |
timsim | Clearly there's some issue. | 16:34 |
Diplomat | Hmn, it wants me to commit paste and requirements | 16:35 |
timsim | git reset --hard HEAD (unless you've made some changes that you want to keep) | 16:35 |
Diplomat | "You are in 'detached HEAD' state." | 16:36 |
Diplomat | wtf | 16:36 |
Diplomat | your humor is strange | 16:36 |
Diplomat | but yea looks like it's done | 16:36 |
Diplomat | Sorry for being a dumbass here, I had a long day today | 16:38 |
Diplomat | I really have no idea what I have to do here lol | 16:39 |
timsim | Sorry, so you've checked out that old version? | 16:39 |
Diplomat | I have no idea what i just did | 16:40 |
Diplomat | but that command worked without issues :D | 16:40 |
timsim | lol. um. ok. if you "git branch" what does it say? | 16:44 |
Diplomat | * (detached from b5b5433) | 16:45 |
Diplomat | master | 16:45 |
*** ducttape_ has joined #openstack-dns | 16:45 | |
*** _ducttape_ has quit IRC | 16:46 | |
timsim | Alright, that's fine for now. | 16:46 |
Diplomat | okay awesome | 16:46 |
Diplomat | what's next? | 16:46 |
Diplomat | pip install requirements again ? | 16:46 |
*** _ducttape_ has joined #openstack-dns | 16:47 | |
timsim | Yeah if they're uninstalled | 16:47 |
Diplomat | Hehe | 16:47 |
Diplomat | nope, they are not..can i do like | 16:47 |
Diplomat | pip uninstall -r requirements.txt ? | 16:47 |
timsim | with a -y, yeah | 16:48 |
Diplomat | man, if it messes up my controller then i'm i'll cry like a baby | 16:49 |
Diplomat | 2.3 months old baby | 16:49 |
*** ducttap__ has joined #openstack-dns | 16:49 | |
*** ducttape_ has quit IRC | 16:49 | |
Diplomat | ok done | 16:50 |
Diplomat | and ill install now | 16:50 |
Diplomat | Install command gave: ImportError: No module named pkg_resources huehue | 16:51 |
*** ducttape_ has joined #openstack-dns | 16:51 | |
*** _ducttape_ has quit IRC | 16:51 | |
Diplomat | setuptools were missing :D | 16:52 |
*** _ducttape_ has joined #openstack-dns | 16:53 | |
Diplomat | and it woooooorks :D | 16:53 |
Diplomat | hueheue | 16:53 |
Diplomat | yup works, brilliant | 16:53 |
Diplomat | thanks man .D | 16:53 |
Diplomat | :D | 16:53 |
*** ducttap__ has quit IRC | 16:54 | |
Diplomat | now I have to figure out keystone authentication too | 16:54 |
timsim | Wonderful. | 16:54 |
timsim | Now to figure out what broke Designate :( | 16:55 |
timsim | Kiall mugsie ^ we have a requirements problem somewhere. | 16:55 |
*** ducttape_ has quit IRC | 16:56 | |
*** _ducttape_ has quit IRC | 16:56 | |
*** ducttape_ has joined #openstack-dns | 16:57 | |
Diplomat | yup, everything works fine | 17:01 |
Diplomat | noice.. but im not very sure how to get it working with keystone | 17:01 |
mugsie | irc meeting in #openstack-meeting-alt now | 17:02 |
timsim | You'll need to create the service in Keystone | 17:03 |
timsim | and endpoint | 17:03 |
*** james_li has joined #openstack-dns | 17:04 | |
Diplomat | I think I created an endpoint.. but i dont think i made a service mh | 17:08 |
Diplomat | openstack service create --name dns --description "OpenStack DNS" identity | 17:09 |
Diplomat | like this, right ? | 17:09 |
*** rudrajit has joined #openstack-dns | 17:11 | |
*** rudrajit has quit IRC | 17:11 | |
*** rudrajit has joined #openstack-dns | 17:12 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/designate: Updated from global requirements https://review.openstack.org/243920 | 17:18 |
timsim | Diplomat `keystone service-create --name designate --type dns --description "Designate Service"` is usually what i see | 17:20 |
Diplomat | Okay now I have both http://puu.sh/lhNRe/d006e5e164.png | 17:23 |
Diplomat | okay .. auth_strategy is keystone and here's the keystone token | 17:26 |
Diplomat | [keystone_authtoken] | 17:26 |
Diplomat | auth_host = controller | 17:26 |
Diplomat | auth_port = 35357 | 17:26 |
Diplomat | auth_protocol = http | 17:26 |
Diplomat | admin_tenant_name = designate | 17:26 |
Diplomat | admin_user = designate | 17:26 |
Diplomat | admin_password = | 17:26 |
Diplomat | sorry for pasting that much | 17:26 |
Diplomat | admin_password is blank because i didnt copy my password | 17:26 |
*** nyechiel has quit IRC | 17:27 | |
*** rudrajit has quit IRC | 17:41 | |
*** mlavalle has quit IRC | 17:44 | |
*** mlavalle has joined #openstack-dns | 17:44 | |
mlavalle | ping mlavalle | 17:46 |
*** mlavalle has quit IRC | 17:47 | |
*** mlavalle has joined #openstack-dns | 17:48 | |
*** mlavalle has quit IRC | 17:48 | |
*** mlavalle has joined #openstack-dns | 17:49 | |
*** mlavalle has quit IRC | 17:49 | |
*** mlavalle has joined #openstack-dns | 17:49 | |
*** mlavalle has quit IRC | 17:52 | |
*** mlavalle has joined #openstack-dns | 17:52 | |
*** cliles has joined #openstack-dns | 17:55 | |
*** james_li_ has joined #openstack-dns | 17:55 | |
*** james_li has quit IRC | 17:58 | |
*** james_li_ has quit IRC | 18:00 | |
*** james_li has joined #openstack-dns | 18:01 | |
*** james_li has quit IRC | 18:04 | |
*** ducttape_ has quit IRC | 18:05 | |
*** mlavalle has quit IRC | 18:06 | |
*** mlavalle has joined #openstack-dns | 18:08 | |
*** ducttape_ has joined #openstack-dns | 18:25 | |
*** mlavalle has quit IRC | 18:27 | |
*** mlavalle has joined #openstack-dns | 18:27 | |
*** mlavalle has quit IRC | 18:27 | |
*** boris-42 has quit IRC | 18:28 | |
*** rudrajit has joined #openstack-dns | 18:29 | |
*** mlavalle has joined #openstack-dns | 18:32 | |
*** rudrajit_ has joined #openstack-dns | 18:41 | |
*** rudrajit has quit IRC | 18:44 | |
*** fawadkhaliq has quit IRC | 18:45 | |
*** _ducttape_ has joined #openstack-dns | 18:52 | |
*** ducttape_ has quit IRC | 18:54 | |
*** Jezogwza has joined #openstack-dns | 18:57 | |
*** ccneill has quit IRC | 19:00 | |
*** rsyed is now known as rsyed_away | 19:02 | |
*** mlavalle has quit IRC | 19:08 | |
*** mlavalle has joined #openstack-dns | 19:08 | |
*** james_li has joined #openstack-dns | 19:10 | |
*** james_li_ has joined #openstack-dns | 19:11 | |
*** james_li has quit IRC | 19:11 | |
*** rudrajit has joined #openstack-dns | 19:14 | |
*** rudrajit_ has quit IRC | 19:16 | |
Diplomat | Anyone has any idea why I have this little thing: | 19:24 |
Diplomat | [11/Nov/2015 14:22:00] "GET /v2/servers HTTP/1.1" 404 331 | 19:24 |
timsim | That's an invalid endpoint | 19:24 |
Diplomat | Hmm.. but v1 is deprecated ? | 19:24 |
timsim | It is | 19:25 |
Diplomat | I have it like this: http://screencast.com/t/84qAqhoQ | 19:26 |
*** rsyed_away is now known as rsyed | 19:26 | |
Pavo | doesn't that have to be http://controller:9001/v2.0 | 19:26 |
timsim | There's no /servers in v2, | 19:26 |
timsim | What are you trying to do? | 19:27 |
Diplomat | umm.. designate server-list | 19:27 |
Pavo | he is trying to register designate with keystone | 19:27 |
timsim | I think you just want "controller:9001" | 19:27 |
timsim | The client will worry about the version | 19:28 |
Diplomat | Hmm.. ok I'll try | 19:28 |
mugsie | the cli uses V1 | 19:28 |
mugsie | the v2 CLI is part of the openstack client | 19:28 |
Diplomat | Ahhhh | 19:28 |
Diplomat | timsim: you were correct.. i had to use it without v2 | 19:29 |
* timsim should have been clearer | 19:29 | |
Diplomat | brilliant, thank you again lol | 19:30 |
*** cliles_ has joined #openstack-dns | 19:37 | |
Diplomat | Not sure if you guys manage this https://github.com/openstack/designate-dashboard but there's a typo in readme | 19:37 |
*** cliles has quit IRC | 19:39 | |
timsim | We do | 19:40 |
Diplomat | Modify horizon's settings file to enabled designatedashboard, note the two lines to add below: | 19:43 |
Diplomat | file to enabled designatedashboard, note | 19:43 |
Diplomat | I have to insert those things inside: /etc/openstack-dashboard/local_settings.py this file, right ? | 19:44 |
Diplomat | If yes, then I'm getting this error: WARNING:root:No local_settings file found. and 400 request | 19:44 |
Diplomat | response * | 19:44 |
timsim | I honestly don't know. | 19:44 |
mugsie | that would be _ducttape_ | 19:45 |
* _ducttape_ wakes up | 19:46 | |
_ducttape_ | I think those are in the settings.py file, actually | 19:46 |
_ducttape_ | let me double check | 19:46 |
_ducttape_ | https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L330-L344 is the file and section Diplomat | 19:47 |
_ducttape_ | I think / hope horizon moves that stuff to local_settings.py eventually, but I don't think that file quite works like that yet | 19:48 |
_ducttape_ | and I think that is located outside of /etc/openstack-dashboard/ , but I'm not sure about all the different distro locations (plus I usually run a non standard horizon setup) | 19:49 |
*** Pavo has quit IRC | 19:50 | |
Diplomat | Hmm | 19:51 |
_ducttape_ | there are alternative installation methods too, but that way is the least intrusive (in my opinion) | 19:51 |
Diplomat | Ok so I: 1. git clone designate-dashboard.git 2. python setup.py sdist 3. pip install dist/*.tar.gz | 19:52 |
Diplomat | and then im confused :D | 19:53 |
Diplomat | I'm using Ubuntu 14.04 | 19:53 |
Diplomat | Also I'm using liberty if it matters | 19:54 |
Diplomat | Also I found this: https://github.com/openstack/designate-dashboard/blob/master/doc/source/installation.rst | 19:56 |
*** ducttape_ has joined #openstack-dns | 20:01 | |
*** _ducttape_ has quit IRC | 20:05 | |
*** _ducttape_ has joined #openstack-dns | 20:07 | |
*** ducttape_ has quit IRC | 20:08 | |
*** mwagner has quit IRC | 20:11 | |
Diplomat | Interesting.. apache error log says: No module named designatedashboard.enabled, but when I do it in python then it imports correctly | 20:11 |
Diplomat | Here's the error too: http://pastebin.com/CgN1nQMn | 20:12 |
_ducttape_ | Diplomat - how was designatedashboard installed / setup? | 20:15 |
*** jmcbride has quit IRC | 20:15 | |
_ducttape_ | what you are describing sounds like apache's python path just can't load that thing | 20:15 |
*** jmcbride has joined #openstack-dns | 20:16 | |
Diplomat | I'm confused as hell lol | 20:16 |
Diplomat | I edited this file: /usr/share/openstack-dashboard/openstack_dashboard/settings.py | 20:16 |
Diplomat | It threw errors | 20:16 |
Diplomat | then I edited this file. /usr/share/openstack-dashboard/settings.py | 20:16 |
_ducttape_ | did you make backup copies ;) ? | 20:16 |
Diplomat | it worked fine, but dns link doesnt appear in sidebar | 20:16 |
*** jmcbride has quit IRC | 20:16 | |
*** jmcbride has joined #openstack-dns | 20:16 | |
Diplomat | Also | 20:16 |
Diplomat | ./usr/share/openstack-dashboard/openstack_dashboard/utils/settings.py | 20:16 |
Diplomat | ops | 20:17 |
Diplomat | there are 4 settings.py files lol | 20:17 |
_ducttape_ | yeah, there should be only one - with that same recognizeable block in it | 20:17 |
Diplomat | um.. there were 2 | 20:17 |
_ducttape_ | utils is NOT the one we want | 20:17 |
Diplomat | ./usr/share/openstack-dashboard/settings.py and /usr/share/openstack-dashboard/openstack_dashboard/settings.py both had those blocks | 20:18 |
_ducttape_ | yeah, and I think a symlink gets setup on some installs too | 20:18 |
_ducttape_ | are they linked? | 20:18 |
Diplomat | nope | 20:20 |
_ducttape_ | hmm, that's special. | 20:21 |
Diplomat | http://pastebin.com/CgN1nQMn << this is the error when I used /usr/share/openstack-dashboard/openstack_dashboard/settings.py << this file | 20:21 |
Diplomat | when I edited /usr/share/openstack-dashboard/settings.py << then horizon loaded fine | 20:22 |
_ducttape_ | but then dns did not show up, right? | 20:22 |
Diplomat | nope | 20:23 |
_ducttape_ | usr/share/openstack-dashboard/openstack_dashboard/settings.py would be the one you want | 20:24 |
_ducttape_ | I think | 20:25 |
Diplomat | ok ill try again | 20:25 |
_ducttape_ | b/c the wsgi file is using that double path too | 20:25 |
_ducttape_ | when you run python interactively, you can do a "import designatedashboard.enabled" - right?? | 20:26 |
Diplomat | yes | 20:26 |
Diplomat | http://puu.sh/li0ps/1ddb81eabb.png this looks correct, right ? | 20:26 |
_ducttape_ | yep, that seems right | 20:27 |
Diplomat | ok reloading apache | 20:27 |
_ducttape_ | and apache has been restarted? | 20:27 |
Diplomat | Wat.. now I got this error | 20:28 |
Diplomat | Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed? | 20:28 |
Diplomat | 500 error | 20:28 |
Diplomat | and git is installed | 20:28 |
Diplomat | I installed it like: pip install dist/*.tar.gz after python setup.py sdist | 20:29 |
_ducttape_ | hmm. the designatedashboard.... that got pip installed? | 20:29 |
_ducttape_ | yep, ok | 20:29 |
Diplomat | according to this guide: https://wiki.openstack.org/wiki/Designate/Vancouver/Workshop | 20:29 |
Diplomat | I'd have to copy some kind of filest oo | 20:29 |
Diplomat | too | 20:29 |
_ducttape_ | so here is the other option, you can do | 20:30 |
_ducttape_ | revert your settings.py changes | 20:30 |
_ducttape_ | and look in the location where designatedashboard was installed, the enabled folder | 20:31 |
_ducttape_ | you can just copy those in with the rest of the horizon enabled files (make sure you do not over-write existing files) | 20:31 |
*** Pavo has joined #openstack-dns | 20:31 | |
Diplomat | _70_dns_add_group.py _70_dns_add_group.pyc _71_dns_project.py _71_dns_project.pyc __init__.py __init__.pyc | 20:32 |
Diplomat | and I copy them here? /usr/share/openstack-dashboard/openstack_dashboard/local/enabled | 20:32 |
_ducttape_ | yep | 20:34 |
_ducttape_ | this other way is perfectly valid / should really work too. but if your designate egg did not get installed 100% correctly, I would expect more pypath errors to follow | 20:36 |
* _ducttape_ thinks happy thoughts | 20:36 | |
Diplomat | hehe | 20:37 |
Diplomat | "Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?" | 20:37 |
_ducttape_ | that *is* messed up | 20:38 |
_ducttape_ | and if you rename those new enabled files, can you get back to a working setup? | 20:38 |
Diplomat | http://pastebin.com/qigMyMwd | 20:39 |
Diplomat | one moment | 20:39 |
Diplomat | I think I broke something ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named enabled | 20:45 |
Diplomat | :D | 20:45 |
Diplomat | I don't know what I broke.. but yea, I checked those files again to make sure that they were clean and they were | 20:46 |
*** csoukup has quit IRC | 20:47 | |
_ducttape_ | that is way messed up | 20:47 |
_ducttape_ | I'd continue to try to get horizon back to "normal" | 20:47 |
_ducttape_ | something is obviously jacked up, I have seen some pbr issues like this, but I forgot the resolution | 20:47 |
Diplomat | Well.. settings files are fine | 20:49 |
Diplomat | so yea lol, no idea whats wrong | 20:50 |
*** mwagner has joined #openstack-dns | 20:54 | |
Diplomat | yeah I checked all files i changed and nothing | 20:56 |
*** penick has joined #openstack-dns | 20:56 | |
_ducttape_ | ah I know why | 21:00 |
_ducttape_ | your .py files, are older than your .pyc files | 21:00 |
_ducttape_ | so when you changed you settings.py - it created a new .pyc file. know what I mean? | 21:00 |
_ducttape_ | touch *.py | 21:00 |
Diplomat | hmmm | 21:18 |
Diplomat | -rw-r--r-- 1 root root 12K Nov 11 15:46 settings.py | 21:19 |
Diplomat | -rw-r--r-- 1 root root 11K Oct 31 10:45 settings.pyc | 21:19 |
Diplomat | -rw-r--r-- 1 root root 12K Oct 22 08:42 settings.py.orig | 21:19 |
Diplomat | py is newer than pyc | 21:19 |
openstackgerrit | Graham Hayes proposed openstack/designate: WIP: The Big Rename https://review.openstack.org/244315 | 21:21 |
mugsie | +1794, -1790 | 21:21 |
mugsie | ouch | 21:21 |
mugsie | timsim: elarson Kiall federico3 ekarlso start of the patch is here - if you see anything can you comment? | 21:22 |
* mugsie is going home | 21:22 | |
timsim | good work sir | 21:22 |
*** penick has quit IRC | 21:24 | |
mugsie | pycharm did most of the work | 21:24 |
Diplomat | _ducktape_ you sure it's that timestamp thing ? | 21:34 |
*** jmcbride has quit IRC | 21:37 | |
Diplomat | https://answers.launchpad.net/horizon/+question/239533 I was reading this and this dude said that python-pbr fix worked for him | 21:43 |
Diplomat | but i just checked and its installed for me | 21:43 |
Diplomat | Hmm | 21:52 |
Diplomat | I can't do import openstack_dashboard in python | 21:52 |
*** jmcbride has joined #openstack-dns | 21:54 | |
Diplomat | ok so i just did apt-get remove openstack-dashboard && apt-get install openstack-dashboard | 21:55 |
Diplomat | and it works | 21:55 |
*** jmcbride1 has joined #openstack-dns | 21:55 | |
*** jmcbride1 has quit IRC | 21:56 | |
*** rudrajit_ has joined #openstack-dns | 21:56 | |
Diplomat | thankfully designate itself works fine | 21:57 |
*** jmcbride has quit IRC | 21:58 | |
*** rudrajit has quit IRC | 21:59 | |
*** jmcbride has joined #openstack-dns | 22:00 | |
*** jmcbride has quit IRC | 22:00 | |
*** csoukup has joined #openstack-dns | 22:00 | |
*** jmcbride has joined #openstack-dns | 22:00 | |
*** penick has joined #openstack-dns | 22:07 | |
*** johnbelamaric has quit IRC | 22:26 | |
*** km has joined #openstack-dns | 22:42 | |
*** km is now known as Guest21151 | 22:42 | |
*** penick has quit IRC | 22:47 | |
*** ducttape_ has joined #openstack-dns | 23:01 | |
*** _ducttape_ has quit IRC | 23:04 | |
Diplomat | Guys, I have another really noob question.. so I'm trying to create an A entry over api and this is what I post | 23:06 |
Diplomat | {"name":"mydomain.com.","type":"A","ttl":3600,"records":[{"address":"192.168.0.1"}]} | 23:06 |
Diplomat | but it tells me this: Provided object is not valid. Got a TypeError with message unhashable type: 'dict' | 23:06 |
*** Jezogwza has quit IRC | 23:06 | |
timsim | records: ["192.168.0.1"] | 23:06 |
timsim | http://docs.openstack.org/developer/designate/rest/v2/recordsets.html#get--zones-(uuid-id)-recordsets-(uuid-id) | 23:07 |
Diplomat | https://wiki.openstack.org/wiki/Designate/APIv2#Create_RecordSet_.28A.29 | 23:07 |
timsim | sorry http://docs.openstack.org/developer/designate/rest/v2/recordsets.html#post--zones-(uuid-id)-recordsets | 23:07 |
Diplomat | I used that one | 23:07 |
timsim | "This is a DRAFT of the Designate Version 2 API." | 23:07 |
timsim | Trust the docs. | 23:07 |
Diplomat | TIL | 23:08 |
Diplomat | thanks man | 23:08 |
timsim | You bet | 23:08 |
Diplomat | Man, this designate is the next best thing since openstack | 23:09 |
Diplomat | been dreaming about a tool like this lol | 23:09 |
* timsim tears up | 23:10 | |
Diplomat | Now I have to figure out how to push my zones to my dns servers | 23:11 |
*** csoukup has quit IRC | 23:15 | |
Diplomat | Alrighty, I have abolutely no idea what to search or where to search.. basically i have 2 bind servers that are waiting for zones | 23:15 |
timsim | https://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample and should get you started hopefully | 23:16 |
Diplomat | hehe | 23:17 |
Diplomat | hopefully | 23:17 |
*** jmcbride has quit IRC | 23:21 | |
timsim | When you notice doc shortcomings, plz report, we're working on improving that. | 23:26 |
*** ccneill has joined #openstack-dns | 23:26 | |
Diplomat | oh sure | 23:31 |
*** cliles_ has quit IRC | 23:32 | |
*** boris-42 has joined #openstack-dns | 23:32 | |
Diplomat | Okay so.. [pool_nameserver:uuid] is my external bind server, right? | 23:34 |
timsim | The pool_nameserver is the the server/port designate will poll to ensure changes are live. pool_target is the one that will be written to, if you've just got bind servers ,they will be the same. | 23:37 |
Diplomat | ah cool.. and to make a second target ill just copy the first one and add it again ? | 23:38 |
*** ducttape_ has quit IRC | 23:39 | |
*** ducttape_ has joined #openstack-dns | 23:39 | |
Diplomat | also this | 23:42 |
Diplomat | masters= | 23:42 |
timsim | You'll want to make sure to change the UUIDs in those section names. | 23:43 |
timsim | masters would be the controller node :5354 probably. That's the designate service "designate-mdns" | 23:43 |
Diplomat | Okay sweet, thanks.. is there a way to push a test domain? like.. check that the connection between those servers works fine ? | 23:46 |
Diplomat | it's 1:47 at night here in eastern europe, time to sleep, im so tired that i even dont know where i am.. so that might be a problem at one point so im leaving for today, but ill be back tomorrow ;) bombing you with questions and all that. you have been a very helpful, thank you.. have a good one | 23:48 |
timsim | You bet. 5:49 pm here so I'm headed off too | 23:49 |
*** ccneill has quit IRC | 23:56 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!