Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

เกี่ยวกับ Cloud computing + Big data ทั้งหมด => เกี่ยวกับ Cloud Computing Openstack , AWS , Rackspace knowledge , DigitalOcean , Ar-bro.com => Topic started by: golfreeze on มกราคม 15, 2018, 11:43:25 AM

Title: ./stack.sh error requires authentication on ubuntu16.04
Post by: golfreeze on มกราคม 15, 2018, 11:43:25 AM
./stack.sh error requires authentication on ubuntu16.04

ตอนรัน ./stack.sh เจอปัญหาเรื่อง token ครับ

ERROR: openstack The request you have made requires authentication. (HTTP 401)

ทำการแก้ไขโดย รันเพื่อให้สร้าง token_id
#openssl rand -hex 10
222f159ac03xxxd2342342

หลังจากนั้นทำการ export 3 บันทัด
export OS_TOKEN=ADMIN_TOKEN
export OS_TOKEN=222f159ac03xxxd2342342
export OS_URL=http://controller:35357/v3.0

เสร็จแล้วทำการ รัน ./stack.sh อีกรอบครับ
$./stack.sh
Title: Re: ./stack.sh error requires authentication on ubuntu16.04
Post by: golfreeze on มกราคม 15, 2018, 01:08:13 PM
ตอนรัน ./stack.sh แล้ว error
__init__() got an unexpected keyword argument 'project_name'

ทำการแก้ไขโดยลงตัวเวอร์ชั่นของ python-openstackclient 3.8 ขึ้นไปครับ
openstack/python-openstackclient 3.8.0 release