boot_runcommand_delete failed on ssh step
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
High
|
MOS Scale | ||
6.0.x |
Won't Fix
|
High
|
Dina Belova | ||
6.1.x |
Won't Fix
|
High
|
Ilya Shakhat | ||
7.0.x |
Invalid
|
High
|
MOS Scale |
Bug Description
api: '1.0'
astute_sha: f7cda2171b0b677
auth_required: true
build_id: 2015-02-04_09-06-18
build_number: '67'
feature_groups:
- mirantis
fuellib_sha: f41f594850fb8ce
fuelmain_sha: c799e3a6d88289e
nailgun_sha: ec399d1d636be8c
ostf_sha: 3b57985d4d21555
production: docker
release: 6.0.1
release_versions:
2014.2-6.0.1:
VERSION:
api: '1.0'
astute_sha: f7cda2171b0b677
build_id: 2015-02-04_09-06-18
build_number: '67'
feature_
- mirantis
fuellib_sha: f41f594850fb8ce
fuelmain_sha: c799e3a6d88289e
nailgun_sha: ec399d1d636be8c
ostf_sha: 3b57985d4d21555
production: docker
release: 6.0.1
I executed rally light test:
http://
rally-scenarios
16:08:04 stderr-0000: {{{
16:08:04 SSHTimeout
16:08:04 Timeout waiting for '172.16.47.221'
16:08:04 Traceback (most recent call last):
16:08:04 File "/opt/stack/
16:08:04 method_
16:08:04 File "/opt/stack/
16:08:04 password, interpreter, script)
16:08:04 File "/opt/stack/
16:08:04 self.wait_
16:08:04 File "/opt/stack/
16:08:04 f = func(self, *args, **kwargs)
16:08:04 File "/opt/stack/
16:08:04 ssh.wait()
16:08:04 File "/opt/stack/
16:08:04 raise SSHTimeout(
16:08:04 SSHTimeout: Timeout waiting for '172.16.47.221'
16:08:04 }}}
As you can see only first iteration was failed during ssh connection:
16:08:04 +------
16:08:04 | Action | min | avg | max | failures | total | result |
16:08:04 +------
16:08:04 | nova.associate_
16:08:04 | nova.boot_server | 15.768 | 29.921 | 49.319 | 0 | 5 | :) |
16:08:04 | nova.delete_server | 2.502 | 4.810 | 7.059 | 0 | 5 | :) |
16:08:04 | nova.dissociate
16:08:04 | vm.run_command | 3.570 | 5.858 | 7.911 | 1 | 5 | :( |
16:08:04 | vm.wait_for_ping | 0.014 | 10.428 | 48.485 | 0 | 5 | :) |
16:08:04 | vm.wait_for_ssh | 0.233 | 8.343 | 24.568 | 1 | 5 | :( |
16:08:04 | ~total | 72.769 | 98.537 | 167.055 | 1 | 5 | :( |
16:08:04 +------
I have not found any log messages about neutron issues. Probably, security groups were not applied on the time, when we tried to reach an instance via ssh.
rally scenarios logs are attached. You can find diagnostic snapshot here: https:/
tags: | added: neutron |
Changed in mos: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in mos: | |
milestone: | none → 6.1 |
It was reproduced again.
_StringException: config: {
"kw": {
" runner" : {
"type" : "constant",
"concurrency ": 5,
"times" : 5
} ,
" args": {
"username" : "cirros",
"floating_ network" : "net04_ext",
"script" : "/opt/stack/ rally-scenarios /vm/instance_ metadata. sh",
"image" : {
"name": "TestVM"
},
"interpreter ": "/bin/sh",
"flavor" : {
"name": "m1.nano"
}
} ,
" sla": {
"failure_ rate": {
"max": 0
}
} ,
" context" : {
"network" : {
"networks_ per_tenant" : 1,
"start_ cidr": "10.2.0.0/24"
},
"users" : {
"project_ domain" : "default",
"users_ per_tenant" : 2,
"user_domain" : "default",
"tenants" : 2,
"resource_ management_ workers" : 30
}
}
"name" : "VMTasks. boot_runcommand _delete" ,
"pos" : 0
+- ------- ------- ------- ------- +------ --+---- -----+- ------- -+----- -----+- ------+ ------- -+|Action| min|avg| max|failures| total|result| +------ ------- ------- ------- --+---- ----+-- ------- +------ ---+--- ------- +------ -+----- ---+|nova. associate_ floating_ ip|1.615| 4.494|9. 010|0|5| : )||nova. boot_server| 14.614| 21.468| 25.680| 0|5|: )||nova. delete_ server| 2.820|7. 264|12. 891|0|5| : )||nova. dissociate_ floating_ ip|1.888| 5.748|10. 159|0|5| : )||vm.run_ command| 6.362|7. 555|9.677| 1|5|: (||vm.wait_ for_ping| 0.471|33. 186|58. 845|0|5| : )||vm.wait_ for_ssh| 0.552|4. 652|11. 345|1|5| : (||~total| 63.252| 114.565| 183.871| 1|5|: (|+---- ------- ------- ------- ----+-- ------+ ------- --+---- -----+- ------- --+---- ---+--- -----+
SSHTimeout Timeoutwaitingf or'172. 16.46.180' Traceback( mostrecentcalll ast): File"/opt/ stack/. venv/lib/ python2. 7/site- packages/ rally/benchmark /runners/ base.py" ,
in_ run_scenario_ oncemethod_ name)(* *kwargs) orscenario_ outputFile" /opt/stack/ .venv/lib/ python2. 7/site- packages/ rally/benchmark /scenarios/ vm/vmtasks. py",
line108,
inboot_ runcommand_ deletepassword,
interprete r,
script) File"/opt/ stack/. venv/lib/ python2. 7/site- packages/ rally/benchmark /scenarios/ vm/utils. py",
inrun_ commandself. wait_for_ ssh(ssh) File"/opt/ stack/. venv/lib/ python2. 7/site- packages/ rally/benchmark /scenarios/ base.py" ,
line254,
infunc_ atomic_ actionsf= func(self,
{
{
{
},
}
}
}
}results: {
{
{
}
}
}stderr-0003: {
{
{
line77,
line68,
*args,
...