<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8442381308163842217</id><updated>2024-09-02T02:30:52.041+02:00</updated><title type='text'>britxardo</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-2920692659723053550</id><published>2010-04-14T23:19:00.003+02:00</published><updated>2010-04-14T23:23:13.831+02:00</updated><title type='text'>Broken buckets in Eucalyptus</title><content type='html'>I have experienced an issue with Eucalyptus Walrus when uploading big data chunks, which has at some point failed without finishing and left the bucket in an inconsistent state, so that when I try to list its contents I get an error message such as:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: black;&quot;&gt;&lt;i&gt;dd1e48ad-45ea-44e3-9227-e9fd67309ab0adminBukkitListBucketTypejava.lang.NullPointerException&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;
The steps I followed to fix it:&lt;br /&gt;
&lt;b&gt;&lt;i&gt;a)&lt;/i&gt; &lt;/b&gt;Stop both Cloud Controller and Walrus&lt;br /&gt;
&lt;b&gt;&lt;i&gt;b) &lt;/i&gt;&lt;/b&gt;Physically remove the bucket from the Walrus storage&lt;br /&gt;
&lt;b&gt;&lt;i&gt;c) &lt;/i&gt;&lt;/b&gt;Remove the affected entries from the CLC database&lt;br /&gt;
&lt;b&gt;&lt;i&gt;d) &lt;/i&gt;&lt;/b&gt;Restart both components&lt;br /&gt;
&lt;br /&gt;
The tricky one is fixing the database, which I did following these steps:&lt;br /&gt;
On the CLC server the Eucalyptus database files are in:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: black;&quot;&gt;&lt;i&gt;/var/lib/eucalyptus/db&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;
the .script files contain the data to be loaded to the in-memory database at CLC startup time.&lt;br /&gt;
The relevant file for buckets is eucalyptus_walrus.script, where certain entries must be removed:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.- &lt;/b&gt;Look for the entry where the affected bucket is inserted and remove it:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: black;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;INSERT INTO BUCKETS VALUES(10,&#39;image-bucket&#39;,0,&#39;2010-03-05 18:16:29.965000000&#39;,FALSE,FALSE,FALSE,FALSE,FALSE,&#39;US&#39;,&#39;admin&#39;)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
the first value in the INSERT is the bucket ID (10), which we&#39;ll need later.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.- &lt;/b&gt;Look for the entries where the objects in the affected bucket are inserted and remove them (recognisable by the name of the bucket in the INSERT):&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;INSERT INTO OBJECTS VALUES(16,&#39;image-bucket&#39;,NULL,&#39;application/xml&#39;,&#39;c0a490cf7d28955fd3e8d0b249c64c60&#39;,FALSE,FALSE,FALSE,FALSE,&#39;2010-03-05 18:16:31.012000000&#39;,&#39;debian.5-0.x86-64.img.manifest.xml&#39;,&#39;debian.5-0.x86-64.img.manifest.xmlLCc2jw..&#39;,&#39;admin&#39;,6293,&#39;STANDARD&#39;)NDARD&#39;)&lt;br /&gt;
INSERT INTO OBJECTS VALUES(17,&#39;image-bucket&#39;,NULL,NULL,NULL,FALSE,FALSE,FALSE,FALSE,NULL,&#39;debian.5-0.x86-64.img.part.0&#39;,&#39;debian.5-0.x86-64.img.part.0nOsjWQ..&#39;,&#39;admin&#39;,NULL,NULL)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
The first value in each insert is the object ID (16 and 17), which we will need later.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3.- &lt;/b&gt;Look for the entry where access is granted to the bucket (recognisable by the bucket ID) and remove it.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;INSERT INTO BUCKET_HAS_GRANTS VALUES(10,26)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
The insert goes into the BUCKET_HAS_GRANTS table and the first values (10) is the bucket ID we found out earlier. The second value is the access&lt;br /&gt;
granted ID (26) which we will need later.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4.- &lt;/b&gt;Look for the entries where access is granted to the objects (recognisable by the object IDs) and remove them.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;INSERT INTO OBJECT_HAS_GRANTS VALUES(16,27)&lt;br /&gt;
INSERT INTO OBJECT_HAS_GRANTS VALUES(17,28)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
The INSERTs are into the OBJECT_HAS_GRANTS table and the first value is the Object IDs we found out earlier. The second values are the access&lt;br /&gt;
granted IDs (27 and 28) which we will need later&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5.- &lt;/b&gt;Look for the entries where access rights are defined for the bucket and the objects (recognisable by the access grant IDs) and remove them:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;INSERT INTO GRANTS VALUES(26,TRUE,TRUE,TRUE,TRUE,NULL,&#39;admin&#39;)&lt;br /&gt;
INSERT INTO GRANTS VALUES(27,TRUE,TRUE,TRUE,TRUE,NULL,&#39;admin&#39;)&lt;br /&gt;
INSERT INTO GRANTS VALUES(28,TRUE,TRUE,TRUE,TRUE,NULL,&#39;admin&#39;)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
The INSERTs are into the GRANTS table and the first values are the access grant IDs we found out earlier.&lt;br /&gt;
&lt;br /&gt;
(Also posted in the &lt;a href=&quot;http://forum.eucalyptus.com/forum/getting-rid-broken-buckets&quot;&gt;Eucalyptus forum&lt;/a&gt;)</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/2920692659723053550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/04/broken-buckets-in-eucalyptus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/2920692659723053550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/2920692659723053550'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/04/broken-buckets-in-eucalyptus.html' title='Broken buckets in Eucalyptus'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-3083123511098196263</id><published>2010-03-30T13:00:00.000+02:00</published><updated>2010-03-30T13:00:44.816+02:00</updated><title type='text'>1752</title><content type='html'>The change from the &lt;a href=&quot;http://en.wikipedia.org/wiki/Julian_calendar&quot;&gt;Julian calendar&lt;/a&gt; to the &lt;a href=&quot;http://en.wikipedia.org/wiki/Gregorian_calendar&quot;&gt;Gregorian calendar&lt;/a&gt; took place at different times in different places. In 1752 it was applied in the US, meaning that the day after the 2nd of September 1752 in the US is the 14th of September 1752.&lt;br /&gt;
Type &#39;&lt;b&gt;cal 1752&lt;/b&gt;&#39; in any UNIX-like system and take a look at September...</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/3083123511098196263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/03/1752.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/3083123511098196263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/3083123511098196263'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/03/1752.html' title='1752'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-3377911572391019407</id><published>2010-03-24T00:16:00.000+01:00</published><updated>2010-03-24T00:16:35.516+01:00</updated><title type='text'>Source IP</title><content type='html'>Today we had a discussion regarding source IP NATting. On the one hand personally I don&#39;t like relying on the source IP of a request for anything, let alone authentication, but on the other hand I think it is good to have the source IP of a request on your logs.&lt;br /&gt;
Load balancing is the disruptive feature, it hides the real server IP from the client but imposes restrictions on the internal network setup...</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/3377911572391019407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/03/source-ip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/3377911572391019407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/3377911572391019407'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/03/source-ip.html' title='Source IP'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-5892751848896378138</id><published>2010-03-24T00:01:00.000+01:00</published><updated>2010-03-24T00:01:01.699+01:00</updated><title type='text'>Twitter</title><content type='html'>Of all those &quot;social&quot; networks around Twitter seems like not that bad, so I&#39;ve just decided to give it a try, created an account and added the updates here.&lt;br /&gt;
If I remain as lazy as lately you won&#39;t be seeing many updates, though...&lt;br /&gt;
You can follow it &lt;a href=&quot;http://twitter.com/britxardo&quot;&gt;here&lt;/a&gt;!</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/5892751848896378138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/03/twitter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/5892751848896378138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/5892751848896378138'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/03/twitter.html' title='Twitter'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-5466862033669179680</id><published>2010-01-07T11:26:00.000+01:00</published><updated>2010-01-07T11:26:00.312+01:00</updated><title type='text'>How to do the same on CentOS</title><content type='html'>This is related to &lt;a href=&quot;http://britxardo.blogspot.com/2010/01/how-to-disable-ssl-in-eucalyptus-web.html&quot;&gt;this&lt;/a&gt; change. I have done the same on&amp;nbsp;&lt;a href=&quot;https://www.centos.org/&quot;&gt;CentOS 5.4&lt;/a&gt; and there are a few differences but essentially the modifications are the same.&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;root.war&lt;/b&gt; file is on the same location and the change to be done is the same as in Ubuntu (remove the confidentiality requirement). The funny thing is that there is another file with the same content as the modified &lt;b&gt;web.xml&lt;/b&gt; in&lt;b&gt; etc/eucalyptus/cloud.d/gwt-web.xml&lt;/b&gt; but it doesn&#39;t seem to have any effect (modifying &lt;b&gt;root.war&lt;/b&gt; is enough)&lt;br /&gt;
&lt;br /&gt;
The Jetty connector change is a bit trickier, though. In this setup (I installed from RPMs) the Jetty configuration file (&lt;b&gt;eucalyptus-jetty.xml&lt;/b&gt;) is not within the configuration files in &lt;b&gt;/etc/eucalyptus&lt;/b&gt; but inside one of the Eucalyptus JAR files:&lt;br /&gt;
&lt;b&gt;/usr/share/eucalyptus/eucalyptus-www-1.6.1.jar&lt;/b&gt;&lt;br /&gt;
This file must be uncompressed, the &lt;b&gt;eucalyptus-jetty.xml &lt;/b&gt;modified as in Ubuntu (replacing the HTTPS connector with and HTTP connector) and compressed back.&lt;br /&gt;
I don&#39;t especially like this setup since it makes it more difficult to fine tune Jetty not only for this HTTPS/HTTP change but also for some other connector parameters that you might want to modify in order to do some fine tuning.</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/5466862033669179680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/01/how-to-do-same-on-centos.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/5466862033669179680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/5466862033669179680'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/01/how-to-do-same-on-centos.html' title='How to do the same on CentOS'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-4550080301734877915</id><published>2010-01-06T22:46:00.021+01:00</published><updated>2010-01-08T12:34:56.697+01:00</updated><title type='text'>How to disable SSL in the Eucalyptus web interface in Ubuntu</title><content type='html'>I recently installed &lt;a href=&quot;http://open.eucalyptus.com/&quot;&gt;Eucalyptus&lt;/a&gt; on&amp;nbsp;&lt;a href=&quot;http://www.ubuntu.com/&quot;&gt;Ubuntu 9.04&lt;/a&gt; to do some tests, and the first thing I tried was to disable SSL in the admin interface.&lt;br /&gt;
&lt;br /&gt;
Why would I want to disable SSL and use plain HTTP? You might wonder... The reason is quite simple, from the beginning I found a bit strange that a system such as the Eucalyptus Cloud Controller, the &quot;heart&quot; of Eucalyptus, was intended to run exposed to the Internet.&lt;br /&gt;
Coming from a traditional three-tier architecture mindset my first thought was that such a system, handling user credentials, business logic and many other &quot;sensitive&quot; topics would best fit into a backend - secure backend kind of setup.&lt;br /&gt;
As it is today the system looks quite tightly coupled, therefore a &quot;secure backend&quot; with a database, LDAP or similar seems not so easy to achieve without a deeper knowledge, but I though that a frontend - backend approach should be easy to apply.&lt;br /&gt;
In any case the modularity introduced with release 1.6.1 allowing a separate installation for each component and some comments in the &lt;a href=&quot;http://forum.eucalyptus.com/forum/&quot;&gt;Eucalyptus forums&lt;/a&gt; make me think something might happen in that area in the future.&lt;br /&gt;
&lt;br /&gt;
Therefore I went for a frontend - backend approach, where the plan was to setup a frontend layer using &lt;a href=&quot;http://httpd.apache.org/&quot;&gt;Apache&lt;/a&gt; in the frontend performing the SSL offload (with my own certificates) and acting as a reverse proxy towards the Eucalyptus setup in the backend.&lt;br /&gt;
I setup a standard reverse proxy configuration in Apache, taking care of the SSL listening on the standard 443 port and the only thing left was to remove the SSL layer from Eucalyptus and have it listen to plain HTTP on its standard web GUI port 8443.&lt;br /&gt;
&lt;br /&gt;
In order to do that I just edited a couple of files from the standard Eucalyptus installation:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: yellow;&quot;&gt;1.-&lt;/span&gt; /etc/eucalyptus/cloud.d/eucalyptus-jetty.xml&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
In this file I removed the Jetty SSL connector and replaced it with an HTTP connector:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Removed&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;
&amp;lt;Call name=&quot;addConnector&quot;&amp;gt;&lt;br /&gt;
&amp;lt;Arg&amp;gt;&lt;br /&gt;
&amp;lt;New class=&quot;org.mortbay.jetty.security.SslSelectChannelConnector&quot;&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;Port&quot;&amp;gt;&lt;br /&gt;
&amp;lt;SystemProperty name=&quot;euca.www.port&quot; default=&quot;8443&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;maxIdleTime&quot;&amp;gt;30000&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;keystoreType&quot;&amp;gt;pkcs12&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;truststoreType&quot;&amp;gt;pkcs12&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;keystore&quot;&amp;gt;&amp;lt;SystemProperty name=&quot;euca.var.dir&quot; default=&quot;conf&quot;/&amp;gt;/keys/euca.p12&lt;br /&gt;
&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;truststore&quot;&amp;gt;&amp;lt;SystemProperty name=&quot;euca.var.dir&quot; default=&quot;conf&quot;/&amp;gt;/keys/euca.p12&lt;br /&gt;
&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;password&quot;&amp;gt;eucalyptus&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;keyPassword&quot;&amp;gt;eucalyptus&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;trustPassword&quot;&amp;gt;eucalyptus&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;ThreadPool&quot;&amp;gt;&lt;br /&gt;
&amp;lt;New class=&quot;org.mortbay.thread.QueuedThreadPool&quot;&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;minThreads&quot;&amp;gt;10&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;maxThreads&quot;&amp;gt;25&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;lowThreads&quot;&amp;gt;5&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;SpawnOrShrinkAt&quot;&amp;gt;2&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;/New&amp;gt;&lt;br /&gt;
&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;/New&amp;gt;&lt;br /&gt;
&amp;lt;/Arg&amp;gt;&lt;br /&gt;
&amp;lt;/Call&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;Replaced with:&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;
&amp;lt;Call name=&quot;addConnector&quot;&amp;gt;&lt;br /&gt;
&amp;lt;Arg&amp;gt;&lt;br /&gt;
&amp;lt;New class=&quot;org.mortbay.jetty.nio.SelectChannelConnector&quot;&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;Port&quot;&amp;gt;&lt;br /&gt;
&amp;lt;SystemProperty name=&quot;euca.www.port&quot; default=&quot;8443&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;maxIdleTime&quot;&amp;gt;30000&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;ThreadPool&quot;&amp;gt;&lt;br /&gt;
&amp;lt;New class=&quot;org.mortbay.thread.QueuedThreadPool&quot;&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;minThreads&quot;&amp;gt;10&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;maxThreads&quot;&amp;gt;25&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;lowThreads&quot;&amp;gt;5&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;Set name=&quot;SpawnOrShrinkAt&quot;&amp;gt;2&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;/New&amp;gt;&lt;br /&gt;
&amp;lt;/Set&amp;gt;&lt;br /&gt;
&amp;lt;/New&amp;gt;&lt;br /&gt;
&amp;lt;/Arg&amp;gt;&lt;br /&gt;
&amp;lt;/Call&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: yellow;&quot;&gt;2.-&lt;/span&gt; /var/lib/eucalyptus/webapps/root.war&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I uncompressed this WAR file and extracted the &lt;b&gt;/META-INF/web.xml&lt;/b&gt; file which I then edited to comment the following section:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;!--&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;
&amp;lt;user-data-constraint&amp;gt;&lt;br /&gt;
&amp;lt;transport-guarantee&amp;gt;CONFIDENTIAL&amp;lt;/transport-guarantee&amp;gt;&lt;br /&gt;
&amp;lt;/user-data-constraint&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;--&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Then I compressed back the WAR containing the updated &lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;web.xml&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; and put it back where it belongs.&lt;br /&gt;
&lt;br /&gt;
After those two changes I restarted the cloud controller and voilá! Eucalyptus is now serving the web admin interface over HTTP and the SSL offload is performed in a frontend Apache.&lt;br /&gt;
&lt;br /&gt;
Then I configured Eucalyptus (first time admin login) with the frontend DNS name as &quot;cloud IP&quot;. Although the text in the form only talks about your cloud controller&#39;s IP I wrote the DNS name and didn&#39;t have any problem, so I guess it works just fine.&lt;br /&gt;
&lt;br /&gt;
Since the credentials seem to have some dependency on this last parameter I find a DNS name much more convenient than the IP itself.&lt;br /&gt;
&lt;br /&gt;
Anyway, I&#39;ve just started testing it and although the web part works I might run into issues later on, time will tell.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/4550080301734877915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/01/how-to-disable-ssl-in-eucalyptus-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/4550080301734877915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/4550080301734877915'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/01/how-to-disable-ssl-in-eucalyptus-web.html' title='How to disable SSL in the Eucalyptus web interface in Ubuntu'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-3967607628890235724</id><published>2010-01-05T23:36:00.002+01:00</published><updated>2010-01-06T00:10:42.809+01:00</updated><title type='text'>AdSense</title><content type='html'>I just found out that AdSense registration might be trickier that expected, when trying to login to the account I created earlier today I get the following message:&lt;br /&gt;
&lt;br /&gt;
&quot;&lt;i&gt;Account Not Active&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;    An AdSense account does not exist for this login, as your   application is currently in review. Within a week of your   application date, we&#39;ll review your application and follow-up with   you via email. Once you are approved to join AdSense, you&#39;ll be able   to log in to your account and get started.&lt;/i&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
I guess I&#39;ll have to wait and see.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update (11:55 PM)&lt;/b&gt;: I&#39;ve just received an email saying that my AdSense account has been approved and it is already active. That was fast!</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/3967607628890235724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/01/adsense.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/3967607628890235724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/3967607628890235724'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/01/adsense.html' title='AdSense'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-5309759737125901343</id><published>2010-01-05T21:58:00.005+01:00</published><updated>2010-01-05T22:45:11.067+01:00</updated><title type='text'>Analytics</title><content type='html'>Keeping the experimentation rush I&#39;ve just added Google Analytics tracking to the blog, let&#39;s see what happens.&lt;br /&gt;It seems that I need to wait 24 hours to be able to get some results, so more to come...</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/5309759737125901343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/01/analytics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/5309759737125901343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/5309759737125901343'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/01/analytics.html' title='Analytics'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-6088531542417429047</id><published>2010-01-05T19:41:00.000+01:00</published><updated>2010-01-05T19:48:59.812+01:00</updated><title type='text'>Ads in the blog</title><content type='html'>I have added some Google AdSense and Amazon ads to the blog. I know it looks awful but it&#39;s just a test, that&#39;s not the final look &amp;amp; feel.&lt;br /&gt;I&#39;ve been wondering for a while how this online advertising thing works, how complex it is to setup an account, how do you track the activity, what kind of money is involved, etc.&lt;br /&gt;Setting up the accounts has been pretty easy, especially for AdSense (since I&#39;m already using a Google service), where my account is said to be pending approval. For Amazon it is also integrated into Blogger, except for the initial registration page, but everything was smooth.&lt;br /&gt;In both cases there are many options such as ad content, size, etc. so it might take a while until I figure what fits best., if i ever get there.&lt;br /&gt;So far the experience has just started, so I can&#39;t tell yet but I&#39;ll try to keep posting about it.</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/6088531542417429047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/01/ads-in-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/6088531542417429047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/6088531542417429047'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/01/ads-in-blog.html' title='Ads in the blog'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8442381308163842217.post-4161853564679857598</id><published>2010-01-05T17:42:00.000+01:00</published><updated>2010-01-05T17:43:52.952+01:00</updated><title type='text'>Urteberri on!</title><content type='html'>New year new blog.</content><link rel='replies' type='application/atom+xml' href='http://britxardo.blogspot.com/feeds/4161853564679857598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://britxardo.blogspot.com/2010/01/urteberri-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/4161853564679857598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8442381308163842217/posts/default/4161853564679857598'/><link rel='alternate' type='text/html' href='http://britxardo.blogspot.com/2010/01/urteberri-on.html' title='Urteberri on!'/><author><name>Britxardo</name><uri>http://www.blogger.com/profile/14011014921270959720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjugQxaayquBE2fA2MQ5XPkFyYGAxr1Z7Eg7FLaVxrBUKHjEX21SmNs7kxrx0Es--b68EC1oVjyddC0YESAi70LpxRaHfvLsOpnI9AG43FVnU5owBIW9fhHJWAPeeoTwLI/s220/CIMG0548.JPG'/></author><thr:total>0</thr:total></entry></feed>