cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9463) Dynamic roles migrate script fails with old commands.properties file format
Date Mon, 22 Aug 2016 11:07:20 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430562#comment-15430562
] 

ASF GitHub Bot commented on CLOUDSTACK-9463:
--------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cloudstack/pull/1649


> Dynamic roles migrate script fails with old commands.properties file format
> ---------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9463
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9463
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>             Fix For: 4.10.0, 4.9.1
>
>
> The old commands.properties format included the full class name such as:    
>     createAccount=com.cloud.api.commands.CreateAccountCmd;1
> /usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py -d -f /tmp/commands.properties
> Apache CloudStack Role Permission Migration Tool
> (c) Apache CloudStack Authors and the ASF, under the Apache License, Version 2.0
> Running this migration tool will remove any default-role permissions from cloud.role_permissions.
Do you want to continue? [y/N]y
> Traceback (most recent call last):
> File "/usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py", line 136, in
<module>
> main()
> File "/usr/share/cloudstack-common/scripts/util/migrate-dynamicroles.py", line 112, in
main
> name, value = line.split('=')
> ValueError: need more than 1 value to unpack



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message