๋๋ docker-machine --version
ํ๊ฒฝ์์ docker-machine ๋ช
๋ น์ ์ฌ์ฉํ๊ณ ์ถ์ต๋๋ค docker-machine version 0.10.0, build 76ed2a6
sudo docker-machine --debug create -d openstack --openstack-ssh-user ubuntu --openstack-auth-url http://controller:35357/v3 --openstack-image-name ubuntu --openstack-flavor-name m1.small --openstack-domain-name default --openstack-floatingip-pool public --openstack-net-name provider --openstack-username admin --openstack-password **** --openstack-tenant-name default master1
๊ทธ๊ฒ์ ๋์๊ฒ์ด ์ค๋ฅ๋ฅผ ์ ๊ณตํฉ๋๋ค : Error creating machine: Error in driver during machine creation: Expected HTTP response code [201 202] when accessing [POST http://controller:35357/v3/auth/tokens], but got 401 instead {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
+1
๋์ปค ๋จธ์ 0.12.2
๋์ปค 17.06.1-ce
macOS ์์๋ผ 10.12.6
Keystone v3์ ๋ํด ์คํํฉ๋๋ค.
์ด ์์
์ ์ํํ๋ ค๋ ๋ค๋ฅธ ์ฌ๋์ ๊ฒฝ์ฐ $ --openstack-tenant-name
--openstack-tenant-id
๋ฅผ ์ค์ ํ๋ฉด ์๋ํฉ๋๋ค. ์ด๊ฒ์ด ๋ด๊ฐ ์๋์ํจ ๋ฐฉ๋ฒ์
๋๋ค.
OpenStack Cloud ๊ณต๊ธ์๋ฅผ ์ํด rancher2์์ ๋
ธ๋ ํ
ํ๋ฆฟ์ ๊ตฌ์ฑํ ๋ ์ด ๋ฒ๊ทธ๊ฐ ๋ฐ์ํ์ต๋๋ค. ํ
๋ํธ ์ด๋ฆ์ ์ถ๊ฐํ ๋ docker-machine์ ์๋ํ์ง ์๋ keystone api v2.0์ผ๋ก ํด๋ฐฑํฉ๋๋ค. ํ
๋ํธ ID๋ฅผ ์ฌ์ฉํ ๋ ๋
ธ๋ ํ
ํ๋ฆฟ์ ์ ์์ด๊ณ ํด๋ฌ์คํฐ๊ฐ ๊ตฌ์ถ๋ฉ๋๋ค.
์ ํํ ๋งํ๋ฉด:
๋์ปค ์ด๋ฏธ์ง rancher/rancher :stable 01aed40c0352์ ์ปจํ
์ด๋์์
docker-machine ๋ฒ์ 0.15.0, ๋น๋ 1507ebcb๊ฐ ์์ต๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ด ์์ ์ ์ํํ๋ ค๋ ๋ค๋ฅธ ์ฌ๋์ ๊ฒฝ์ฐ $
--openstack-tenant-name
--openstack-tenant-id
๋ฅผ ์ค์ ํ๋ฉด ์๋ํฉ๋๋ค. ์ด๊ฒ์ด ๋ด๊ฐ ์๋์ํจ ๋ฐฉ๋ฒ์ ๋๋ค.