cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5810) addIpToNic: the owner of the secondary ip should be derived from vmInstance object, not from the caller account
Date Mon, 20 Jan 2014 10:36:19 GMT

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

ASF subversion and git services commented on CLOUDSTACK-5810:
-------------------------------------------------------------

Commit 569b558b92d8109dd14b06b6233332d99582eb8c in branch refs/heads/master from [~jayapal]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=569b558 ]

CLOUDSTACK-5810 Added upgrade changes for updating accountid and domainid of nic secondary
ip


> addIpToNic: the owner of the secondary ip should be derived from vmInstance object, not
from the caller account
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5810
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5810
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>            Reporter: Alena Prokharchyk
>            Assignee: Jayapal Reddy
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> Steps to reproduce:
> ====================
> 1) Deploy a vm as a regular user account.
> 2) Login as admin, add secondary ip to the user's vm's nic.
> Bug: the secondary ip account owner is set to Admin account. This is wrong, as in CS
we never let link objects belonging to diff accounts, unless its a public resource (template,
network). In cases like this one, the owner info should be derived from the vm instance object.
> Jayapal, I will fix the API, and you have to fix the DB upgrade part. The fix should
be: compare the sec ips accounts with the account of corresponding vms, and update nic_secondary_ips
if account info is different. Should be done as a part of 43-44 upgrade.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message