OSTF logs are broken. msg="cannot enable tty mode on non tty input"

Bug #1431259 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Matthew Mosesohn
6.0.x
Invalid
Undecided
Matthew Mosesohn

Bug Description

"build_id": "2015-03-10_22-54-44",
"ostf_sha": "8df5f2fcdae3bc9ea7d700ffd64db820baf51914",
"build_number": "181",
"release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-03-10_22-54-44", "ostf_sha": "8df5f2fcdae3bc9ea7d700ffd64db820baf51914", "build_number": "181", "api": "1.0", "nailgun_sha": "058d1adef486c116ab8c79379ea6f925db039177", "production": "docker", "python-fuelclient_sha": "8a292dbdfc3afc1994fd8a81a28903f9a5cca351", "astute_sha": "93de472789d9fc351d915e401892c9f792c14ca2", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "0f588ec9125cc1f4dd24a07d3bc6903c97b84d27", "fuellib_sha": "acd7dfb5f93ee0719464d07faf5883ee804a7205"}}},
"auth_required": true,
"api": "1.0",
"nailgun_sha": "058d1adef486c116ab8c79379ea6f925db039177",
"production": "docker",
"python-fuelclient_sha": "8a292dbdfc3afc1994fd8a81a28903f9a5cca351",
"astute_sha": "93de472789d9fc351d915e401892c9f792c14ca2",
"feature_groups": ["mirantis"],
"release": "6.1",
"fuelmain_sha": "0f588ec9125cc1f4dd24a07d3bc6903c97b84d27",
"fuellib_sha": "acd7dfb5f93ee0719464d07faf5883ee804a7205"

There are only these messages in /var/log/docker-ostf.log:

fuel-core-6.1-ostf is already running.
Attaching to container fuel-core-6.1-ostf...
time="2015-03-12T09:54:33Z" level="fatal" msg="cannot enable tty mode on non tty input"

[root@fuel ~]# dockerctl check
checking container postgres
checking with command "! shell_container postgres pgrep puppet"
checking with command "PGPASSWORD=fVUxpAaq shell_container postgres psql -h 10.20.0.2 -U "nailgun" "nailgun" -c '\copyright' 2>&1 1>/dev/null"
postgres is ready.
checking container rabbitmq
checking with command "! shell_container rabbitmq pgrep puppet"
checking with command "curl -f -L -i -u "naily:25DI2wqW" http://10.20.0.2:15672/api/nodes 1>/dev/null 2>&1"
checking with command "curl -f -L -u "mcollective:m6KTnu6F" -s http://10.20.0.2:15672/api/exchanges | grep -qw 'mcollective_broadcast'"
checking with command "curl -f -L -u "mcollective:m6KTnu6F" -s http://10.20.0.2:15672/api/exchanges | grep -qw 'mcollective_directed'"
rabbitmq is ready.
checking container keystone
checking with command "! shell_container keystone pgrep puppet"
checking with command "shell_container keystone keystone --os-auth-url "http://10.20.0.2:35357/v2.0" --os-username "nailgun" --os-password "0lSWWX4E" token-get &>/dev/null"
keystone is ready.
checking container rsync
checking with command "! shell_container rsync pgrep puppet"
checking with command "shell_container rsync netstat -ntl | grep -q 873"
rsync is ready.
checking container astute
checking with command "! shell_container astute pgrep puppet"
checking with command "shell_container astute ps aux | grep -q 'astuted'"
checking with command "curl -f -L -u "naily:25DI2wqW" -s http://10.20.0.2:15672/api/exchanges | grep -qw 'nailgun'"
checking with command "curl -f -L -u "naily:25DI2wqW" -s http://10.20.0.2:15672/api/exchanges | grep -qw 'naily_service'"
astute is ready.
checking container rsyslog
checking with command "! shell_container rsyslog pgrep puppet"
checking with command "shell_container rsyslog netstat -nl | grep -q 514"
rsyslog is ready.
checking container nailgun
checking with command "! shell_container nailgun pgrep puppet"
checking with command "shell_container nailgun supervisorctl status nailgun | grep -q RUNNING"
nailgun is ready.
checking container ostf
checking with command "! shell_container ostf pgrep puppet"
checking with command "egrep -q ^[2-4][0-9]? < <(curl --connect-timeout 1 -s -w '%{http_code}' http://10.20.0.2:8777/ostf/not_found -o /dev/null)"
ostf is ready.
checking container nginx
checking with command "! shell_container nginx pgrep puppet"
checking with command "shell_container nginx ps aux | grep -q nginx"
nginx is ready.
checking container cobbler
checking with command "! shell_container cobbler pgrep puppet"
checking with command "shell_container cobbler ps aux | grep -q 'cobblerd -F'"
checking with command "shell_container cobbler cobbler profile find --name=centos* | grep -q centos && shell_container cobbler cobbler profile find --name=ubuntu* | grep -q ubuntu && shell_container cobbler cobbler profile find --name=bootstrap* | grep -q bootstrap"
cobbler is ready.
checking container mcollective
checking with command "! shell_container mcollective pgrep puppet"
checking with command "shell_container mcollective ps aux | grep -q mcollectived"
mcollective is ready.

I restarted ostf container. Nothing changed.

Logs are here: https://drive.google.com/a/mirantis.com/file/d/0B6SjzarTGFxacEVWY1A4VThDNmc/view?usp=sharing

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

supervisord logs will be fixed in https://review.openstack.org/#/c/121559. I'm running into some issues with system tests on non-interactive shells.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Matthew Mosesohn (raytrac3r)
status: New → Confirmed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #210

"build_id": "2015-03-19_22-54-44", "ostf_sha": "b9a090c71682fbea5d9351051827d7d654d07be3", "build_number": "210", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-03-19_22-54-44", "ostf_sha": "b9a090c71682fbea5d9351051827d7d654d07be3", "build_number": "210", "api": "1.0", "nailgun_sha": "1d2bd383caecc5ec3f86bf93ccca940326f23e97", "production": "docker", "python-fuelclient_sha": "b223dcaf5fdad2f714cd245958fefe03995d6207", "astute_sha": "4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "f3d6353c08d8eb709c7ab100b56dc2bebef4157f", "fuellib_sha": "7764225db5bc653563309912afbb4058283c808b"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "1d2bd383caecc5ec3f86bf93ccca940326f23e97", "production": "docker", "python-fuelclient_sha": "b223dcaf5fdad2f714cd245958fefe03995d6207", "astute_sha": "4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "f3d6353c08d8eb709c7ab100b56dc2bebef4157f", "fuellib_sha": "7764225db5bc653563309912afbb4058283c808b"

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.