Wednesday, May 16, 2012

Repositories Spring Cleaning!

Over the next few days, we will gradually remove these duplicated 3rd party repositories from Studio. Official and private user repositories will not be affected. Affected appliances will be automatically updated.

What impact might this have on you?

Most users will not notice anything different, but some may encounter a couple of side-effects:

  1. Your 3rd party repositories in Studio may now have a different name.The name of the repository being used by your appliance may change, but you don't have to worry about that because:
    • Your account was not compromised - the change is done by our cleanup script.
    • The contents of the affected repositories (if any) should be identical.
    • The official and private user repositories are not affected.
  2. Your appliance may have software resolution errors. This is rare, but can happen if the explicitly requested software version is not available in the new repository (eg. the old version is no longer in the repository nor in the Studio cache). If this happens, Studio will propose the following solutions:
    • Add the latest version of the package: This will explicitly require the latest version of the package from the repositories in your appliance.
    • Do not require a specific version of the package: This removes the explicit version constrain, pulling in latest version instead.
    • Remove the package: No longer install the package in the appliance.
If you must have the old package, you can either package it inside of a dedicated repository with the openSUSE Build Service or upload the RPM to Studio.

Please contact us via the forum or mailing list if you have any questions or problems.

Why are we doing this?

It’s spring time once again and so we’re busy with housekeeping to maintain a reasonably fast and responsive site, even as the number of users grows. This week’s spring cleaning target is the software repositories in Studio. There are three types of software repositories that can be added to your SUSE Studio appliances:

  • Official repositories: Repositories added by the Studio administrators, like openSUSE 12.1 OSS and SLES 11 SP2 x86_64.
  • 3rd party repositories: Public repositories hosted outside of susestudio.com that have been added by Studio users, such as those from the openSUSE Build Service and PackMan.
  • Private user repositories: Repositories that are automatically created and hosted by Studio whenever you upload a RPM to your appliance in the software tab. These are private to your appliance and are only accessible by Studio.

For faster appliance builds and improved reliability (eg. builds will still work if the external repository is temporarily down), all RPMs from these repositories are cached by Studio. Whenever a new repository is added, all the RPMs within it are added to the download queue and bumped up if it is required by an appliance build (the build process waits for the download to be completed).

With more than 18,000 repositories, these cached RPMs use quite some terabytes on our storage servers. There are often duplicated RPMs from different repositories, so we use file deduplication to reduce the overall storage footprint.

Duplicate repositories were initially avoided by checking the repository URL, but this is of course insufficient as it does not handle repository mirrors. Thus it now checks the repository ID, so we can detect these mirrors and remove them. This does not reduce the storage footprint much since the RPMs are already deduplicated at the file level, but it does save on the repository metadata resulting in faster and cleaner repository searches.

What is coming next?

We are close to completing the first phase of revamping our backend repository and package handling service, allowing us to overcome the limitations of the current system. Stay tuned, we will blog about this in the near future.

Tuesday, March 6, 2012

SUSE Linux Enterprise 11 SP2 in SUSE Studio

Last Monday SUSE announced the release of SUSE Linux Enterprise 11 Service Pack 2 (SLES11 SP2), SUSE's enterprise Linux offering.

Today we enabled SUSE Linux Enterprise 11 SP2 templates in SUSE Studio. You can now create new appliances based on SUSE Linux Enterprise 11 SP2 and play with the new features they provide.

The two most prominent features are clearly the updated kernel 3.0, Linux Containers and first enterprise support for btrfs. SUSE also introduced the new forward looking development approach. For Studio that means that every SLE11 SP2 template will include repositories for Service Pack 1 and 2.



Like always, we will disable the previous SUSE Linux Enterprise 11 SP1 templates within the next weeks and provide an upgrade path that allows to port existing appliance configuration from Service Pack 1 to Service Pack 2.
Building and configuring SP1 based appliances will still be supported for a couple of months.

Update

 SUSE Linux Enterprise 11 appliances can now be upgraded to Service Pack 2!

Simply open your SLE 11 (GA or SP1) appliance, and click the friendly Upgrade button.  If there were any issues, they'll be reported to you on the Start tab.  

