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

2013-05-30 Thread Animesh Chaturvedi (JIRA)

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

Animesh Chaturvedi commented on CLOUDSTACK-2711:


Marcus can you check on this issue?

> 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
>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


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

2013-06-12 Thread Saksham Srivastava (JIRA)

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

Saksham Srivastava commented on CLOUDSTACK-2711:


Update Default NIC will create a change in CloudStack db entries.
It currently does not update the default NIC on the VM.
Marking as won't fix.

The FS need to be more clear about it.
Also created a UI issue that alerts the user for the same.
https://issues.apache.org/jira/browse/CLOUDSTACK-2977


> 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


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

2013-06-17 Thread Saksham Srivastava (JIRA)

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

Saksham Srivastava commented on CLOUDSTACK-2711:


The FS is updated with the new UI alert message also.

> 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