Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on the host IP network and address #188

Closed
yunkon-kim opened this issue Nov 16, 2021 · 1 comment · Fixed by #189
Closed

Issue on the host IP network and address #188

yunkon-kim opened this issue Nov 16, 2021 · 1 comment · Fixed by #189
Assignees
Labels
bug Something isn't working

Comments

@yunkon-kim
Copy link
Member

yunkon-kim commented Nov 16, 2021

But, there is an issue on the host IP network and address like the following figure: 😭
image

Originally posted by @hermitkim1 in #187 (comment)

@yunkon-kim yunkon-kim added the bug Something isn't working label Nov 16, 2021
@yunkon-kim
Copy link
Member Author

[Log]

[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:136, main.watchHostNetworkInformation() - Watch - PUT "/registry/cloud-adaptive-network/host-network-information/c6a63eatiahuhsi5ssd0/ip-192-168-20-237" : "{\"publicIPAddress\":\"3.36.59.79\",\"privateNetworkCIDRBlocks\":[\"127.0.0.0/8\",\"192.168.20.0/24\"]}"
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:145, main.watchHostNetworkInformation() - ParsedHostId: ip-192-168-20-237
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:147, main.watchHostNetworkInformation() - ParsedCLADNetId: c6a63eatiahuhsi5ssd0
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:247, main.getIpv4AddressSpace() - RespRule.Kvs: [key:"/registry/cloud-adaptive-network/cladnet-specification/c6a63eatiahuhsi5ssd0" create_revision:2240 mod_revision:2240 version:1 value:"{\"id\":\"c6a63eatiahuhsi5ssd0\",\"name\":\"CLADNet01\",\"ipv4AddressSpace\":\"192.168.0.0/30\",\"description\":\"Alvin's CLADNet01\"}" ]
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:253, main.getIpv4AddressSpace() - TempSpec: {c6a63eatiahuhsi5ssd0 CLADNet01 192.168.0.0/30 Alvin's CLADNet01}
[cb-network].[DEBUG]: 2021-11-17 10:58:26 controller.go:173, main.watchHostNetworkInformation() - Acquired lock for '/registry/cloud-adaptive-network/networking-rule/c6a63eatiahuhsi5ssd0'
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:176, main.watchHostNetworkInformation() - Key: /registry/cloud-adaptive-network/networking-rule/c6a63eatiahuhsi5ssd0
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:185, main.watchHostNetworkInformation() - RespRule.Kvs: []
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:195, main.watchHostNetworkInformation() - TempRule: {c6a63eatiahuhsi5ssd0 [] [] [] []}
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:269, main.assignIPAddressToHost() - Network address: 192.168.0.0(3232235520)
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:273, main.assignIPAddressToHost() - Subnet mask: fffffffc(4294967292)
[cb-network].[TRACE]: 2021-11-17 10:58:26 controller.go:280, main.assignIPAddressToHost() - Broadcast address: 192.168.0.3(3232235523)
[cb-network].[ERROR]: 2021-11-17 10:58:26 controller.go:291, main.assignIPAddressToHost() - This IP is out of range of the CLADNet
[cb-network].[INFO]: 2021-11-17 10:58:26 networking-rule.go:54, github.com/cloud-barista/cb-larva/poc-cb-net/internal/cb-network/model.(*NetworkingRule).AppendRule() - A rule: {ip-192-168-20-237, 0.0.0.0/30, 0.0.0.0, 3.36.59.79}
[cb-network].[DEBUG]: 2021-11-17 10:58:26 controller.go:211, main.watchHostNetworkInformation() - Put "/registry/cloud-adaptive-network/networking-rule/c6a63eatiahuhsi5ssd0"
[cb-network].[DEBUG]: 2021-11-17 10:58:26 controller.go:225, main.watchHostNetworkInformation() - Released lock for '/registry/cloud-adaptive-network/networking-rule/c6a63eatiahuhsi5ssd0'

@yunkon-kim yunkon-kim linked a pull request Nov 17, 2021 that will close this issue
@yunkon-kim yunkon-kim self-assigned this Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant