← Back to team overview

openstack team mailing list archive

Re: Patching Horizon Code when installed using "apt-get install"

 

Hi Shake,

As per the patch, it seems that they have added check for v2_0.

def tenant_create(request, name, description=None, enabled=None,
domain=None):
    manager = VERSIONS.get_project_manager(request, admin=True)
    *if VERSIONS.active < 3:*
        return manager.create(name, description, enabled)
    else:
        return manager.create(name, domain,
                              description=description,
                              enabled=enabled)


Looking at keystoneclient code of grizzly release, I could see that in v2_0
directory, users.py has the method update_own_password implemented.

Looks like problem is not because of this version difference.

-Regards
Rahul Sharma



On Tue, Jun 25, 2013 at 6:06 PM, Shake Chen <shake.chen@xxxxxxxxx> wrote:

> the patch use keystone v3 , in grizzly horizon use keystone v2.
>
>
> On Tue, Jun 25, 2013 at 4:52 PM, Rahul Sharma <rahulsharmaait@xxxxxxxxx>wrote:
>
>> Hi All,
>>
>> I have setup multi-node openstack setup using grizzly release and ubuntu
>> 12.04 distribution. Since there is no support for individual user to change
>> his/her password, someone has provided a patch for the same. Ref:-
>> https://review.openstack.org/#/c/23901/31
>>
>> Now I am trying to apply the patch by copying the files to
>> /usr/share/openstack-dashboard directory. On restarting the Apache service,
>> I am getting an error. I have attached the logs with the mail. Even if I
>> revert back the patch, restart apache service and try to access Horizon,
>> still I get the same error. I have to remove horizon, remove
>> /usr/share/openstack-dashboard directory and reinstall horizon to get rid
>> of this error.
>>
>> I might be missing some step inbetween to apply this patch to the code.
>> Can someone help me out in identifying how to apply this patch to the
>> current installation. I couldn't find any documentation listing how to
>> apply such patches other than for git repositories.
>>
>> Thanks and Regards
>> Rahul Sharma
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Shake Chen
>
>

Follow ups

References