You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Saksham Srivastava (JIRA)" <ji...@apache.org> on 2013/06/12 13:10:20 UTC

[jira] [Assigned] (CLOUDSTACK-2711) UpdateDefaultNicForVirtualMachine api is not updating default nic on VM

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saksham Srivastava reassigned CLOUDSTACK-2711:
----------------------------------------------

    Assignee: Saksham Srivastava
    
> UpdateDefaultNicForVirtualMachine api is not updating default nic on VM
> -----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2711
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2711
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: build: CloudStack-non-OSS-MASTER-410-rhel6.3
>            Reporter: shweta agarwal
>            Assignee: Saksham Srivastava
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Repro steps:
> 1.Create a  VM
> 2. Create a Network
> 3.Add this Network to VM
> 4. Reboot the VM  inorder to reflect the changes of new nic
> 5.Make the newly added nic as Default nic
> 6. Reboot the VM
> Bug:
> Even after rebooting the VM ;it shows old Default Nic as default one
> Expected Result:
> After VM reboots , Default nic should be updated
> My sql shows Default nic for a vm 
> as 
> "id"	"uuid"	"instance_id"	"mac_address"	"ip4_address"	"netmask"	"gateway"	"ip_type"	"broadcast_uri"	"network_id"	"mode"	"state"	"reserver_name"	"reservation_id"	"device_id"	"update_time"	"isolation_uri"	"ip6_address"	"default_nic"	"vm_type"	"created"	"removed"	"ip6_gateway"	"ip6_cidr"	"secondary_ip"	"display_nic"
> "40"	"cd8deae5-ebc4-45ba-998b-5e14afe39d01"	"3"	"02:00:6b:dc:00:01"	"10.1.4.98"	"255.255.255.0"	"10.1.4.1"	"Ip4"	"vlan://1041"	"208"	"Dhcp"	"Reserved"	"ExternalGuestNetworkGuru"	""	"0"	"2013-05-28 10:02:57"	"vlan://1041"	""	"1"	"User"	"2013-05-28 11:30:54"	""	""	""	"0"	"1"
> VM  entries for 
> ip route show
> 10.1.4.0/24 dev eth1  proto kernel  scope link  src 10.1.4.98 
> 10.1.5.0/24 dev eth2  proto kernel  scope link  src 10.1.5.49 
> 10.1.1.0/24 dev eth0  proto kernel  scope link  src 10.1.1.47 
> 169.254.0.0/16 dev eth2  scope link 
> default via 10.1.1.1 dev eth0 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira