seting a container "v4-fixed-ip" doesn't work
Bug #1741291 reported by
mhhli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Invalid
|
Undecided
|
Unassigned | ||
Pike |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I try to set fixed ip for a container.
I run following command by zunclient:
zun create --name test --cpu 2 --memory 4096 --security-group open --image-pull-policy ifnotpresent --image-driver glance --net network=
I try to using "zun run",but after the container is runing ,the ip is 10.1.0.18 or others.
I can not confir this is a bug.
thanks.
Changed in zun: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in zun: | |
status: | Triaged → New |
Changed in zun: | |
status: | New → Invalid |
To post a comment you must log in.
Hi @mhhli,
Several questions for you:
* How do you install Zun (i.e. via Devstack)? If you install it from source, please provide your git commit (go to "/opt/stack/zun" and run this command: "git log -1") python- zunclient" and run this command: "git log -1")
* How do you install python-zunclient? If you install it from source, please provide your git commit as well (go to "/opt/stack/
* What is the output if you run this command:
$ zun create --name test --cpu 2 --memory 4096 --security-group open --image-pull-policy ifnotpresent --image-driver glance --net network= c5bfb62c- 5705-4b90- b23e-03948cdd8c 3a,v4-fixed- ip=10.1. 0.88 -i hadoop /bin/bash
* How your network "c5bfb62c- 5705-4b90- b23e-03948cdd8c 3a" was configured. Does it have a subnet to provide an IP address "10.1.0.88".
* Could you provide the logs of "zun-api" and "zun-compute" (if you installed Zun from devstack, run "journalctl -u devstack@zun* > zun.log").