If you would like to maintain parallel versions of your appliance, simply clone your appliance before upgrading.

Wednesday, February 8, 2012

Deploy to EC2 from SUSE Gallery

It's almost been a year since we launched our EC2 management page which allows for uploading your appliances to the Amazon cloud. We are constantly improving and extending it, but up to now it has been lacking integration with SUSE Gallery.

If you wanted to run an appliance from Gallery in EC2 you had to clone and build an EC2 image of it first. In order to improve this workflow we came up with this:




Notice the new "Upload to EC2" button in the cloud section? It will directly take you to the EC2 management page where you can start uploading this appliance right away. Now we have a nice shortcut which renders the old way of cloning and building it first redundant.

Monday, February 6, 2012

Hyper-V appliances are GO!

Here at SUSE Studio, we strive to support the widest range of formats, both physical and virtual, so you can be assured that your Studio-built appliance will work wherever you need it.  To that end, we've added support for building the Virtual Hard Drive format, for use with Microsoft® Hyper-V® Server.



The VHD format will be initially available as an experimental feature - you can sign up via your (recently updated) account page.  With those features enabled, you will be able to build VHD images for both SUSE Linux Enterprise 11 SP1 and openSUSE 12.1.  For SUSE Linux Enterprise, when you enable the VHD format on the Build tab, you will be prompted to add a couple of extra packages (this isn't necessary for openSUSE 12.1; everything you need is already in the kernel).

As a little bonus, we're packing VHD files into .zip archives, instead of our usual .tar.gz, so Windows can open them without any additional software.

Friday, February 3, 2012

Manage your appliances using SUSE Manager


If you use appliances built by SUSE Studio in server environments, you probably know that you need to monitor them, update their configuration, deploy security fixes, etc. In short, you need to  manage them. SUSE offers a product that helps exactly with these tasks — SUSE Manager — and SUSE Studio now offers a simple way to manage your SUSE Linux Enterprise 11 SP1 appliances using it.

To use the new SUSE Manager integration, simply visit your appliance configuration and select Configuration → Appliance, then select the Integrate with SUSE Manger checkbox. Fill in the hostname or IP address of your SUSE Manager server and the name of a bootstrap script that will be used inside your appliance.


When booting your appliance for the first time, it will automatically download and run the bootstrap script, registering your appliance with SUSE Manager. Afterward, you can manage the appliance like any other system.

Learn more about SUSE Manager by watching videos, reading its documentation, or simply trying the free evaluation version.

Tuesday, January 31, 2012

New user account page and WebHooks

User account page
SUSE Studio gets a new user account page!


Gone are the days where you had to navigate to different pages just to view or edit your personal information (e.g. EC2 credentials). Now, you can easily access your information as they are all within a page, divided into 4 different sub-tabs.


We like it and we hope you like it too!

WebHooks
Other than the new user account page, we have added support for WebHooks - a simple event notification/callback mechanism. All you have to do is to supply an URL in the WebHooks section within the user account page.


Next, choose one of your appliances and build:


SUSE Studio will POST to the URL when the build completes.


The POST contains details of the build, which includes a download URL:


You may make use of the details to run specific scripts or to download the built image automatically. For example, you may have downloading and processing of the image in a Sinatra server:


With WebHooks, you can do many interesting things, and we believe you will. More details on using WebHooks and some sample scripts can be found in our documentation.

Do let us know what you think!

Thursday, January 26, 2012

Full functionality for openSUSE on EC2

If you were waiting for Studio to support the latest version of openSUSE on Amazon's EC2, listen up: Your wait is over. The same goes if you tried to upload an older version of openSUSE to EC2's latest region, Sao Paulo. Studio finally offers full functionality for all openSUSE versions on all EC2 regions. Of course, SLE still offers a wide range of advantages over openSUSE. Just think about long term support, stability or getting updates for your system. However, if you chose to create your appliance based on openSUSE, you are now finally able to use Studio to take your first steps into the cloud.
Have a lot of fun!
 
© 2011 SUSE