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

Michael edited comment on CLOUDSTACK-9759 at 1/27/17 3:27 PM:
--------------------------------------------------------------

Issue also occurred when attempting to use cloudstack 4.5:
VPC's VR public interface is being sent ethnull

2017-01-27 08:49:30,080 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:null) 
Seq 1-7817123053208338458: Processing:  { Ans: , MgmtId: 22095315174824, via: 
1, Ver: v1, Flags: 110, 
[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":3,"name":"r-3-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"Debian
 GNU/Linux 5.0 (64-bit)","platformEmulator":"Debian GNU/Linux 5","bootArgs":" 
vpccidr=10.0.0.0/8 domain=cs2cloud.internal dns1=8.8.8.8 template=domP 
name=r-3-VM eth0ip=169.254.3.175 eth0mask=255.255.0.0 type=vpcrouter 
disable_rp_filter=true","enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"v7KZyL_Jl4j6046LrQDmxw","vncAddr":"10.100.0.11","params":{},"uuid":"51576f1f-803d-4496-a280-ead0eb3dac32","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"eaf789cb-0f98-4178-b68f-bffac63868d6","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"d5c9eef8-56b0-32eb-a7ed-68c0fe33b5e9","id":1,"poolType":"NetworkFilesystem","host":"10.100.0.21","path":"/mnt/clouddisk01/primary","port":2049,"url":"NetworkFilesystem://10.100.0.21/mnt/clouddisk01/primary/?ROLE=Primary&STOREUUID=d5c9eef8-56b0-32eb-a7ed-68c0fe33b5e9"}},"name":"ROOT-3","size":312990208,"path":"eaf789cb-0f98-4178-b68f-bffac63868d6","volumeId":3,"vmName":"r-3-VM","accountId":2,"format":"QCOW2","provisioningType":"THIN","id":3,"deviceId":0,"hypervisorType":"KVM"}},"diskSeq":0,"path":"eaf789cb-0f98-4178-b68f-bffac63868d6","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"10.100.0.21","volumeSize":"312990208"}}],"nics":[{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"pxeDisable":true,"nicUuid":"74d5b224-0fca-4d35-91d5-cf313bac2136","uuid":"4031860c-ca26-4cfb-ade4-2bf2020dd104","ip":"169.254.3.175","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:03:af","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSshAnswer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack
 Release 4.5.2 Tue Aug 11 00:42:47 UTC 
2015","scriptsVersion":"8ab35a06add83db9c319d717cd7b181f\n","result":true,"details":"Cloudstack
 Release 4.5.2 Tue Aug 11 00:42:47 UTC 
2015&8ab35a06add83db9c319d717cd7b181f\n","wait":0}},{"com.cloud.agent.api.PlugNicAnswer":{"result":true,"details":"success","wait":0}},{"com.cloud.agent.api.routing.GroupAnswer":{"results":["10.100.65.3
 - vpc_ipassoc - success: Device \"ethnull\" does not exist.\nCannot find 
device \"ethnull\"\narping: unknown iface ethnull\narping: unknown iface 
ethnull\nError: argument \"Table_ethnull\" is wrong: \"table\" value is 
invalid\n\nError: argument \"Table_ethnull\" is wrong: \"table\" value is 
invalid\n\nRTNETLINK answers: No such process\n","10.100.65.3 - 
vpc_privategateway - success: iptables: No chain/target/match by that 
name.\n"],"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"iptables:
 Bad rule (does a matching rule exist in that chain?).\niptables: No 
chain/target/match by that 
name.\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-3-VM","bytesSent":0,"bytesReceived":0,"result":true,"wait":0}}]
 }


was (Author: mabarkdoll):
Issue also occurred when attempting to use cloudstack 4.5:
2017-01-27 08:49:30,080 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:null) 
Seq 1-7817123053208338458: Processing:  { Ans: , MgmtId: 22095315174824, via: 
1, Ver: v1, Flags: 110, 
[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":3,"name":"r-3-VM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"Debian
 GNU/Linux 5.0 (64-bit)","platformEmulator":"Debian GNU/Linux 5","bootArgs":" 
vpccidr=10.0.0.0/8 domain=cs2cloud.internal dns1=8.8.8.8 template=domP 
name=r-3-VM eth0ip=169.254.3.175 eth0mask=255.255.0.0 type=vpcrouter 
disable_rp_filter=true","enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"v7KZyL_Jl4j6046LrQDmxw","vncAddr":"10.100.0.11","params":{},"uuid":"51576f1f-803d-4496-a280-ead0eb3dac32","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"eaf789cb-0f98-4178-b68f-bffac63868d6","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"d5c9eef8-56b0-32eb-a7ed-68c0fe33b5e9","id":1,"poolType":"NetworkFilesystem","host":"10.100.0.21","path":"/mnt/clouddisk01/primary","port":2049,"url":"NetworkFilesystem://10.100.0.21/mnt/clouddisk01/primary/?ROLE=Primary&STOREUUID=d5c9eef8-56b0-32eb-a7ed-68c0fe33b5e9"}},"name":"ROOT-3","size":312990208,"path":"eaf789cb-0f98-4178-b68f-bffac63868d6","volumeId":3,"vmName":"r-3-VM","accountId":2,"format":"QCOW2","provisioningType":"THIN","id":3,"deviceId":0,"hypervisorType":"KVM"}},"diskSeq":0,"path":"eaf789cb-0f98-4178-b68f-bffac63868d6","type":"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"10.100.0.21","volumeSize":"312990208"}}],"nics":[{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"pxeDisable":true,"nicUuid":"74d5b224-0fca-4d35-91d5-cf313bac2136","uuid":"4031860c-ca26-4cfb-ade4-2bf2020dd104","ip":"169.254.3.175","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:03:af","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSshAnswer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack
 Release 4.5.2 Tue Aug 11 00:42:47 UTC 
