[rhos-list] Redhat OpenStack Swift

David Hernandez dhern at us.ibm.com
Thu Oct 25 20:34:39 UTC 2012


Hello.

After receiving the documentation for Fedora Essex and the preview for 
Fulsom I decided to start over with a fresh OS install.  After installing 
RHEL6.3 I tried the following:

[root at addicks ~]# subscription-manager list --available
No available subscription pools to list

[root at addicks ~]# subscription-manager register
This system is already registered. Use --force to override

[root at addicks ~]# subscription-manager list --available
No available subscription pools to list
[root at addicks ~]# subscription-manager list --consumed
+-------------------------------------------+
    Consumed Product Subscriptions
+-------------------------------------------+

Product Name:           Red Hat OpenStack 
Contract Number:        3207840 
Account Number:         1642885 
Serial Number:          8082644921388259941 
Active:                 True 
Quantity Used:          1 
Service Level:          None 
Service Type :          None 
Begins:                 09/10/2012 
Expires:                09/10/2013 

I unsubscribed and unregistered my server;and then, re-registered my 
server and subscribed to the pool.  BTW, I was subscribed to a 30 day 
RHEL6 eval license but it is no longer showing when I use the 
subscription-manager command.

[root at addicks yum.repos.d]# subscription-manager unsubscribe --all
[root at addicks yum.repos.d]# subscription-manager unregister
System has been un-registered.
[root at addicks yum.repos.d]# subscription-manager register
Username: davidjhe
Password: 
The system has been registered with id: 
24fac15f-59e8-4fba-8e14-2426cfbbd7b5 
[root at addicks yum.repos.d]# subscription-manager list --available
+-------------------------------------------+
    Available Subscriptions
+-------------------------------------------+

Product Name:           Red Hat Essex Tech Preview
Product Id:             SER0406 
Pool Id:                8a85f98439a09bb60139b797c9e325ff
Quantity:               99 
Service Level:          None 
Service Type:           None 
Multi-Entitlement:      No 
Expires:                09/10/2013 
Machine Type:           physical 

[root at addicks yum.repos.d]# subscription-manager subscribe 
--pool=8a85f98439a09bb60139b797c9e325ff
Successfully consumed a subscription from the pool with id 
8a85f98439a09bb60139b797c9e325ff.


[root at addicks yum.repos.d]# yum install openstack-utils dnsmasq-utils
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating certificate-based repositories.
rhel-source                  | 1.2 kB     00:00 
rhel-source/primary                  | 942 kB     00:00 
rhel-source                               3972/3972
rhel-source-beta                  | 1.3 kB     00:00 
rhel-source-beta/primary                  |  214 B     00:00 
Setting up Install Process
No package openstack-utils available.
No package dnsmasq-utils available.
Error: Nothing to do
[root at addicks yum.repos.d]# 

Please advise.

David Hernandez

Contractor / HPSS
IBM Global Business Services - US Federal
12301 Kurland Dr Suite 300
Houston, TX 77034-4812 
Mobile 713-444-5755



From:   Perry Myers <pmyers at redhat.com>
To:     David Hernandez/Houston/Contr/IBM at IBMUS, Derek Higgins 
<dhiggins at redhat.com>, Mark McLoughlin <markmc at redhat.com>, Gerry Riveros 
<griveros at redhat.com>
Date:   10/17/2012 04:55 PM
Subject:        Re: [rhos-list] Redhat OpenStack Swift



On 10/17/2012 12:06 PM, David Hernandez wrote:
> Hello Perry.
> 
> I followed your instructions and went ahead with the configuration
> according to the Swift All In One 1.7.5-dev documentation and when I ran
> the unittests I encountered numerous errors.  Unfortunately, I didn't
> save the error log but the errors indicated that python was looking for
> Swift version 1.7.5.  I assumed that the version of Python that I
> downloaded was incompatible with my Swift version so I decided to
> uninstall Swift and to reinstall it.  Unfortunately, now that I have
> uninstalled it no longer shows as available in Subscription Manager.
>  Please tell me what I need to do to reset my subscription so that I can
> redownload it.

Hi,

The version of swift included in the RHOS Essex Preview is 1.4.8, which
should work with Python 2.6.6 (which is what is included in RHEL 6.3)

Where did you get Swift 1.7.5 from?  If you're looking to use the RHOS
stuff, you should just stick to yum installing the packages, as the
packages in the RHN repo will be the right versions to work on top of
RHEL 6.3

As an aside, when we release Folsom packages for the RHOS Preview (in a
few weeks), Swift will be updated to (iirc) 1.7.x.

As for resetting subscriptions, you should just be able to run:
subscription-manager unsubscribe --serial=XXXX

Or you could also just run:
subscription-manager unregister

and then re-register the machine, and resubscribe to the appropriate
pools (one for RHEL and one for RHOS)

If after following the unregister/register/subscribe process, you still
can't access the RPMs, it might be an issue with RHN itself.  But let's
start with that process.  Please provide output of all of the commands
you ran in your next email, so I can follow the exact process you're 
using.

Perry



> Thanks. 
> *David Hernandez*
> 
> Contractor / HPSS
> IBM Global Business Services - US Federal
> 12301 Kurland Dr Suite 300
> Houston, TX 77034-4812
> Mobile 713-444-5755
> 
> 
> 
> From:        Perry Myers <pmyers at redhat.com>
> To:        David Hernandez/Houston/Contr/IBM at IBMUS
> Cc:        Gerry Riveros <griveros at redhat.com>, Derek Higgins
> <dhiggins at redhat.com>, Mark McLoughlin <markmc at redhat.com>
> Date:        10/11/2012 06:43 PM
> Subject:        Re: [rhos-list] Redhat OpenStack Swift
> ------------------------------------------------------------------------
> 
> 
> 
> On 10/11/2012 07:10 PM, David Hernandez wrote:
>> Hello.
>>
>> I now have a 30 day eval subscription to RHEL.
>> Account Number       : 1642885
>> Contract Number      : 10005190
>>
>> Item Description     : 30 Day Self-Supported Red Hat Enterprise Linux
>> Server, (4 sockets) (Unlimited guests) Evaluation
>> Quantity             : 1
>> Service Dates        : 08-OCT-12 through 06-NOV-12
>>
>>
>> However, please let me restate the issue I am having with RedHat
>> OpenStack Preview.
>>
>> In the email I got from RH regarding my OpenStack Preview subscription,
>> it referred me to the Red Hat OpenStack Preivew Getting Started Guide.
>>
>>  In the guide, Getting Started with OpenStack Essex Preview Edition 0,
>> there is an Introduction chapter and subsequent chapters cover the
>> installation of Keystone (Identity), Glance (Images), Nove (Compute),
>> and Horizon (Dashboard). 
>>
>> There is no chapter covering the installation of Swift (Object 
Storage).
> 
> That is correct.  We only had documentation resources available to
> create documentation for the other services.  So while Swift is indeed
> part of the RHOS Essex Preview, it is lacking documentation.
> 
> We are planning top update the documentation when we update the Preview
> to Folsom.  At that time, the docs will include both Swift and Quantum
> (which was also missing from the Essex Preview docs)
> 
> So to reiterate: Swift is there, and usable in the Essex Preview.  It
> just does not have documentation yet.
> 
>> I have a document that I got from the OpenStack website entitled SAIO -
>> Swift All In One - Instructions for setting up a development VM.
>>  http://docs.openstack.org/developer/swift/development_saio.html
>>
>> The instructions describe installing Swift-All-in-One on Ubuntu 10.04
>> LTS server.  However, there are also instructions for doing the install
>> on Fedora.  I used the Fedora instructions but wasn't able to install
>> all of the components. I am not able to install python-mock. Do  you
>> know where I can find python-mock or do you know where I can get
>> instructions for installing RedHat OpenStack Swift?
> 
> The instructions for installing Swift on Fedora should be similar enough
> to installing Swift on RHEL that it should just work without any issues.
> 
> However, there are some dependency differences between Fedora and RHOS.
> python-mock is not a dependency in the RHOS version of Swift
> 
> Once you have the repositories enabled, you should simply be able to do:
> 
> yum install openstack-swift
> 
> And it will pull in all of the needed dependencies.  There shouldn't be
> a need to independently install each python package independently.
> 
>>
> 
====================================================================================================
>>  Package                    Arch       Version             Repository
>                          Size
>>
> 
====================================================================================================
>> Installing:
>>  openstack-swift            noarch     1.4.8-4.el6 
> rhel-server-ost-6-preview-rpms     241 k
>> Installing for dependencies:
>>  python-configobj           noarch     4.6.0-3.el6 
> rhel-6-server-rpms                 182 k
>>  python-eventlet            noarch     0.9.16-5.el6 
>  rhel-server-ost-6-preview-rpms     256 k
>>  python-greenlet            x86_64     0.3.1-7.el6 
> rhel-server-ost-6-preview-rpms      22 k
>>  python-netifaces           x86_64     0.5-1.el6 
> rhel-server-ost-6-preview-rpms      12 k
>>  python-paste               noarch     1.7.4-1.el6 
> rhel-6-server-rpms                 757 k
>>  python-paste-deploy1.5     noarch     1.5.0-5.el6 
> rhel-server-ost-6-preview-rpms      47 k
>>  python-webob1.0            noarch     1.0.8-3.el6 
> rhel-server-ost-6-preview-rpms     189 k
>>  pyxattr                    x86_64     0.5.0-1.el6 
> rhel-server-ost-6-preview-rpms      24 k
>>
>> Transaction Summary
>>
> 
====================================================================================================
>> Install       9 Package(s)
> 
> Would you mind if I moved this thread to the rhos-list mailing list?  I
> am certain there are other users of the preview who would find this
> information useful (especially the part about the Swift documentation
> coming for the Folsom Preview update)
> 
> Thanks,
> 
> Perry
> 
>> Regards.
>> *David Hernandez*
>>
>> Contractor / HPSS
>> IBM Global Business Services - US Federal
>> 12301 Kurland Dr Suite 300
>> Houston, TX 77034-4812
>> Mobile 713-444-5755
>>
>>
>>
>> From:        Perry Myers <pmyers at redhat.com>
>> To:        David Hernandez/Houston/Contr/IBM at IBMUS, Gerry Riveros
>> <griveros at redhat.com>
>> Date:        10/05/2012 04:30 AM
>> Subject:        Re: [rhos-list] Redhat OpenStack Swift
>> 
------------------------------------------------------------------------
>>
>>
>>
>> On 10/04/2012 06:18 PM, David Hernandez wrote:
>>> Here is the output from the command you mentioned:
>>> [root at addicks ~]# subscription-manager list --installed
>>> +-------------------------------------------+
>>>     Installed Product Status
>>> +-------------------------------------------+
>>> Product Name:                 Red Hat Enterprise Linux Server
>>> Product ID:                   69 
>>> Version:                      6.3 
>>> Arch:                         x86_64 
>>> Status:                       Not Subscribed 
>>> Starts: 
>>> Expires: 
>>
>> Hi,
>>
>> Your machine does not have a valid RHEL baseos subscription, which
>> explains why you cannot download Swift via yum install commands.
>>
>> You will need to get either a purchased RHEL subscription or a RHEL
>> 30-day evaluation license, I believe.
>>
>> I've cc'd Gerry Riveros from our marketing team, he might be able to
>> help you further with issues here.
>>
>> A few other comments below.
>>
>>> Product Name:                 Red Hat OpenStack 
>>> Product ID:                   191 
>>> Version:                      Essex 
>>> Arch:                         x86_64 
>>> Status:                       Subscribed 
>>> Starts:                       09/10/2012 
>>> Expires:                      09/10/2013 
>>>
>>> [root at addicks ~]#
>>>
>>> I am able to access the OpenStack Preview repository but the problem 
is
>>> that the RedHat OpenStack Preview Getting Started Guide  made no 
mention
>>> of OpenStack Swift,  It references  Keystone, Glance, Nova and Horizon
>>> but not Swift.  It appears that the Preview doesn't include Swift.  Is
>>> this true?
>>
>> The preview does include swift.  The docs don't mention it because at
>> the time when we put together that documentation, we didn't have guides
>> yet for Swift or Quantum.  We will be updating the guide for Folsom to
>> include both of those components.
>>
>> You should be able to see the list of packages directly on the RHN site
>> even if your machine cannot access the packages due to the missing RHEL
>> entitlement.
>>
>> I think this url should show the package list:
>> https://rhn.redhat.com/rhn/channels/PackageList.do?cid=14988
>>
>> Cheers,
>>
>> Perry
>>
>>> Regards.
>>> *David Hernandez*
>>>
>>> Contractor / HPSS
>>> IBM Global Business Services - US Federal
>>> 12301 Kurland Dr Suite 300
>>> Houston, TX 77034-4812
>>> Mobile 713-444-5755
>>>
>>>
>>>
>>> From:        Perry Myers <pmyers at redhat.com>
>>> To:        David Hernandez/Houston/Contr/IBM at IBMUS
>>> Cc:        rhos-list at redhat.com, Andrew Cathrow <acathrow at redhat.com>,
>>> Gerry Riveros <griveros at redhat.com>
>>> Date:        10/03/2012 05:24 PM
>>> Subject:        Re: [rhos-list] Redhat OpenStack Swift
>>> 
------------------------------------------------------------------------
>>>
>>>
>>>
>>> On 10/03/2012 10:57 PM, David Hernandez wrote:
>>>> Hello.
>>>>
>>>> I subscribed to the RedHat OpenStack Preview in order to install a 
test
>>>> instance of Swift (Object Server).  I wanted to build an All-In-One
>>>> instance similar to the Ubuntu Swift-All-In-One version.  However, 
once
>>>> I downloaded the OpenStack packages I found that Swift was not 
included
>>>> in the release.  Is it possible to get a RedHat version of OpenStack
>>>> Swift?  I tried installing the RedHat packages by following the 
Fedora
>>>> instructions in the Ubuntu SAIO document but was unable to find all 
of
>>>> the required packages in the RedHat OpenStack repository.
>>>
>>> There are some earlier threads on rhos-list that may be worth taking a
>>> look at.
>>>
>>> What people seem to be hitting is the requirement that in order to
>>> download packages from the RHOS RHN repository, you must have a valid
>>> subscription applied for RHEL to your host.
>>>
>>> Take a look at this thread:
>>> https://www.redhat.com/archives/rhos-list/2012-September/msg00066.html
>>>
>>> And let me know what the output of the commands are.  It should point 
us
>>> in the correct direction to explain why you cannot access the 
packages.
>>>
>>> Perry
>>>
>>>
>>
>>
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20121025/9242196f/attachment.htm>


More information about the rhos-list mailing list