Friday, 2014-01-17

*** vipul-away is now known as vipul00:08
*** CaptTofu has joined #openstack-dns00:09
*** vipul is now known as vipul-away00:24
*** vipul-away is now known as vipul00:34
*** jmcbride has joined #openstack-dns00:46
*** CaptTofu has quit IRC00:53
*** jmcbride has quit IRC00:56
*** jmcbride has joined #openstack-dns00:59
*** CaptTofu has joined #openstack-dns01:05
*** vinod has joined #openstack-dns01:07
*** jmcbride has quit IRC01:23
*** vinod has quit IRC01:33
*** vinod has joined #openstack-dns01:34
*** vinod has quit IRC01:41
*** nosnos has joined #openstack-dns02:04
*** CaptTofu has quit IRC02:10
*** richm has quit IRC02:24
*** vinod has joined #openstack-dns02:39
*** vinod has quit IRC03:08
*** vinod has joined #openstack-dns03:10
*** HenryG has joined #openstack-dns03:10
*** CaptTofu has joined #openstack-dns04:11
*** CaptTofu has quit IRC04:15
*** jmcbride has joined #openstack-dns05:29
*** jmcbride has quit IRC05:33
*** vinod has quit IRC05:47
*** HenryG has quit IRC05:52
*** CaptTofu has joined #openstack-dns06:12
*** CaptTofu has quit IRC06:16
*** pavelk has joined #openstack-dns07:49
*** pavelk is now known as Wayland07:50
*** Wayland is now known as WaylandAce07:50
*** WaylandAce has left #openstack-dns07:51
*** pavk has joined #openstack-dns07:58
*** CaptTofu has joined #openstack-dns08:12
*** CaptTofu has quit IRC08:17
*** lyle has joined #openstack-dns08:58
*** david-lyle has quit IRC08:58
*** cflmarques has joined #openstack-dns09:16
*** CaptTofu has joined #openstack-dns10:13
*** CaptTofu has quit IRC10:18
cflmarquesKiall: I kiall. SOrry to bother you again! When I try to creata a PTR record like the schema example on the Rest aPi documentation I got the following exceptio under central service10:29
cflmarques raise exceptions.InvalidRecordLocation('Record is not contained '10:29
cflmarquesI have created a domain 1example.com an created 4 Type A records under it10:30
cflmarques File "/usr/lib/python2.7/dist-packages/designate/central/service.py", line 134, in _is_valid_record_name10:32
cflmarquesI think my reverse Zone is not well defined10:39
cflmarques:(10:39
kiallcflmarques: So - Reverse DNS zones have a very specific naming convention..10:49
kiallTake the IP address, say, 192.168.0.1, reverse it to be 1.0.168.192 and append .in-addr.arpa. - giving a final record name of 1.0.168.192.in-addr.arpa.10:50
kiallthat record can be placed into the 0.168.192.in-addr.arpa., or 168.192.in-addr.arpa., or 192.in-addr.arpa. zone.10:50
kialli.e. the PTR does not live in the same zone/domain as the "forward record"10:50
kiall(Thats for IPv4, IPv6 has a slightly different convention for the zone name)10:51
kiallSo .. Say I had an A record of www.example.com. with an value of 192.168.0.1 .. DNS requires 2 zones for forward and reverse DNS to both work10:52
cflmarquesDo I have to create a server with the name let's say "name": "0.168.192.in-addr.arpa." in order to create a NS record an SOA record?10:52
kiallexample.com.10:52
kialland10:52
kiall0.168.192.in-addr.arpa., or 168.192.in-addr.arpa., or 192.in-addr.arpa.10:52
kiallthen you place the A record in the example.com zone, and the PTR in the in-addr.arpa. zone10:53
kiallNo, no need for a new server (as in, the thing designate calls a "server")10:53
*** nosnos has quit IRC10:53
kiallMake sense?10:54
cflmarquesKiall: makes totally sense10:56
cflmarquesBut using Designate how do I create a zone 0.168.192.in-addr.arpa. in order to create PTR under it?10:59
kiallJust like you would create any other domain - if you're using the CLI, `designate domain-create --name 0.168.192.in-addr.arpa. --email me@me.com` :)11:00
kiallOh - Wait. Our default config has reverse DNS zone "blacklisted"... If your not an admin, it'll reject that unless you change the config to allow it..11:01
kiallhttps://github.com/stackforge/designate/blob/master/designate/central/__init__.py#L31-3411:01
openstackgerritKiall Mac Innes proposed a change to stackforge/designate: Update setup.cfg for the Neutron -> Quantum handler rename  https://review.openstack.org/6742711:03
cflmarquesKiall: I really truly thank you :)11:10
kiallNo problem ..11:10
cflmarquesfor now I am admin, and no auth at all. But if I use keystone an have more users I need to change the default config that have reverse DNS zone blacklisted?11:12
kiallYea, because reverse DNS zones are odd.. in that at least 255 IPs belong to 1 reverse DNS zone, and since IPs "in the cloud" are shared among different tenants, it gets awkward to manage reverse DNS unless you trust all your users11:13
kiall1.0.168.192.in-addr.arpa. <-- Tenant 1, for 192.168.0.111:14
kiall2.0.168.192.in-addr.arpa. <-- Tenant 2, for 192.168.0.211:14
kiallboth in the "0.168.192.in-addr.arpa." zone11:14
kiallHence we're building out better support for handling reverse DNS zones in a multi-tenant environment at the moment11:14
kiallekarlso merged the first piece a few days back11:14
cflmarquesokay Kiall. Thanks a lot for your explanation11:16
*** vipul is now known as vipul-away11:31
*** CaptTofu has joined #openstack-dns12:14
*** CaptTofu has quit IRC12:19
*** artom has joined #openstack-dns12:49
*** CaptTofu has joined #openstack-dns12:55
artomHrmm, thought: reverse DNS is an instance of a tenant delegating records in his zone to other tenants.12:56
artomWould this be applicable/needed/desirable in other cases, and thus do we want to generalize the implementation (if that's not already in the works)12:56
kiallartom: so, you're bang on that it's essentially sharing records from 1 tenant into another.. But, I'm not sure I see a huge value in that for other use cases.. (Delegating sub-domains to another tenant, now that's something we're being asked for by some customers)13:03
kiallBut .. Managing PTR's for floating IPs is harder again .. in that we have to sync with neutrons FIP allocations13:03
kiallekarlso committed the first piece for neutron FIP's a few days back..13:04
kiallWell add to that with a neutron event handler that pro-actively purges PTR records when the tenant releases the FIP - He's just working on another issue first13:04
*** cflmarques has quit IRC13:11
openstackgerritA change was merged to stackforge/designate: Update setup.cfg for the Neutron -> Quantum handler rename  https://review.openstack.org/6742713:11
*** msisk has joined #openstack-dns13:43
*** CaptTofu has quit IRC14:00
*** CaptTofu has joined #openstack-dns14:00
*** CaptTofu has quit IRC14:05
*** artom has quit IRC14:18
*** artom has joined #openstack-dns14:21
*** msisk_ has joined #openstack-dns14:27
*** msisk_ has quit IRC14:27
*** msisk has quit IRC14:27
*** msisk has joined #openstack-dns14:28
*** jmcbride has joined #openstack-dns14:42
*** betsy has joined #openstack-dns14:47
*** vinod has joined #openstack-dns14:49
*** jmcbride has quit IRC14:57
*** jmcbride has joined #openstack-dns15:00
*** nkinder has quit IRC15:02
*** HenryG has joined #openstack-dns15:22
*** CaptTofu has joined #openstack-dns15:24
*** vinod has quit IRC15:37
*** vinod has joined #openstack-dns15:39
*** richm has joined #openstack-dns15:40
*** artom has quit IRC15:41
*** jmcbride has quit IRC15:50
*** jmcbride has joined #openstack-dns15:52
*** nkinder has joined #openstack-dns15:52
*** vinod has quit IRC16:02
*** vinod has joined #openstack-dns16:04
*** pasquier-s_ has quit IRC16:09
*** vipul-away is now known as vipul16:12
*** lyle is now known as david-lyle16:19
*** jmcbride has quit IRC16:23
*** pavk has quit IRC16:23
*** vinod has quit IRC16:24
*** vipul is now known as vipul-away16:27
*** vinod has joined #openstack-dns16:27
*** jmcbride has joined #openstack-dns16:27
*** jorgem has joined #openstack-dns16:30
*** vipul-away is now known as vipul16:31
*** betsy has quit IRC16:38
*** jmcbride has quit IRC16:46
*** jmcbride has joined #openstack-dns16:46
*** artom has joined #openstack-dns16:52
*** jmcbride has quit IRC16:59
richmping - had a question about http://designate.readthedocs.org/en/latest/getting-started.html17:07
richmtrying to get this working on Fedora 1917:07
richmwhen I run this:17:07
richmpython setup.py develop17:07
richmI get this error:17:07
richmerror in setup command: Error parsing /path/to/designate/setup.cfg: OSError: [Errno 2] No such file or directory17:08
richmbut /path/to/designate/setup.cfg is there and readable17:08
*** betsy has joined #openstack-dns17:08
richmis it looking for /path/to/designate/setup.cfg under the .venv directory?17:09
richmno, it isn't17:10
richmDoes anyone use Fedora, and can you share your instructions?17:10
*** tsimmons has joined #openstack-dns17:11
artomShot in the dark, but make sure you have pbr and setuptools installed?17:12
tsimmonsProbably something like that ^. I've never tried installing on Fedora before though, so I wouldn't know.17:13
richmI have the python-setuptools package installed17:20
richmwhat is pbr?17:20
*** kiall has quit IRC17:21
artomhttp://docs.openstack.org/developer/pbr/17:23
artomhttps://pypi.python.org/pypi/pbr/17:23
artompip install pbr, in your venv17:23
artomI think install -r requirements.txt should install it as well17:23
*** kiall has joined #openstack-dns17:24
richmfind .venv -name \*pbr\*17:24
richm.venv/lib/python2.7/site-packages/pbr17:24
* richm fires up the python debugger . . .17:24
kiallrichm: the setup.py/setup.cfg is identical to all other other openstack projects? (Or, it should be...)17:25
kiallHave you tried using any of those on fedora recently?17:25
richmno, just trying to get a dev environment setup for Designate17:26
*** jmcbride has joined #openstack-dns17:27
kiallrichm: humm .. I'd clone something like python-novaclient, and see if that works before digging into a debugger :)17:28
richmok17:28
kiallIn theory - Our stuff is identical, and this would rule out a good chunk of stuff17:28
*** betsy has quit IRC17:31
*** jmcbride has quit IRC17:31
*** vinod has quit IRC17:31
*** artom has quit IRC17:32
nkinderrichm: do you have the python-pbr rpm installed?17:33
*** artom has joined #openstack-dns17:34
*** tsimmons has quit IRC17:36
kiallnkinder: I'd be very surprised if that help .. the docs he's following install in a virtualenv, and install PBR before the failing step17:36
*** jmcbride has joined #openstack-dns17:38
richmI did not have python-pbr installed17:39
richmI am installing it now17:40
richmsetup still fails17:41
*** msisk has quit IRC17:41
richmtried to rerun pip install -r requirements.txt -r test-requirements.txt but it says all packages are installed17:41
*** tsimmons has joined #openstack-dns17:43
kiallrichm: did python-novaclient work?17:46
kiallIf that works, then it's something designate specific that I can probably find :)17:47
*** jmcbride has quit IRC17:48
*** msisk has joined #openstack-dns17:48
richmkiall: git clone https://github.com/openstack/python-novaclient  ?17:50
kiallYep - thats the one...17:50
kiallall the steps up to and including `python setup.py develop` should be the same, bar the repo and folder name17:50
kiallIf that fails, it's either something in pbr, fedora, or your desktop ;)17:51
kiallI'm booting a F19 image at the moment to test anyway..17:51
nkinderI'm spinning up F20 to give it a try as well.17:53
kiallI think this is first time I've used fedora in about 6 or 7 years ;)17:54
artomLooks like I'll test with F21 then ;)17:54
kialllol17:54
richmnkinder: I tried F20 - yum install of rabbitmq-server failed - there were some other rpm %pre and %post script errors with other packages17:54
*** tsimmons has quit IRC17:54
kialland .. apparently pip on fedora doesn't come with HTTPs support? heh17:57
* kiall finds the package for that17:57
kiallopenssl upgrade .. odd17:58
kiallHeh - Now cliff fails to install -_- .. upgrade everything I guess.18:00
*** tsimmons has joined #openstack-dns18:02
richmok - I get the same error with python-novaclient - Error parsing /path/to/python-novaclient/setup.cfg18:15
*** CaptTofu has quit IRC18:31
*** jmcbride has joined #openstack-dns18:33
*** vinod has joined #openstack-dns18:42
*** tsimmons has quit IRC18:48
*** jmcbride has quit IRC18:48
kiallrichm: humm.. I gave up myself, i couldn't even get as far as you ;) Error after error just trying to install the pure-python dependencies ;)18:52
*** tsimmons has joined #openstack-dns18:52
kiallI wonder if https://jenkins01.openstack.org/job/gate-python-novaclient-python26/1400/console has any hints18:53
kiallit's installing on centos, which should be simailar-ish18:53
kiall(Thats for novaclient)18:53
*** tsimmons has quit IRC18:58
*** betsy has joined #openstack-dns18:59
*** jmcbride has joined #openstack-dns19:04
*** vipul is now known as vipul-away19:09
*** vipul-away is now known as vipul19:09
*** CaptTofu has joined #openstack-dns19:19
*** betsy has quit IRC19:21
*** jmcbride has quit IRC19:32
*** vipul is now known as vipul-away19:35
*** vipul-away is now known as vipul19:35
*** vipul is now known as vipul-away19:35
*** vinod has quit IRC19:37
*** vipul-away is now known as vipul19:47
*** vinod has joined #openstack-dns19:47
*** vinod has quit IRC19:47
*** jmcbride has joined #openstack-dns19:48
*** vipul is now known as vipul-away19:50
richmit was my weird environment20:15
richmI use rhel6 for git20:15
richmi use a f19 vm which nfs mounts my git directory20:15
richmI did not have git installed on f1920:15
richmit was failing trying to use a git command to get the "pre" version20:16
richmand of course the exception was completely useless20:16
richmq20:19
*** vinod has joined #openstack-dns20:31
*** msisk has quit IRC20:33
*** msisk_ has joined #openstack-dns20:33
*** betsy has joined #openstack-dns20:37
*** vipul-away is now known as vipul20:47
*** betsy has quit IRC20:49
*** rjrjr has quit IRC21:01
*** jmcbride has quit IRC21:02
*** vinod has quit IRC21:27
*** vipul is now known as vipul-away21:31
richmWorking now on Fedora 1921:32
richmI need to make some changes to http://designate.readthedocs.org/en/latest/getting-started.html21:33
richmhttp://ur1.ca/gfyze21:33
artomrichm, I suspect the main guys are not around, but you can always submit a patch.21:39
richmartom: a doc patch?21:39
artomSure, why not? Doc's in git like the rest of it21:39
artomhttps://github.com/stackforge/designate/blob/master/doc/source/getting-started.rst21:40
richmartom: ok - thanks!21:40
artomI have reservations about adding distro-specific stuff to the doc (beyond the use of yum/apt-get as the package manager, something must be used!)21:41
*** vinod has joined #openstack-dns21:41
artomBut I'm not in a position to make that call, hence encouraging you to submit a patch :)21:41
richmartom: ok21:41
*** betsy has joined #openstack-dns21:42
*** vipul-away is now known as vipul21:43
*** vipul is now known as vipul-away21:47
*** artom has quit IRC21:56
*** vinod1 has joined #openstack-dns22:03
*** vipul-away is now known as vipul22:04
*** vipul is now known as vipul-away22:04
*** vinod has quit IRC22:05
*** CaptTofu has quit IRC22:11
*** CaptTofu has joined #openstack-dns22:16
*** msisk has joined #openstack-dns22:19
*** msisk_ has quit IRC22:21
*** HenryG has quit IRC22:37
*** msisk has quit IRC22:45
*** vinod1 has quit IRC23:01
*** betsy has quit IRC23:03
*** nkinder has quit IRC23:04
*** vinod has joined #openstack-dns23:06
*** vinod has quit IRC23:10
*** vinod has joined #openstack-dns23:11
openstackgerritRichard Megginson proposed a change to stackforge/designate: provide designate getting started instructions for Fedora 19  https://review.openstack.org/6759823:14
*** vinod has quit IRC23:15
*** jorgem has quit IRC23:19
*** simonmcc has joined #openstack-dns23:21
*** CaptTofu has quit IRC23:24
*** CaptTofu has joined #openstack-dns23:25
*** CaptTofu has quit IRC23:29
*** vipul-away is now known as vipul23:42
kiallrichm: the F19 doc look good :) The only thing I would suggest (before I try them myself) is that we try and merge them into the main document rather than a new section at the bottom .. My reasoning is, 1) OpenStack as a whole has expressed first class support for Fedora/RHEL/CentOS and Ubuntu, so including these in the main body of the document is OK. 2) Bitrot. If they stay as notes at the bottom, it's more likely people will miss the matching23:45
kiallfedora section while making a change.. and reviewers won't see the fedora bit in the diff when a ubuntu change comes in.23:45
kiallI have to admit though, I'm not sure where things like the selinux note should go.. Maybe a note section like on [1] linking to the very fedora specific stuff at the bottom?23:48
kiall[1] http://designate.readthedocs.org/en/latest/devstack.html23:48
kiallWhich reminds me.. That doc page needs to be updated for the devstack plugin, rather than fork..23:49
richmkiall: ok, sounds good23:55
richmkiall: I wasn't really sure where or how to provide this information23:55
kiallWell, we'll accept anything that makes our docs better ;) Other core OpenStack projects tend to skip the basics (like RMQ) configs, allowing the OpenStack install guides which covers all the core servers to handle that..#23:58
kiallBut.. We're not included in those docs, so, having them ourselves where necessary is a good thing23:59

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