2015","scriptsVersion":"8ab35a06add83db9c319d717cd7b181f\n","result":true,"details":"Cloudstack
 Release 4.5.2 Tue Aug 11 00:42:47 UTC 
2015&8ab35a06add83db9c319d717cd7b181f\n","wait":0}},{"com.cloud.agent.api.PlugNicAnswer":{"result":true,"details":"success","wait":0}},{"com.cloud.agent.api.routing.GroupAnswer":{"results":["10.100.65.3
 - vpc_ipassoc - success: Device \"ethnull\" does not exist.\nCannot find 
device \"ethnull\"\narping: unknown iface ethnull\narping: unknown iface 
ethnull\nError: argument \"Table_ethnull\" is wrong: \"table\" value is 
invalid\n\nError: argument \"Table_ethnull\" is wrong: \"table\" value is 
invalid\n\nRTNETLINK answers: No such process\n","10.100.65.3 - 
vpc_privategateway - success: iptables: No chain/target/match by that 
name.\n"],"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"iptables:
 Bad rule (does a matching rule exist in that chain?).\niptables: No 
chain/target/match by that 
name.\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-3-VM","bytesSent":0,"bytesReceived":0,"result":true,"wait":0}}]
 }

> VPC VR ips.json ethNone instead of eth1
> ---------------------------------------
>
>                 Key: CLOUDSTACK-9759
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9759
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Virtual Router
>    Affects Versions: 4.9.2.0
>         Environment: Centos 6.8, CloudStack 4.9.2.0 advanced networking vlans 
> for guest and public
>            Reporter: Michael
>            Priority: Critical
>         Attachments: cloud.log, cloudstack.tar, messages
>
>
> Cloudstack deployment with advanced networking.
> My VPC VR is incorrectly be assigned ethNone inside 
> (/etc/cloudstack/ips.json) for my eth1 public network interface.  If I edit 
> /etc/cloudstack/ips.json and change both occurrences of ethNone to eth1 and 
> restart the VPC then the network works for isolated guest networks attached 
> to the VPC VR and the VR itself.  (note: this issue only occurs with the VPC 
> VR not with guest network or guest shared networks).
> Here is the contents of /etc/cloudstack/ips.json
> root@r31-VM# cat /etc/cloudstack/ips.json
> {
>     "eth0": [
>         {
>             "add": true,
>             "broadcast": "169.254.255.255",
>             "cidr": "169.254.1.203/16",
>             "device": "eth0",
>             "gateway": "None",
>             "netmask": "255.255.0.0",
>             "network": "169.254.0.0/16",
>             "nic_dev_id": "0",
>             "nw_type": "control",
>             "one_to_one_nat": false,
>             "public_ip": "169.254.1.203",
>             "size": "16",
>             "source_nat": false
>         }
>     ],
>     "eth2": [
>         {
>             "add": true,
>             "broadcast": "10.1.1.255",
>             "cidr": "10.1.1.1/24",
>             "device": "eth2",
>             "gateway": "10.1.1.1",
>             "netmask": "255.255.255.0",
>             "network": "10.1.1.0/24",
>             "nic_dev_id": "2",
>             "nw_type": "guest",
>             "one_to_one_nat": false,
>             "public_ip": "10.1.1.1",
>             "size": "24",
>             "source_nat": false
>         }
>     ],
>     "ethNone": [
>         {
>             "add": true,
>             "broadcast": "10.100.71.255",
>             "cidr": "10.100.66.3/21",
>             "device": "ethNone",
>             "first_i_p": false,
>             "gateway": "10.100.71.254",
>             "netmask": "255.255.248.0",
>             "network": "10.100.64.0/21",
>             "new_nic": false,
>             "nw_type": "public",
>             "one_to_one_nat": false,
>             "public_ip": "10.100.66.3",
>             "size": "21",
>             "source_nat": true,
>             "vif_mac_address": "06:56:74:00:06:2c"
>         }
>     ],
>     "id": "ips"
> }
> After modifying the file ethNone to eth1 then the VPC VR has internet via 
> Public network vlan 165 trunked that bridges to cloudbr1.
>     "eth1": [
>         {
>             "add": true,
>             "broadcast": "10.100.71.255",
>             "cidr": "10.100.66.3/21",
>             "device": "eth1",
>             "first_i_p": false,
>             "gateway": "10.100.71.254",
>             "netmask": "255.255.248.0",
>             "network": "10.100.64.0/21",
>             "new_nic": false,
>             "nw_type": "public",
>             "one_to_one_nat": false,
>             "public_ip": "10.100.66.3",
>             "size": "21",
>             "source_nat": true,
>             "vif_mac_address": "06:56:74:00:06:2c"
>         }
>     ],
> Public network details:
> gateway 10.100.71.254 
> ip range: 10.100.66.1 - 10.100.67.254
> Netmask: 255.255.248.0 /21
> eth1 on VPC VR is the Public network interface
> Guest network uses vlan's 300-500 that are trunked into cloudbr1 on the host 
> computer.
> I'm also attaching the /var/log/cloud.log from the VPC VR
> Note: I restarted the VR several times attempting other 
> /etc/network/interfaces changes before I read on how the VPC VR runs scripts 
> to configure the nics, but the final restart had the reflected changes that 
> causes things to work.
> Cloudstack is using KVM hypervisor.



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

Reply via email to