Once you have a Directory server installed, you are going to want to query against it from throughout the Network. For many reasons, you will want traffic to the server encrypted. Here are the steps to quest against a server using LDAPS from a remote machine.
Author Archives: Adam Young
Testing PKI Tokens in pre-release Folsom
There have been a few questions regarding PKI tokens and their testing in the Openstack code base. Here are the steps:
My Keystone To do list Fall 2012
Once again it is time to brain dump the things I want to make happen in the next release of Open Stack.
Testing out PKI Signed tokens in Openstack Keystone
I’ve put a fair amount of time into the Signed Tokens implementation. Now that they have been merged into the master branch of Keystone, I’d like to get some more people playing around with the feature, and see how it impacts things. Continue reading
Wizard Woodcarving
After reading The Hobbit to my sons, my younger guy requested his favorite character. Quite pleased with how this grey pilgrim turned out.
Git: Syncronizing Multiple Patches on Multiple Branches
With Openstack, I find I often have a patch up for review that I want to use as the basis for future work. When a review comes in, I have to make the changes for the review and update the commit. There are a couple ways to go about doing it, but here is one that has worked for me. Continue reading
Presentation on Keystone Deepdive and Folsom
http://adam.younglogic.com/presentations/KeystoneFolsom/
There is not a lot of text: I tend to keep my presentations as a visual mnemonic for the topics being discussed.
Let me know if you want to steal any of the images I created. I have them all as SVG, and the UML diagrams came out of ArgoUML.
Most of the Creative Commons images were found on DeviantArt.com, attributions at the end.
Latency
(To the tune of Yesterday, With apologies to all four Beatles and most sys admins)
Latency
It’s the signature of HPC
that is why it’s running endlessly
your process gates on Latency
This one, well
is embarrassingly parallel
that is why its running fast as hell
the render farm works just as well
Why’s it running slow
don’t you know the bottleneck
demands for some commands
will dictate your architect ect ecture
Here’s the scoop
This one’s nothing more than data soup
that you’re running through an endless loop
You probably should try Hadoop
(This might be the only one I tag as both Lyrics and Networking)
Installing RPM Build Dependencies
If you ever want to build and RPM, you need to make sure that the things it requires are installed. These are listed in the SPEC file on lines that begin with BuildRequires. Installing these by hand is time consuming enough that it should be automated. Here’s a first hack in Python.
#!/usr/bin/python
import sys
import re
build_re = re.compile('BuildRequires:.*')
compare_re = re.compile('.*=.*')
def main():
if (len(sys.argv) > 1):
spec = open(sys.argv[1])
for line in spec:
if build_re.match(line):
for token in line.rsplit(" "):
if build_re.match(token):
continue
if compare_re.match(token):
break
token = token.rstrip(" ,\n\r")
if len(token) > 0:
print token
if __name__ == "__main__":
main()
To use it, save in a file called buildreqs.py and run:
sudo yum install `./buidreqs.py ~/rpmbuild/SPECS/krb5.spec`
Speeding up SQLite based unit tests
If you write database driven applications, you probably have used SQLite at some point. Since it is a simple embedded database, it is a logical choice to use for unit tests that go to the database. However, SQLite performance on Ext4 (default Fedora File system) is lack-luster.
A cheap way to speed things up is to use a ramdisk as the backing store for the database.
Continue reading




