Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Provision failed for multiple NC nodes with two NICs and static IP #190

Open
wyjuly opened this issue Jun 30, 2015 · 0 comments
Open

Provision failed for multiple NC nodes with two NICs and static IP #190

wyjuly opened this issue Jun 30, 2015 · 0 comments

Comments

@wyjuly
Copy link

wyjuly commented Jun 30, 2015

Prepare 2 NC nodes, each node has two nics and owns static IP.
e.g. nc1 eth0: 192.168.1.31 , nc2 eth0:192.168.1.32.

While running calyptos provision command the process hang there because the NC's br0 has been configured as DHCP automatically, and br0 got a different IP 192.168.1.103 than previous one.

Configure NCs in yml file as below:
......
clusters:
one:
cc-1: 192.168.1.167
sc-1: 192.168.1.166
storage-backend: ceph-rbd
nodes: 192.168.1.31 192.168.1.32
nc:
max-cores: 2
network:
mode: EDGE
nc-router: N
config-json:
InstanceDnsServers:
- 192.168.1.1
PublicIps:
- 192.168.1.93
- 192.168.1.98
Clusters:
- Name: one
PrivateIps:
- 192.168.112.93
- 192.168.112.98
Subnet:
Subnet: 192.168.112.0
Netmask: 255.255.255.0
Name: 192.168.112.0
Gateway: 192.168.112.2
public-interface: br0
private-interface: eth1
bridge-interface: br0
bridged-nic: eth0

If there is only one NC, below segment could be added and avoid dhcp issue:
"bridge-ip": "192.168.1.31",
"bridge-netmask": "255.255.255.0",
"bridge-gateway": "192.168.1.1",

But if there are more than one NC, above setting won't work since we can't set all the NC's br0 IP with the same one.

br0_dhcp
calyptos_hang_while_install_nc
nc_br0_get_different_dhcp_ip_with_previous_static
registered_ncs_ip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant