devtest_ scripts often assume they are running as root
Bug #1314237 reported by
vlowther
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Won't Fix
|
Low
|
vlowther |
Bug Description
I am working on adding support to tripleo-incubator enable wrapping devtest.sh in a Docker container to make it easier to do local testing without trashing your dev box, and potentially to speed up the Jenkins test gates.
Right now, devtest.sh gets as far as trying to bring up the undercloud and failing.
Changed in tripleo: | |
importance: | Undecided → Low |
To post a comment you must log in.
set -x trace from failing code snippet:
/opt/openstack/ tripleo- incubator/ scripts/ devtest_ undercloud. sh@153: heat stack-create -f /opt/openstack/ tripleo- heat-emplates/ undercloud- vm.yaml -P AdminToken= 6b63304c07871b1 80854edec71e79d c722a68f5f -P AdminPassword= 8fe8abffd18561e 71c6eeed2c212e4 52ef57aac -P CeilometerPassw ord=4c15304308e 82cb19ec0a9f56e 59da75556faca9 -P GlancePassword= f4f4b4e2821ba88 c282f0fb3dc0127 45dc1c725 -P HeatPassword= e4df8db92525886 359b1244b9fba74 a8856a5684 -P NeutronPassword =72e2bac494a403 8c2efab28fce0a2 b2537941b0 -P NovaPassword= 371e01e6d1c10f4 e7cd9963da15018 991a97fad0 -P BaremetalArch=i386 -P underclouImage= 0c7dcbb6- 70de-4032- ae1c-bcc97734aa 43 -P 'PowerSSHPrivat eKey=-- ---BEGIN RSA PRIVATE KEY----- A2JsKe01JdRGRAw 3ZRfeRZgrZBa80k ZwkWgl91WEO3KQX CHnN 1LzN4EN0W7mMNNr 8O7RXNTlHgJHZFG OrkqYKDbCTNyzOK 82M3 fsjuaaRilhiQxET VbJb41+ pOch682b7rvRGcP ahuhuJAAHcw6 XqOmp3hM6JGxXl6 qlOeuiu4dV1hTO/ ttIUqr5ZlSim1ob mjFF ZLbLqwVMNkaaRbG MOSRIecu5bo7szw fQu8LaaQPL9YpJm 4xR9 ATHuiz3AlBp7JPi XRa9yE0wIBIwKCA QEAs3kl8SLH1gc9 o3Hf WVI0Gtuk764uB04 Myjf4nONYNgSuTE 9irHST8LM+ zlGOdvCiwGdO/ 1k Exvccb4w1fHsp/ N0uOXkhf7cLUzLP 8YlJzjFirtnoO/ IaBvGx 1yvZOmb8fmOrRSp S4LcUQ/ Q/mPZqpR3etHJS5 p269zWaUR6E7 9MTncBqOLQsSGoF pM2koxOOjim3yeH i8vppnBCh54wmAT NRe14ra U/G31zFWdVSeUNi mmERmKtQOfhK4gC RUjPF3eZsmuM1LZ h9pcbKJ yO6wjsnuidz08zv lBFNKx4SuqT9biR TVfCk+mzHc7MhGq FM0Y HmTsVM5na/ 3ekuZhuLn5WJnEU Zi7UARNyW2hUDsK Ok3mo9Hpwds1MeH 4lB5L+PC/ 5kdM3FMCNcAyUjS 2fzoUhUNn/ se5HQKBgQDhsP/ d gIiWt/d1+ nuSwtWM8S03n/ 1CR1LrGEhe3wcu6 wedd6NGWLzvS DBcAYCK8+ Mr5WyINhoLr9Cml SLFoT+p7+ xS27AS78p3lIoEC 6 TaXvGK2/ M6NTdL6nVcrHCrw KBgQCFYHTp5eEas VkPDYekqt8U CQxsIqv76eVD+ j0P8ByRc5sMNS/ z8zoP+o6O7DWImb WzVw9ZnstbeT2 V2dmMt44wJCwZ48 1wQH4TkdimR91f8 BV7Fg8jP7+ KK7hyObX8BOS7gI 8gtty+AYFZwKBgB nLFe1gHa7c6w8Cn VSaKavmpTh0yNtF W/bwKJkt bokE6u1swjPs4mR 9aq+sQ/ b2pABcqWYQAqD1C 0jL+fCcs29Ck zyrZJRzLRT7CHV9 rFfzIkH/ m7Cp9TFCbKOggE9 tWW88GBykRH ZscPKEm8+ RDUcx3D/ 8EvlE1jPD2usIC7 IFpJpWgU66BALeP wz gujLUnrhzS0EUiu lsp3V12kQv9LnsP ATtQReQCWMgHkbq e0jZwUyz 4l8N4pTuiq9U05W QKe3+TX7kZZNQMh XFJB0rx terface= eth0 -P PowerSSHHost= 192.168. 122.1 -P PowerManager= nova.virtbareme tal.virtual_ power_driver. VirtualPowerMan ager -P PowerUserName= openstack undercloud ------- ------- ------- ------- ----+-- ------- ---+--- ------- ------- ---+--- ------- ------- -----+ ------- ------- ------- ------- ----+-- ------- ---+--- ------- ------- ---+--- ------- ------- -----+ 4c2a-4ec2- 84b8-38e0aa2e6f 1f | undercloud | CREATE_IN_PROGRESS | 2014-04- 29T14:22: 25Z | ------- ------- ------- ------- ----+-- ------- ---+--- ------- ------- ---+--- ------- ------- -----+ tripleo- incubator/ scripts/ devtest_ undercloud. sh@175: echo 'Waiting for the undercloud stack to be read'
MIIEowIBAAKCAQE
8HeJWxgeIvnsK0w
yccobgA5zlfO1A+
y1/pbIXucL4Oe86
/yvQuD675agsdSe
lSWJKeFWD3oGGPQ
6YP8IVlx/
I4cX0y3lmo3hewv
7BKhwP32uZEtGr9
ZWVDuAUZlc4/
Ay8vcCNmEwh+
PS18gwKBgQD1sa7
JA6ktK9a/
Qk1Tl61TULKKKfP
CQO6DQjDVuCkROy
WWBI1Kw7hsDKso9
QBj2vBfJJJzyFvB
s4hR70OW+
H1IYcioX+
g5Q4kwasNm/
LXmZhY0CXn0JYcv
p6fj7seQCkttGXw
n0lzAoGBAOCVVIN
8bp2i0a4F1/
fOzMBRwZ0UkFbSh
-----END RSA PRIVATE KEY-----' -P NeutronPublicIn
+------
| id | stack_name | stack_status | creation_time |
+------
| 4a09478f-
+------
/opt/openstack/
Waiting for the undercloud stack to be ready
/op...