stackinabox / stackinabox.io

stackinabox.io is a quick way to get up and running with IBM UrbanCode
http://stackinabox.io/
14 stars 6 forks source link

opdk: mesg: ttyname failed: Inappropriate ioctl for device #1

Closed MateusAmin closed 7 years ago

MateusAmin commented 8 years ago

The up seems to have failed and I get this error message in the output. Thanks in advance!

opdk: mesg: ttyname failed: Inappropriate ioctl for device

opdk: Checking for Docker Compose installation...
opdk: Symlinking Docker Compose 1.8.0
opdk: Running docker-compose up...

==> opdk: mesg: ttyname failed: Inappropriate ioctl for device ==> opdk: Creating ucddb ==> opdk: Creating blueprintdb ==> opdk: Creating heatengine ==> opdk: Creating ucd ==> opdk: Creating blueprintdesigner ==> opdk: Creating agent ==> opdk: Creating agent-relay

tpouyer commented 8 years ago

The following will occur anytime the Vagrantfile executes a script as part of provisioning when using a Ubuntu 16.04 based vagrant box.

mess: ttyname failed: Inappropriate ioctl for device

You can safely ignore these errors. The other messages are coming from the vagrant-docker-compose plugin. It's logging the fact that it has started the process of "up'ing" the UrbanCode docker containers.

tpouyer commented 8 years ago

Finally found a fix for this one. Seems that the ubuntu 16.04 release changed slightly the shell that is exposed over ssh. You can remove these errors by adding the following to the Vagrantfile:

config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"

I'll include this in the next release. Until then you can ignore those errors.

tpouyer commented 7 years ago

fixed in latest release 0.9.7