Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Magnum fixed network parameter ignored?

Hi,

I am creating a cluster template as follows:

instack:[~]$ magnum cluster-template-create --name k8s-cluster-template \
    --image-id fedora-atomic-newton \
    --keypair-id mykey \
    --dns-nameserver 10.20.0.123 \
    --master-flavor-id m1.tiny \
    --external-network-id public  \
    --flavor-id m1.tiny \
    --coe kubernetes --network-driver flannel \
    --labels flannel_network_cidr=10.100.0.0/16 \
    --fixed-network internal01 \
    --fixed-subnet subnet01

Note that I explicitly noted "fixed-network" and "fixed-subnet". Subnet01 and internal01 have been created earlier in Neutron:

subnet01 is a subnet created in network internal01 with cidr 192.168.168.0/24.

When I create the cluster I keep getting a new network called "private" with cidr 10.0.0.0/24. I expected the cluster make use of the "fixed-network" and/or "fixed-subnet".

The problem is that 10.0.0.0/24 which has been automatically created by the cluster is conflicting with the external network. How do I tell the "private" network to use a different cidr?

Thanks

Magnum fixed network parameter ignored?

Hi,

I am creating a cluster template as follows:

instack:[~]$ magnum cluster-template-create --name k8s-cluster-template \
    --image-id fedora-atomic-newton \
    --keypair-id mykey \
    --dns-nameserver 10.20.0.123 \
    --master-flavor-id m1.tiny \
    --external-network-id public  \
    --flavor-id m1.tiny \
    --coe kubernetes --network-driver flannel \
    --labels flannel_network_cidr=10.100.0.0/16 \
    --fixed-network internal01 \
    --fixed-subnet subnet01

Note that I explicitly noted specified "fixed-network" and "fixed-subnet". Subnet01 and internal01 have been created earlier in Neutron:

subnet01 is a subnet created in network internal01 with cidr 192.168.168.0/24.

When I create the cluster I keep getting a new network called "private" with cidr 10.0.0.0/24. I expected the cluster make use of the "fixed-network" and/or "fixed-subnet".

The problem is that 10.0.0.0/24 which has been automatically created by the cluster is conflicting with the external network. How do I tell the "private" network to use a different cidr?

Thanks