[Openstack] SWIFT AND HORIZON

Brent Troge brenttroge2016 at gmail.com
Thu Sep 4 03:24:40 UTC 2014


I am able to circumvent compute with the below changes. I am also able to
modify content/containers/users/etc without fail.
So in the end my only views are Swift and Identity. I am sure I committed
all types of heresy with the botched up code modification. I suppose I need
to read up on how to unregister each panel within the panel group. Or I
suppose I could just define my own dashboards with my own panels, etc.
Thoughts?

Distro Ubuntu 14.04
Package: openstack-dashboard
Priority: extra
Section: net
Installed-Size: 13907
Maintainer: Chuck Short <zulcss at ubuntu.com>
Architecture: all
Source: horizon
Version: 1:2014.1.2-0ubuntu1p


file -
/usr/share/openstack-dashboard/openstack_dashboard/dashboards/admin/dashboard.py

class Admin(horizon.Dashboard):
    name = _("Admin")
    slug = "admin"
    panels = (IdentityPanels, )
    default_panel = 'users'
    permissions = ('openstack.roles.admin',)



file -
/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/dashboard.py

class Project(horizon.Dashboard):
    name = _("Project")
    slug = "project"
    panels = (
        ObjectStorePanels, )
    default_panel = 'containers'
    supports_tenants = True




On Tue, Aug 19, 2014 at 2:53 PM, Brent Troge <brenttroge2016 at gmail.com>
wrote:

> OK.. Thanks for the guidance.. I will mediate on this during tonight's 3
> mile run.
>
> Some people need music to workout or during aerobics. I go headphone-less
> and focus on work related challenges.
>
>
>
>
> On Tue, Aug 19, 2014 at 2:47 PM, Gabriel Hurley <Gabriel.Hurley at nebula.com
> > wrote:
>
>>  That answer is generally correct. Remove all the nova and
>> glance-related panels, change the default view on login to redirect to the
>> swift panel… there may be one or two other tweaks. It’s been a while since
>> I looked at what it would take. Like I said, it’s doable, just not “out of
>> the box”.
>>
>>
>>
>> -          Gabriel
>>
>>
>>
>> *From:* Brent Troge [mailto:brenttroge2016 at gmail.com]
>> *Sent:* Tuesday, August 19, 2014 12:45 PM
>> *To:* Gabriel Hurley
>> *Cc:* openstack at lists.openstack.org
>> *Subject:* Re: [Openstack] SWIFT AND HORIZON
>>
>>
>>
>> Right, I saw the minimum requirement list, but figured that was outdated,
>> due to the 'answer' provided on another list.
>>
>> The answer basically stated to remove unused panels and only call panels
>> used in the environment.
>>
>>
>>
>> Maybe that is the right answer and I am just too "unlearned" to make it
>> happen.
>>
>>
>>
>> On Tue, Aug 19, 2014 at 2:17 PM, Gabriel Hurley <
>> Gabriel.Hurley at nebula.com> wrote:
>>
>>  While you **can** hack things around to make it work, the answer is
>> that out-of-the-box it’s not supported. In the Horizon Quickstart guide it
>> lists “Nova (compute, api, scheduler, and network), Glance, and Keystone”
>> as the minimum required services. All others are optionally supported from
>> there.
>>
>>
>>
>> That said, support for a no-compute setup with Horizon has been a common
>> request since the Essex days, and there’s absolutely no reason it couldn’t
>> happen. It’s not even that hard to do; nobody’s filed the blueprints and
>> done the work. Filing blueprints would be a good first step.
>>
>>
>>
>> Keystone, however, will still be required. Some people have suggested
>> that Horizon should support the old nova-auth and swift-auth mechanisms,
>> but to me that just seems fractious. It sounds like using Keystone isn’t an
>> issue for you though.
>>
>>
>>
>> Hope that helps,
>>
>>
>>
>> -          Gabriel
>>
>>
>>
>> *From:* Brent Troge [mailto:brenttroge2016 at gmail.com]
>> *Sent:* Tuesday, August 19, 2014 12:00 PM
>> *To:* openstack at lists.openstack.org
>> *Subject:* [Openstack] SWIFT AND HORIZON
>>
>>
>>
>>
>>
>> Does Horizon support a Keystone + Swift only environment?
>>
>> My Horizon instance can communicate with Keystone, however upon login,
>> Horizon is now complaining about a mis-configured compute service.
>>
>> When I look at the Keystone service list, only Identity and Swift are
>> defined and supposedly Horizon only enables the service panels that have a
>> corresponding keystone service list entry.
>>
>> There is another, older thread on this same topic, but the 'answer' isnt
>> that clear to me.
>> Something about manually disabling Horizon panels, etc.
>>
>> Thanks!
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140903/c4be0612/attachment.html>


More information about the Openstack mailing list