Wednesday, 2015-11-11

*** ccneill has quit IRC00:09
*** richm has quit IRC00:09
*** jasonsb has quit IRC00:13
*** jasonsb has joined #openstack-dns00:13
*** jasonsb has quit IRC00:18
*** rsyed is now known as rsyed_away00:18
*** cliles has quit IRC00:19
*** mlavalle has quit IRC00:20
*** Pavo has quit IRC00:23
*** Pavo has joined #openstack-dns00:24
*** Pavo has quit IRC00:28
*** Pavo has joined #openstack-dns00:29
*** ducttape_ has joined #openstack-dns00:42
*** _ducttape_ has joined #openstack-dns01:15
*** ducttape_ has quit IRC01:18
*** _ducttape_ has quit IRC01:29
*** jasonsb has joined #openstack-dns01:31
*** stanzgy has joined #openstack-dns01:56
*** rsyed_away is now known as rsyed02:06
*** rsyed is now known as rsyed_away02:08
*** Diplomat has quit IRC02:45
*** jmcbride has joined #openstack-dns02:59
*** jmcbride has quit IRC03:04
*** rudrajit has joined #openstack-dns03:34
*** fawadkhaliq has joined #openstack-dns03:39
openstackgerritOpenStack Proposal Bot proposed openstack/designate: Updated from global requirements  https://review.openstack.org/24392004:02
*** fawadkhaliq has quit IRC04:17
*** fawadkhaliq has joined #openstack-dns05:02
*** Jet_ has joined #openstack-dns05:40
*** fawadkhaliq has quit IRC06:01
*** fawadkhaliq has joined #openstack-dns06:02
*** fawadk has joined #openstack-dns06:03
*** Jet_ has quit IRC06:03
*** fawadkhaliq has quit IRC06:04
*** rudrajit has quit IRC06:15
*** jschwarz has joined #openstack-dns06:22
*** jschwarz_ has joined #openstack-dns06:33
*** jschwarz has quit IRC06:34
*** Jet_ has joined #openstack-dns06:37
*** rudrajit has joined #openstack-dns06:41
*** rudrajit has quit IRC06:45
*** logan2 has quit IRC07:40
*** logan2 has joined #openstack-dns07:40
*** jasonsb_ has joined #openstack-dns07:41
*** whydidyoustealmy has joined #openstack-dns07:43
*** jasonsb has quit IRC07:43
*** barra204 has quit IRC07:43
*** jschwarz_ has quit IRC07:48
*** fawadk has quit IRC07:57
*** fawadkhaliq has joined #openstack-dns07:58
*** rudrajit has joined #openstack-dns08:12
*** fawadkhaliq has quit IRC08:13
*** rudrajit has quit IRC08:17
*** Diplomat has joined #openstack-dns08:33
DiplomatHello! Is it okay to install designate into controller? or I have misunderstood those docs ?08:33
DiplomatOh and another important question.. does it work with liberty ? I can see it's for kilo, but I'm running liberty08:44
*** Guest93971 has quit IRC09:00
*** nyechiel has joined #openstack-dns09:04
*** fawadkhaliq has joined #openstack-dns09:12
*** Jet_ has quit IRC09:20
*** fawadkhaliq has quit IRC09:23
*** fawadkhaliq has joined #openstack-dns09:44
ekarlsoDiplomat: ya that is perfectly ok :)09:59
DiplomatSweet, thanks10:34
Diplomatekarlso: 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-dns10:42
andreykurilinhi everyone!10:42
andreykurilinDoes designate project support correct devstack plugin ?10:43
andreykurilinwhich can be used in gates10:43
andreykurilinekarlso: hi10:45
DiplomatInteresting, I'm trying to run: pip install -r requirements.txt -r test-requirements.txt10:49
Diplomatand 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
DiplomatIt comes from requirements.txt10:53
en_austinDiplomat: which CentOS you're running?11:12
DiplomatI'm running Ubuntu 14.04 now11:12
DiplomatWell, my controller has it so im installing it there11:13
en_austinI've installed Designate at CentOS 7 - and can share an Ansible playbook for it (or give some advice about it)11:13
Diplomatbut my main problem here is this pip error11:13
en_austinerror above - that's outdated pip11:13
en_austinrun: pip install pip -U11:13
en_austini've encountered this couple of days ago at my test env :)11:13
DiplomatDidn't fix it11:13
en_austinpython version?11:13
DiplomatHere's the message: http://pastebin.com/RFA27jfe11:14
DiplomatPython 2.7.611:14
en_austinawh11:14
en_austinpip install pip -U --force11:15
Diplomatlol same11:15
en_austinOo11:15
Diplomatmaybe ill remove it first ?11:16
en_austinyep, try it11:16
en_austinpip uninstall pip11:16
en_austinand pip install pip again11:16
Diplomatjust apt-get remove python-pip ?11:16
en_austinhm11:16
en_austindo an "apt-get remove ..."11:16
en_austinand than use a get-pip.py script11:16
en_austinhttps://bootstrap.pypa.io/get-pip.py11:17
DiplomatHmm11:17
Diplomathttp://pastebin.com/JFwwvJeC11:18
Diplomator I have to do.. python get-pip.py install? or whatever that commandis11:18
Diplomatlooks like i dont have to do it, but not sure why it doesn't link it to bin11:20
andreykurilinDiplomat: you should try `pip -U install pip`11:21
DiplomatDoesnt work11:21
DiplomatSame message11:21
andreykurilinwhat about `python -m pip install -U pip`11:23
andreykurilin?11:23
DiplomatNope, same11:23
andreykurilinhn11:23
andreykurilinhm11:23
andreykurilinDiplomat: 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
Diplomattried it already11:25
*** fawadkhaliq has quit IRC11:26
andreykurilinwhat does `whereis pip` said?11:26
Diplomatpip: /usr/bin/pip /usr/local/bin/pip2.7 /usr/local/bin/pip /usr/share/man/man1/pip.1.gz11:26
andreykurilintry to execute `pip2.7`11:28
Diplomathttp://paste.ubuntu.com/13226388/11:29
DiplomatI tried pip uninstall pip and it still says: Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS11:30
Diplomatpython get-pip.py  <-- doesn't do much as well11:32
Diplomathttp://paste.ubuntu.com/1322639711:32
andreykurilin`owned by OS` it means that you should try to uninstall via system tool(apt-get uninstall)11:32
en_austindo you already apt-get removed pip?11:33
Diplomatyup11:33
DiplomatPackage 'python-pip' is not installed, so not removed11:34
*** fawadkhaliq has joined #openstack-dns11:34
Diplomatso now im running python python get-pip.py11:34
Diplomatand only response is this row11:34
DiplomatRequirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg11:34
*** fawadkhaliq has quit IRC11:35
andreykurilinhttp://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-dns11:36
andreykurilin`/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg` is a latest version11:36
andreykurilinsomething gone wrong while execution get-pip.sh11:36
Diplomatwoo11:36
Diplomatworks now11:36
DiplomatBut those services.. like designate-central11:39
DiplomatCan't I just service designate-central start ?11:39
Diplomator I have to make my init/designate-central.conf myself ?11:39
en_austinI'm using a supervisord to handle Designate-related services11:40
en_austinit's awesome for such kind of tasks11:41
DiplomatHmm, I have never used that kind of thing11:41
en_austinandreykurilin: possibly, he shouldn't "cp" - maybe, "ln -s" would be a more correct way?11:42
en_austinDiplomat: just try it ;-)11:42
en_austinit's very simple11:42
Diplomatbut shouldn't it make sense to stay with upstart stuff so things wouldn't get confused ?11:42
*** stanzgy has quit IRC11:43
Diplomatfor consistency11:43
en_austinyou can configure it as you want - to start with a system services, or to start it manually - as you want11:43
en_austinwhatever, if you want - use a system-wide stuff such as systemd/etc11:44
andreykurilinen_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't11:44
andreykurilin*anything by hands11:44
andreykurilin:)11:44
en_austin:)11:44
en_austinwell, maybe dist-related issues11:45
en_austinwhatever11:45
Diplomathttp://paste.ubuntu.com/13226486/ I made it like this11:51
Diplomatworks fine11:51
DiplomatNow I have to figure out how to install the dashbard11:56
ekarlsoandreykurilin: heya12:00
ekarlsoandreykurilin: what's up ? :)12:01
andreykurilinekarlso: do you know anything about devstack plugin for designate?)12:02
*** fawadkhaliq has quit IRC12:02
DiplomatCan 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 accurate12:05
*** mwagner has quit IRC12:08
*** openstackgerrit has quit IRC12:31
*** openstackgerrit has joined #openstack-dns12:31
*** ChanServ sets mode: +v openstackgerrit12:31
DiplomatLol, everything went well until I had to copy something to somewhere.. and bam :D12:35
Diplomathttps://wiki.openstack.org/wiki/Designate/Vancouver/Workshop following this guide12:35
en_austinbtw, are there someone from devs? i have a question regarding Central's performance :)12:49
en_austinit 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_austinhttps://dl.dropboxusercontent.com/s/w09i7eq9tl4n127/ScreenShot_2015-11-11_15_49_27_00b36.png htop output12:51
*** fawadkhaliq has joined #openstack-dns12:59
DiplomatOk 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/R4QRQ2nr13:10
Diplomatmaybe someone has any idea whats up13:10
*** ducttape_ has joined #openstack-dns13:13
en_austinto 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
DiplomatTrue.. we are actually creating our own "horizon" too lol, but I just wanted to test it out13:29
*** richm has joined #openstack-dns13:32
*** fawadkhaliq has quit IRC13:32
*** fawadkhaliq has joined #openstack-dns13:32
DiplomatHm.. ok whatever, but I'm trying to add a new server, but it just gets stuck there.. sits like a duck13:34
Diplomatnot sure whats wrong there.. all services are working fine13:34
Diplomatlooks like a timeout or something13:34
*** ducttape_ has quit IRC13:34
DiplomatNvm, looks lik pool manager is failing: CRITICAL designate [-] NoPoolTargetsConfigured13:36
DiplomatNope, no idea how to fix it13:40
*** mwagner has joined #openstack-dns13:42
ekarlsoandreykurilin: yes there's devstack for designate :)13:46
ekarlsoandreykurilin: look at the contrib/vagrant folder in the repo andreykurilin13:46
DiplomatHm.. 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
DiplomatHere's the full error: http://pastebin.com/UEnmTVt213:49
*** johnbelamaric has joined #openstack-dns13:52
DiplomatLooks like it gets stuck somewhere around keystone stuff.. not sure why13:55
openstackgerritFederico Ceratto proposed openstack/designate: Hide zones flagged for deletetion in API v1  https://review.openstack.org/24411614:01
*** fawadkhaliq has quit IRC14:07
DiplomatNope.. looks like api-paste.ini is a bit broken somehow14:11
*** csoukup has quit IRC14:19
andreykurilinekarlso: 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 removed14:22
ekarlsoandreykurilin: uhm, there was someone from infra I believe that started to convert our stuff to plugin based14:34
ekarlsoandreykurilin: Kiall / mugsie knows the link14:34
DiplomatI'm out of ideas, guys can you please give me advice.. what might be reason for this huge error14:34
*** mlavalle has joined #openstack-dns14:36
*** rsyed_away is now known as rsyed14:39
*** bradjones|away is now known as bradjones14:40
*** ducttape_ has joined #openstack-dns14:46
*** _ducttape_ has joined #openstack-dns14:48
*** ducttape_ has quit IRC14:50
*** jmcbride has joined #openstack-dns14:57
*** fawadkhaliq has joined #openstack-dns15:01
*** csoukup has joined #openstack-dns15:07
*** ducttape_ has joined #openstack-dns15:09
*** _ducttape_ has quit IRC15:13
*** HenryG has quit IRC15:34
*** pglass has joined #openstack-dns15:37
*** HenryG has joined #openstack-dns15:38
*** johnbelamaric has quit IRC15:53
*** johnbelamaric has joined #openstack-dns15:53
timsimDiplomat. Try looking at recent requirements changes, I bet someone broke something.15:57
timsimen_austin: How many CPUs do you have on that machine?15:58
Diplomattimsim: possible.. i'll just reinstall it15:59
timsimThat probably won't help.15:59
timsimtry pip install oslo.service==0.7.016:00
timsimOr no.16:00
timsimWhat version of that do you have16:00
*** _ducttape_ has joined #openstack-dns16:02
*** openstackgerrit has quit IRC16:02
Diplomatwut16:02
*** openstackgerrit has joined #openstack-dns16:02
*** ChanServ sets mode: +v openstackgerrit16:02
timsim:)16:02
Diplomatyou think it's oslo's problem ?16:02
timsimI _always_ think it's oslo's problem ;)16:02
Diplomatlike ovs for neutron16:02
timsimI installed a fresh designate pretty recently and it worked, so I'm betting it's a requirement change.16:03
DiplomatUninstalling oslo.service-0.12.0:16:03
Diplomat      Successfully uninstalled oslo.service-0.12.016:03
DiplomatSuccessfully installed oslo.service-0.7.016:03
Diplomatnope, didn't help lol16:03
timsimNice16:03
Diplomatso I'll reinstall 0.12 back ?16:03
timsimI suppose16:04
*** ducttape_ has quit IRC16:04
timsimTry it with these requirements, just to humor me: https://raw.githubusercontent.com/openstack/designate/8af0bfaf5ef833a5e8d67e70bd727081a39e5a48/requirements.txt16:04
DiplomatHmn, your request for humor is suspicious16:07
timsimI'm almost certain that no changes introduced in Designate recently would have caused that.16:08
DiplomatLooks like all requirements are satisfied16:09
timsimYou'll probably need to blow them away and reinstall them.16:09
timsimMost of the requirement pins are >x16:09
timsimso newer versions will satisfy.16:10
Diplomathmn.. im not very sure how to do it16:11
timsimAre you installing in a virtualenv?16:12
Diplomatnope16:12
Diplomatshould i ?16:12
*** jasonsb has joined #openstack-dns16:12
timsimEh, if it's just a vm no harm.16:12
timsims/vm/vm meant only for designate.16:12
timsimpip freeze | xargs pip uninstall -y16:13
timsim&& pip install -r requirements.txt16:13
*** boris-42_ has joined #openstack-dns16:13
openstackgerritOpenStack Proposal Bot proposed openstack/designate: Updated from global requirements  https://review.openstack.org/24392016:14
DiplomatHmn, does this uninstall removes my openstack things too and other things ?16:15
timsimYeah that'll remove everything installed via pip.16:16
Diplomathmn, that's not the best lol16:16
timsimAlright, I figured designate was the only thing in th vm16:16
timsimAre you in devstack? Your laptop?16:16
DiplomatNope, full deployment16:16
*** jasonsb_ has quit IRC16:17
*** boris-42 has quit IRC16:17
Diplomatim installing it into controller node16:17
*** boris-42_ is now known as boris-4216:19
Diplomathmn.. strange thing is that if those requrements are fine..16:23
Diplomatthen that thing still fails16:23
Diplomatthat doesnt make much sense16:23
timsimSay what now?16:23
timsimSorry, a million things going on.16:23
timsimyou 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
DiplomatI'm testing this "upgrade" thing16:24
Diplomatnoice16:25
Diplomatnow I get this ImportError: cannot import name deploy16:25
Diplomat:D16:25
timsimpip install deploy16:26
timsimmaybe. lol16:26
DiplomatCould not find a version that satisfies the requirement pycoffee (from deploy) (from versions: )16:26
DiplomatNo matching distribution found for pycoffee (from deploy)16:26
Diplomat:D16:26
timsimThere you go, install that one16:28
DiplomatCould not find a version that satisfies the requirement pycoffee (from versions: )16:29
DiplomatNo matching distribution found for pycoffee16:29
Diplomatdem requirements16:29
Diplomatpip install pycoffee that's what I tried16:30
*** ccneill has joined #openstack-dns16:33
timsimHow about git checkout b5b54334208e38954829ea7618de3697e73dab1516:33
timsimAnd try from there.16:34
timsimClearly there's some issue.16:34
DiplomatHmn, it wants me to commit paste and requirements16:35
timsimgit 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
Diplomatwtf16:36
Diplomatyour humor is strange16:36
Diplomatbut yea looks like it's done16:36
DiplomatSorry for being a dumbass here, I had a long day today16:38
DiplomatI really have no idea what I have to do here lol16:39
timsimSorry, so you've checked out that old version?16:39
DiplomatI have no idea what i just did16:40
Diplomatbut that command worked without issues :D16:40
timsimlol. um. ok. if you "git branch" what does it say?16:44
Diplomat* (detached from b5b5433)16:45
Diplomat  master16:45
*** ducttape_ has joined #openstack-dns16:45
*** _ducttape_ has quit IRC16:46
timsimAlright, that's fine for now.16:46
Diplomatokay awesome16:46
Diplomatwhat's next?16:46
Diplomatpip install requirements again ?16:46
*** _ducttape_ has joined #openstack-dns16:47
timsimYeah if they're uninstalled16:47
DiplomatHehe16:47
Diplomatnope, they are not..can i do like16:47
Diplomatpip uninstall -r requirements.txt ?16:47
timsimwith a -y, yeah16:48
Diplomatman, if it messes up my controller then i'm i'll cry like a baby16:49
Diplomat2.3  months old baby16:49
*** ducttap__ has joined #openstack-dns16:49
*** ducttape_ has quit IRC16:49
Diplomatok done16:50
Diplomatand ill install now16:50
DiplomatInstall command gave: ImportError: No module named pkg_resources huehue16:51
*** ducttape_ has joined #openstack-dns16:51
*** _ducttape_ has quit IRC16:51
Diplomatsetuptools were missing :D16:52
*** _ducttape_ has joined #openstack-dns16:53
Diplomatand it woooooorks :D16:53
Diplomathueheue16:53
Diplomatyup works, brilliant16:53
Diplomatthanks man .D16:53
Diplomat:D16:53
*** ducttap__ has quit IRC16:54
Diplomatnow I have to figure out keystone authentication too16:54
timsimWonderful.16:54
timsimNow to figure out what broke Designate :(16:55
timsimKiall mugsie ^ we have a requirements problem somewhere.16:55
*** ducttape_ has quit IRC16:56
*** _ducttape_ has quit IRC16:56
*** ducttape_ has joined #openstack-dns16:57
Diplomatyup, everything works fine17:01
Diplomatnoice.. but im not very sure how to get it working with keystone17:01
mugsieirc meeting in #openstack-meeting-alt now17:02
timsimYou'll need to create the service in Keystone17:03
timsimand endpoint17:03
*** james_li has joined #openstack-dns17:04
DiplomatI think I created an endpoint.. but i dont think i made a service mh17:08
Diplomatopenstack service create --name dns --description "OpenStack DNS" identity17:09
Diplomatlike this, right ?17:09
*** rudrajit has joined #openstack-dns17:11
*** rudrajit has quit IRC17:11
*** rudrajit has joined #openstack-dns17:12
openstackgerritOpenStack Proposal Bot proposed openstack/designate: Updated from global requirements  https://review.openstack.org/24392017:18
timsimDiplomat `keystone service-create --name designate --type dns --description "Designate Service"` is usually what i see17:20
DiplomatOkay now I have both http://puu.sh/lhNRe/d006e5e164.png17:23
Diplomatokay .. auth_strategy is keystone and here's the keystone token17:26
Diplomat[keystone_authtoken]17:26
Diplomatauth_host = controller17:26
Diplomatauth_port = 3535717:26
Diplomatauth_protocol = http17:26
Diplomatadmin_tenant_name = designate17:26
Diplomatadmin_user = designate17:26
Diplomatadmin_password =17:26
Diplomatsorry for pasting that much17:26
Diplomatadmin_password is blank because i didnt copy my password17:26
*** nyechiel has quit IRC17:27
*** rudrajit has quit IRC17:41
*** mlavalle has quit IRC17:44
*** mlavalle has joined #openstack-dns17:44
mlavalleping mlavalle17:46
*** mlavalle has quit IRC17:47
*** mlavalle has joined #openstack-dns17:48
*** mlavalle has quit IRC17:48
*** mlavalle has joined #openstack-dns17:49
*** mlavalle has quit IRC17:49
*** mlavalle has joined #openstack-dns17:49
*** mlavalle has quit IRC17:52
*** mlavalle has joined #openstack-dns17:52
*** cliles has joined #openstack-dns17:55
*** james_li_ has joined #openstack-dns17:55
*** james_li has quit IRC17:58
*** james_li_ has quit IRC18:00
*** james_li has joined #openstack-dns18:01
*** james_li has quit IRC18:04
*** ducttape_ has quit IRC18:05
*** mlavalle has quit IRC18:06
*** mlavalle has joined #openstack-dns18:08
*** ducttape_ has joined #openstack-dns18:25
*** mlavalle has quit IRC18:27
*** mlavalle has joined #openstack-dns18:27
*** mlavalle has quit IRC18:27
*** boris-42 has quit IRC18:28
*** rudrajit has joined #openstack-dns18:29
*** mlavalle has joined #openstack-dns18:32
*** rudrajit_ has joined #openstack-dns18:41
*** rudrajit has quit IRC18:44
*** fawadkhaliq has quit IRC18:45
*** _ducttape_ has joined #openstack-dns18:52
*** ducttape_ has quit IRC18:54
*** Jezogwza has joined #openstack-dns18:57
*** ccneill has quit IRC19:00
*** rsyed is now known as rsyed_away19:02
*** mlavalle has quit IRC19:08
*** mlavalle has joined #openstack-dns19:08
*** james_li has joined #openstack-dns19:10
*** james_li_ has joined #openstack-dns19:11
*** james_li has quit IRC19:11
*** rudrajit has joined #openstack-dns19:14
*** rudrajit_ has quit IRC19:16
DiplomatAnyone 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 33119:24
timsimThat's an invalid endpoint19:24
DiplomatHmm.. but v1 is deprecated ?19:24
timsimIt is19:25
DiplomatI have it like this: http://screencast.com/t/84qAqhoQ19:26
*** rsyed_away is now known as rsyed19:26
Pavodoesn't that have to be http://controller:9001/v2.019:26
timsimThere's no /servers in v2,19:26
timsimWhat are you trying to do?19:27
Diplomatumm.. designate server-list19:27
Pavohe is trying to register designate with keystone19:27
timsimI think you just want "controller:9001"19:27
timsimThe client will worry about the version19:28
DiplomatHmm.. ok I'll try19:28
mugsiethe cli uses V119:28
mugsiethe v2 CLI is part of the openstack client19:28
DiplomatAhhhh19:28
Diplomattimsim: you were correct.. i had to use it without v219:29
* timsim should have been clearer19:29
Diplomatbrilliant, thank you again lol19:30
*** cliles_ has joined #openstack-dns19:37
DiplomatNot sure if you guys manage this https://github.com/openstack/designate-dashboard but there's a typo in readme19:37
*** cliles has quit IRC19:39
timsimWe do19:40
DiplomatModify horizon's settings file to enabled designatedashboard, note the two lines to add below:19:43
Diplomatfile to enabled designatedashboard, note19:43
DiplomatI have to insert those things inside: /etc/openstack-dashboard/local_settings.py this file, right ?19:44
DiplomatIf yes, then I'm getting this error: WARNING:root:No local_settings file found. and 400 request19:44
Diplomatresponse *19:44
timsimI honestly don't know.19:44
mugsiethat would be _ducttape_19:45
* _ducttape_ wakes up19:46
_ducttape_I think those are in the settings.py file, actually19:46
_ducttape_let me double check19:46
_ducttape_https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L330-L344  is the file and section Diplomat19: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 yet19: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 IRC19:50
DiplomatHmm19:51
_ducttape_there are alternative installation methods too, but that way is the least intrusive (in my opinion)19:51
DiplomatOk so I: 1. git clone designate-dashboard.git 2. python setup.py sdist 3. pip install dist/*.tar.gz19:52
Diplomatand then im confused :D19:53
DiplomatI'm using Ubuntu 14.0419:53
DiplomatAlso I'm using liberty if it matters19:54
DiplomatAlso I found this: https://github.com/openstack/designate-dashboard/blob/master/doc/source/installation.rst19:56
*** ducttape_ has joined #openstack-dns20:01
*** _ducttape_ has quit IRC20:05
*** _ducttape_ has joined #openstack-dns20:07
*** ducttape_ has quit IRC20:08
*** mwagner has quit IRC20:11
DiplomatInteresting.. apache error log says: No module named designatedashboard.enabled, but when I do it in python then it imports correctly20:11
DiplomatHere's the error too: http://pastebin.com/CgN1nQMn20:12
_ducttape_Diplomat  - how was designatedashboard installed / setup?20:15
*** jmcbride has quit IRC20:15
_ducttape_what you are describing sounds like apache's python path just can't load that thing20:15
*** jmcbride has joined #openstack-dns20:16
DiplomatI'm confused as hell lol20:16
DiplomatI edited this file: /usr/share/openstack-dashboard/openstack_dashboard/settings.py20:16
DiplomatIt threw errors20:16
Diplomatthen I edited this file. /usr/share/openstack-dashboard/settings.py20:16
_ducttape_did you make backup copies ;) ?20:16
Diplomatit worked fine, but dns link doesnt appear in sidebar20:16
*** jmcbride has quit IRC20:16
*** jmcbride has joined #openstack-dns20:16
DiplomatAlso20:16
Diplomat./usr/share/openstack-dashboard/openstack_dashboard/utils/settings.py20:16
Diplomatops20:17
Diplomatthere are 4 settings.py files lol20:17
_ducttape_yeah, there should be only one - with that same recognizeable block in it20:17
Diplomatum.. there were 220:17
_ducttape_utils is NOT the one we want20:17
Diplomat./usr/share/openstack-dashboard/settings.py and /usr/share/openstack-dashboard/openstack_dashboard/settings.py both had those blocks20:18
_ducttape_yeah, and I think a symlink gets setup on some installs too20:18
_ducttape_are they linked?20:18
Diplomatnope20:20
_ducttape_hmm, that's special.20:21
Diplomathttp://pastebin.com/CgN1nQMn << this is the error when I used /usr/share/openstack-dashboard/openstack_dashboard/settings.py << this file20:21
Diplomatwhen I edited /usr/share/openstack-dashboard/settings.py << then horizon loaded fine20:22
_ducttape_but then dns did not show up, right?20:22
Diplomatnope20:23
_ducttape_ usr/share/openstack-dashboard/openstack_dashboard/settings.py would be the one you want20:24
_ducttape_I think20:25
Diplomatok ill try again20:25
_ducttape_b/c the wsgi file is using that double path too20:25
_ducttape_when you run python interactively, you can do a "import designatedashboard.enabled"   - right??20:26
Diplomatyes20:26
Diplomathttp://puu.sh/li0ps/1ddb81eabb.png this looks correct, right ?20:26
_ducttape_yep, that seems right20:27
Diplomatok reloading apache20:27
_ducttape_and apache has been restarted?20:27
DiplomatWat.. now I got this error20:28
DiplomatException: 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
Diplomat500 error20:28
Diplomatand git is installed20:28
DiplomatI installed it like: pip install dist/*.tar.gz after python setup.py sdist20:29
_ducttape_hmm.  the designatedashboard.... that got pip installed?20:29
_ducttape_yep, ok20:29
Diplomataccording to this guide: https://wiki.openstack.org/wiki/Designate/Vancouver/Workshop20:29
DiplomatI'd have to copy some kind of filest oo20:29
Diplomattoo20:29
_ducttape_so here is the other option, you can do20:30
_ducttape_revert your settings.py changes20:30
_ducttape_and look in the location where designatedashboard was installed, the enabled folder20: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-dns20:31
Diplomat_70_dns_add_group.py  _70_dns_add_group.pyc  _71_dns_project.py  _71_dns_project.pyc  __init__.py  __init__.pyc20:32
Diplomatand I copy them here? /usr/share/openstack-dashboard/openstack_dashboard/local/enabled20:32
_ducttape_yep20: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 follow20:36
* _ducttape_ thinks happy thoughts20:36
Diplomathehe20: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 up20:38
_ducttape_and if you rename those new enabled files,  can you get back to a working setup?20:38
Diplomathttp://pastebin.com/qigMyMwd20:39
Diplomatone moment20:39
DiplomatI 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 enabled20:45
Diplomat:D20:45
DiplomatI don't know what I broke.. but yea, I checked those files again to make sure that they were clean and they were20:46
*** csoukup has quit IRC20:47
_ducttape_that is way messed up20: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 resolution20:47
DiplomatWell.. settings files are fine20:49
Diplomatso yea lol, no idea whats wrong20:50
*** mwagner has joined #openstack-dns20:54
Diplomatyeah I checked all files i changed and nothing20:56
*** penick has joined #openstack-dns20:56
_ducttape_ah I know why21:00
_ducttape_your .py files, are older than your .pyc files21:00
_ducttape_so when you changed you settings.py - it created a new .pyc file.    know what I mean?21:00
_ducttape_touch *.py21:00
Diplomathmmm21:18
Diplomat-rw-r--r--  1 root    root     12K Nov 11 15:46 settings.py21:19
Diplomat-rw-r--r--  1 root    root     11K Oct 31 10:45 settings.pyc21:19
Diplomat-rw-r--r--  1 root    root     12K Oct 22 08:42 settings.py.orig21:19
Diplomatpy is newer than pyc21:19
openstackgerritGraham Hayes proposed openstack/designate: WIP: The Big Rename  https://review.openstack.org/24431521:21
mugsie+1794, -179021:21
mugsieouch21:21
mugsietimsim: elarson Kiall federico3 ekarlso start of the patch is here - if you see anything can you comment?21:22
* mugsie is going home21:22
timsimgood work sir21:22
*** penick has quit IRC21:24
mugsiepycharm did most of the work21:24
Diplomat_ducktape_ you sure it's that timestamp thing ?21:34
*** jmcbride has quit IRC21:37
Diplomathttps://answers.launchpad.net/horizon/+question/239533 I was reading this and this dude said that python-pbr fix worked for him21:43
Diplomatbut i just checked and its installed for me21:43
DiplomatHmm21:52
DiplomatI can't do import openstack_dashboard in python21:52
*** jmcbride has joined #openstack-dns21:54
Diplomatok so i just did apt-get remove openstack-dashboard && apt-get install openstack-dashboard21:55
Diplomatand it works21:55
*** jmcbride1 has joined #openstack-dns21:55
*** jmcbride1 has quit IRC21:56
*** rudrajit_ has joined #openstack-dns21:56
Diplomatthankfully designate itself works fine21:57
*** jmcbride has quit IRC21:58
*** rudrajit has quit IRC21:59
*** jmcbride has joined #openstack-dns22:00
*** jmcbride has quit IRC22:00
*** csoukup has joined #openstack-dns22:00
*** jmcbride has joined #openstack-dns22:00
*** penick has joined #openstack-dns22:07
*** johnbelamaric has quit IRC22:26
*** km has joined #openstack-dns22:42
*** km is now known as Guest2115122:42
*** penick has quit IRC22:47
*** ducttape_ has joined #openstack-dns23:01
*** _ducttape_ has quit IRC23:04
DiplomatGuys, I have another really noob question.. so I'm trying to create an A entry over api and this is what I post23:06
Diplomat{"name":"mydomain.com.","type":"A","ttl":3600,"records":[{"address":"192.168.0.1"}]}23:06
Diplomatbut it tells me this: Provided object is not valid. Got a TypeError with message unhashable type: 'dict'23:06
*** Jezogwza has quit IRC23:06
timsimrecords: ["192.168.0.1"]23:06
timsimhttp://docs.openstack.org/developer/designate/rest/v2/recordsets.html#get--zones-(uuid-id)-recordsets-(uuid-id)23:07
Diplomathttps://wiki.openstack.org/wiki/Designate/APIv2#Create_RecordSet_.28A.2923:07
timsimsorry http://docs.openstack.org/developer/designate/rest/v2/recordsets.html#post--zones-(uuid-id)-recordsets23:07
DiplomatI used that one23:07
timsim"This is a DRAFT of the Designate Version 2 API."23:07
timsimTrust the docs.23:07
DiplomatTIL23:08
Diplomatthanks man23:08
timsimYou bet23:08
DiplomatMan, this designate is the next best thing since openstack23:09
Diplomatbeen dreaming about a tool like this lol23:09
* timsim tears up23:10
DiplomatNow I have to figure out how to push my zones to my dns servers23:11
*** csoukup has quit IRC23:15
DiplomatAlrighty, I have abolutely no idea what to search or where to search.. basically i have 2 bind servers that are waiting for zones23:15
timsimhttps://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample and should get you started hopefully23:16
Diplomathehe23:17
Diplomathopefully23:17
*** jmcbride has quit IRC23:21
timsimWhen you notice doc shortcomings, plz report, we're working on improving that.23:26
*** ccneill has joined #openstack-dns23:26
Diplomatoh sure23:31
*** cliles_ has quit IRC23:32
*** boris-42 has joined #openstack-dns23:32
DiplomatOkay so.. [pool_nameserver:uuid] is my external bind server, right?23:34
timsimThe 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
Diplomatah cool.. and to make a second target ill just copy the first one and add it again ?23:38
*** ducttape_ has quit IRC23:39
*** ducttape_ has joined #openstack-dns23:39
Diplomatalso this23:42
Diplomatmasters=23:42
timsimYou'll want to make sure to change the UUIDs in those section names.23:43
timsimmasters would be the controller node :5354 probably. That's the designate service "designate-mdns"23:43
DiplomatOkay sweet, thanks.. is there a way to push a test domain? like.. check that the connection between those servers works fine ?23:46
Diplomatit'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 one23:48
timsimYou bet. 5:49 pm here so I'm headed off too23:49
*** ccneill has quit IRC23:56

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!