Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Cloud
-
HD-Enabler:Docker
Description
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched
fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i
server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have
authorisation
before using it, and your use will be strictly limited to that indicated in
the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited
and
is against the FIWARE Terms & Conditions Policy and the legislation in
force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r------- 1 root root 1029 giu 23 15:35 ca.pem
r------- 1 root root 1070 giu 23 15:35 cert.pem
r------- 1 root root 3271 giu 23 15:36 config.json
rw------ 1 root root 1675 giu 23 15:31 id_rsa
r------- 1 root root 381 giu 23 15:31 id_rsa.pub
r------- 1 root root 1675 giu 23 15:35 key.pem
r------- 1 root root 1679 giu 23 15:35 server-key.pem
r------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
<http://www.terasrl.it/> per firma posta
______________
Lino Prunella
Software Engineer
<https://it.linkedin.com/in/giovanniriganti> linkedin
<skype:g.riganti_grelettronica> skype <https://twitter.com/giovariga>
twitter <https://www.facebook.com/giovanni.riganti> facebook
________
TERA srl
<https://it.linkedin.com/in/TERAsrl> linkedin <https://twitter.com/terasrl>
twitter
Via Cesare Balbo 19/D
70014 Conversano
T +39 080 2147775
M +39 3357174081
<nicola.prunella@terasrl.it> nicola.prunella@terasrl.it
<http://www.terasrl.it/> www.terasrl.it
[Created via e-mail received from: nicola.prunella@terasrl.it]
Activity
Comment by nicola.prunella@terasrl.it :
Hi,
I have added what you suggest:
docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
wth:
ssh -i server-key.pem ubuntu@130.206.115.30
Nicola
----Messaggio originale----
Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: giovedì 30 giugno 2016 09:49
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (HELP-6820) ssh to docker-host
From FIWARE JIRA - Main Help Desk ----
-------------------------------------------------------------------------------
Comments:
Kenneth Nagin - Today 10:48 AM
------------------
As Henar said ssh with ubuntu not root.
On your docker-machine command add --openstack-ssh-user="ubuntu".
Then you can also use docker-machine ssh.
--Ken
FW External User - Yesterday 7:09 PM
------------------
Comment by nicola.prunella@terasrl.it :
Da: nicola.prunella@terasrl.it nicola.prunella@terasrl.it
Inviato: lunedì 27 giugno 2016 11:57
A: 'jira-help-desk@fi-ware.org'
Oggetto: R: [FIWARE-JIRA] (HELP-6820) ssh to docker-host
Good morning ,
I have checked all again:
lprunella@formica-VirtualBox:~$ docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
Creating CA: /home/lprunella/.docker/machine/certs/ca.pem
Creating client certificate: /home/lprunella/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(docker-host) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(upstart)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env docker-host
lprunella@formica-VirtualBox:~$ docker-machine env docker-host
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://130.206.115.30:2376"
export DOCKER_CERT_PATH="/home/lprunella/.docker/machine/machines/docker-host"
export DOCKER_MACHINE_NAME="docker-host"
- Run this command to configure your shell:
- eval $(docker-machine env docker-host)
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ chmod 600 *
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ll
totale 40
drwx------ 2 lprunella lprunella 4096 giu 27 10:42 ./
drwx------ 3 lprunella lprunella 4096 giu 27 10:39 ../
rw------ 1 lprunella lprunella 1046 giu 27 10:42 ca.pem
rw------ 1 lprunella lprunella 1086 giu 27 10:42 cert.pem
rw------ 1 lprunella lprunella 3371 giu 27 10:42 config.json
rw------ 1 lprunella lprunella 1675 giu 27 10:39 id_rsa
rw------ 1 lprunella lprunella 381 giu 27 10:39 id_rsa.pub
rw------ 1 lprunella lprunella 1679 giu 27 10:42 key.pem
rw------ 1 lprunella lprunella 1679 giu 27 10:42 server-key.pem
rw------ 1 lprunella lprunella 1135 giu 27 10:42 server.pem
lprunella@formica-VirtualBox:~$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
docker-host * openstack Running tcp://130.206.115.30:2376 v1.11.2
cd ./docker/machine/machines/docker-host$
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ssh -i server-key.pem ubuntu@130.206.115.30
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
Permission denied (publickey).
Thank you
Best regards
Nicola
Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: lunedì 27 giugno 2016 08:48
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (HELP-6820) ssh to docker-host
Good morning
To access to the VM, you cannot use root account, but ubuntu or centos. In addition, the pem file should have 0600 permissions. Could you change and check it again and tell me the results?
Thanks,
Henar
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User created an issue
<https://jira.fiware.org/browse/HELP> Help-Desk / <https://jira.fiware.org/browse/HELP-6820> Immagine rimossa dal mittente. extRequest <https://jira.fiware.org/browse/HELP-6820> HELP-6820
<https://jira.fiware.org/browse/HELP-6820> ssh to docker-host
Issue Type:
Immagine rimossa dal mittente. extRequestextRequest
Assignee:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=henar> Henar Muñoz
Components:
FIWARE-LAB-HELP
Created:
23/Jun/16 4:10 PM
Priority:
Immagine rimossa dal mittente. MajorMajor
Reporter:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r ------- 1 root root 1029 giu 23 15:35 ca.pem
r ------- 1 root root 1070 giu 23 15:35 cert.pem
r ------- 1 root root 3271 giu 23 15:36 config.json
rw ------ 1 root root 1675 giu 23 15:31 id_rsa
r ------- 1 root root 381 giu 23 15:31 id_rsa.pub
r ------- 1 root root 1675 giu 23 15:35 key.pem
r ------- 1 root root 1679 giu 23 15:35 server-key.pem
r ------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
< <http://www.terasrl.it/> http://www.terasrl.it/> per firma posta
FW External User - Monday 12:59 PM
------------------
Comment by nicola.prunella@terasrl.it :
Good morning ,
I have checked all again:
lprunella@formica-VirtualBox:~$ docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
Creating CA: /home/lprunella/.docker/machine/certs/ca.pem
Creating client certificate: /home/lprunella/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(docker-host) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(upstart)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env docker-host
lprunella@formica-VirtualBox:~$ docker-machine env docker-host
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://130.206.115.30:2376"
export DOCKER_CERT_PATH="/home/lprunella/.docker/machine/machines/docker-host"
export DOCKER_MACHINE_NAME="docker-host"
- Run this command to configure your shell:
- eval $(docker-machine env docker-host)
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ chmod 600 *
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ll
totale 40
drwx------ 2 lprunella lprunella 4096 giu 27 10:42 ./
drwx------ 3 lprunella lprunella 4096 giu 27 10:39 ../
rw------ 1 lprunella lprunella 1046 giu 27 10:42 ca.pem
rw------ 1 lprunella lprunella 1086 giu 27 10:42 cert.pem
rw------ 1 lprunella lprunella 3371 giu 27 10:42 config.json
rw------ 1 lprunella lprunella 1675 giu 27 10:39 id_rsa
rw------ 1 lprunella lprunella 381 giu 27 10:39 id_rsa.pub
rw------ 1 lprunella lprunella 1679 giu 27 10:42 key.pem
rw------ 1 lprunella lprunella 1679 giu 27 10:42 server-key.pem
rw------ 1 lprunella lprunella 1135 giu 27 10:42 server.pem
lprunella@formica-VirtualBox:~$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
docker-host * openstack Running tcp://130.206.115.30:2376 v1.11.2
cd ./docker/machine/machines/docker-host$
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ssh -i server-key.pem ubuntu@130.206.115.30
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
Permission denied (publickey).
Thank you
Best regards
Nicola
Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: lunedì 27 giugno 2016 08:48
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (HELP-6820) ssh to docker-host
Good morning
To access to the VM, you cannot use root account, but ubuntu or centos. In addition, the pem file should have 0600 permissions. Could you change and check it again and tell me the results?
Thanks,
Henar
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User created an issue
<https://jira.fiware.org/browse/HELP> Help-Desk / <https://jira.fiware.org/browse/HELP-6820> Immagine rimossa dal mittente. extRequest <https://jira.fiware.org/browse/HELP-6820> HELP-6820
<https://jira.fiware.org/browse/HELP-6820> ssh to docker-host
Issue Type:
Immagine rimossa dal mittente. extRequestextRequest
Assignee:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=henar> Henar Muñoz
Components:
FIWARE-LAB-HELP
Created:
23/Jun/16 4:10 PM
Priority:
Immagine rimossa dal mittente. MajorMajor
Reporter:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r ------- 1 root root 1029 giu 23 15:35 ca.pem
r ------- 1 root root 1070 giu 23 15:35 cert.pem
r ------- 1 root root 3271 giu 23 15:36 config.json
rw ------ 1 root root 1675 giu 23 15:31 id_rsa
r ------- 1 root root 381 giu 23 15:31 id_rsa.pub
r ------- 1 root root 1675 giu 23 15:35 key.pem
r ------- 1 root root 1679 giu 23 15:35 server-key.pem
r ------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
< <http://www.terasrl.it/> http://www.terasrl.it/> per firma posta
------------------------
Issue id: HELP-6820
Description:
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r------- 1 root root 1029 giu 23 15:35 ca.pem
r------- 1 root root 1070 giu 23 15:35 cert.pem
r------- 1 root root 3271 giu 23 15:36 config.json
rw------ 1 root root 1675 giu 23 15:31 id_rsa
r------- 1 root root 381 giu 23 15:31 id_rsa.pub
r------- 1 root root 1675 giu 23 15:35 key.pem
r------- 1 root root 1679 giu 23 15:35 server-key.pem
r------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
<http://www.terasrl.it/> per firma posta
As Henar said ssh with ubuntu not root.
On your docker-machine command add --openstack-ssh-user="ubuntu".
Then you can also use docker-machine ssh.
--Ken
Comment by nicola.prunella@terasrl.it :
Da: nicola.prunella@terasrl.it nicola.prunella@terasrl.it
Inviato: lunedì 27 giugno 2016 11:57
A: 'jira-help-desk@fi-ware.org'
Oggetto: R: [FIWARE-JIRA] (HELP-6820) ssh to docker-host
Good morning ,
I have checked all again:
lprunella@formica-VirtualBox:~$ docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
Creating CA: /home/lprunella/.docker/machine/certs/ca.pem
Creating client certificate: /home/lprunella/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(docker-host) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(upstart)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env docker-host
lprunella@formica-VirtualBox:~$ docker-machine env docker-host
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://130.206.115.30:2376"
export DOCKER_CERT_PATH="/home/lprunella/.docker/machine/machines/docker-host"
export DOCKER_MACHINE_NAME="docker-host"
- Run this command to configure your shell:
- eval $(docker-machine env docker-host)
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ chmod 600 *
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ll
totale 40
drwx------ 2 lprunella lprunella 4096 giu 27 10:42 ./
drwx------ 3 lprunella lprunella 4096 giu 27 10:39 ../
rw------ 1 lprunella lprunella 1046 giu 27 10:42 ca.pem
rw------ 1 lprunella lprunella 1086 giu 27 10:42 cert.pem
rw------ 1 lprunella lprunella 3371 giu 27 10:42 config.json
rw------ 1 lprunella lprunella 1675 giu 27 10:39 id_rsa
rw------ 1 lprunella lprunella 381 giu 27 10:39 id_rsa.pub
rw------ 1 lprunella lprunella 1679 giu 27 10:42 key.pem
rw------ 1 lprunella lprunella 1679 giu 27 10:42 server-key.pem
rw------ 1 lprunella lprunella 1135 giu 27 10:42 server.pem
lprunella@formica-VirtualBox:~$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
docker-host * openstack Running tcp://130.206.115.30:2376 v1.11.2
cd ./docker/machine/machines/docker-host$
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ssh -i server-key.pem ubuntu@130.206.115.30
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
Permission denied (publickey).
Thank you
Best regards
Nicola
Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: lunedì 27 giugno 2016 08:48
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (HELP-6820) ssh to docker-host
Good morning
To access to the VM, you cannot use root account, but ubuntu or centos. In addition, the pem file should have 0600 permissions. Could you change and check it again and tell me the results?
Thanks,
Henar
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User created an issue
<https://jira.fiware.org/browse/HELP> Help-Desk / <https://jira.fiware.org/browse/HELP-6820> Immagine rimossa dal mittente. extRequest <https://jira.fiware.org/browse/HELP-6820> HELP-6820
<https://jira.fiware.org/browse/HELP-6820> ssh to docker-host
Issue Type:
Immagine rimossa dal mittente. extRequestextRequest
Assignee:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=henar> Henar Muñoz
Components:
FIWARE-LAB-HELP
Created:
23/Jun/16 4:10 PM
Priority:
Immagine rimossa dal mittente. MajorMajor
Reporter:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched
fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i
server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have
authorisation
before using it, and your use will be strictly limited to that indicated in
the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited
and
is against the FIWARE Terms & Conditions Policy and the legislation in
force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r ------- 1 root root 1029 giu 23 15:35 ca.pem
r ------- 1 root root 1070 giu 23 15:35 cert.pem
r ------- 1 root root 3271 giu 23 15:36 config.json
rw ------ 1 root root 1675 giu 23 15:31 id_rsa
r ------- 1 root root 381 giu 23 15:31 id_rsa.pub
r ------- 1 root root 1675 giu 23 15:35 key.pem
r ------- 1 root root 1679 giu 23 15:35 server-key.pem
r ------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
< <http://www.terasrl.it/> http://www.terasrl.it/> per firma posta
Comment by nicola.prunella@terasrl.it :
Good morning ,
I have checked all again:
lprunella@formica-VirtualBox:~$ docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
Creating CA: /home/lprunella/.docker/machine/certs/ca.pem
Creating client certificate: /home/lprunella/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(docker-host) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(upstart)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env docker-host
lprunella@formica-VirtualBox:~$ docker-machine env docker-host
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://130.206.115.30:2376"
export DOCKER_CERT_PATH="/home/lprunella/.docker/machine/machines/docker-host"
export DOCKER_MACHINE_NAME="docker-host"
- Run this command to configure your shell:
- eval $(docker-machine env docker-host)
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ chmod 600 *
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ll
totale 40
drwx------ 2 lprunella lprunella 4096 giu 27 10:42 ./
drwx------ 3 lprunella lprunella 4096 giu 27 10:39 ../
rw------ 1 lprunella lprunella 1046 giu 27 10:42 ca.pem
rw------ 1 lprunella lprunella 1086 giu 27 10:42 cert.pem
rw------ 1 lprunella lprunella 3371 giu 27 10:42 config.json
rw------ 1 lprunella lprunella 1675 giu 27 10:39 id_rsa
rw------ 1 lprunella lprunella 381 giu 27 10:39 id_rsa.pub
rw------ 1 lprunella lprunella 1679 giu 27 10:42 key.pem
rw------ 1 lprunella lprunella 1679 giu 27 10:42 server-key.pem
rw------ 1 lprunella lprunella 1135 giu 27 10:42 server.pem
lprunella@formica-VirtualBox:~$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
docker-host * openstack Running tcp://130.206.115.30:2376 v1.11.2
cd ./docker/machine/machines/docker-host$
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ssh -i server-key.pem ubuntu@130.206.115.30
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
Permission denied (publickey).
Thank you
Best regards
Nicola
Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: lunedì 27 giugno 2016 08:48
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (HELP-6820) ssh to docker-host
Good morning
To access to the VM, you cannot use root account, but ubuntu or centos. In addition, the pem file should have 0600 permissions. Could you change and check it again and tell me the results?
Thanks,
Henar
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User created an issue
<https://jira.fiware.org/browse/HELP> Help-Desk / <https://jira.fiware.org/browse/HELP-6820> Immagine rimossa dal mittente. extRequest <https://jira.fiware.org/browse/HELP-6820> HELP-6820
<https://jira.fiware.org/browse/HELP-6820> ssh to docker-host
Issue Type:
Immagine rimossa dal mittente. extRequestextRequest
Assignee:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=henar> Henar Muñoz
Components:
FIWARE-LAB-HELP
Created:
23/Jun/16 4:10 PM
Priority:
Immagine rimossa dal mittente. MajorMajor
Reporter:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched
fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i
server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have
authorisation
before using it, and your use will be strictly limited to that indicated in
the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited
and
is against the FIWARE Terms & Conditions Policy and the legislation in
force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r ------- 1 root root 1029 giu 23 15:35 ca.pem
r ------- 1 root root 1070 giu 23 15:35 cert.pem
r ------- 1 root root 3271 giu 23 15:36 config.json
rw ------ 1 root root 1675 giu 23 15:31 id_rsa
r ------- 1 root root 381 giu 23 15:31 id_rsa.pub
r ------- 1 root root 1675 giu 23 15:35 key.pem
r ------- 1 root root 1679 giu 23 15:35 server-key.pem
r ------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
< <http://www.terasrl.it/> http://www.terasrl.it/> per firma posta
Comment by nicola.prunella@terasrl.it :
----
Messaggio originale----Da: nicola.prunella@terasrl.it nicola.prunella@terasrl.it
Inviato: giovedì 30 giugno 2016 10:32
A: 'jira-help-desk@fi-ware.org'
Oggetto: R: [FIWARE-JIRA] (
HELP-6820) ssh to docker-hostHi,
I have added what you suggest:
docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
wth:
ssh -i server-key.pem ubuntu@130.206.115.30
Nicola
----
Messaggio originale----Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: giovedì 30 giugno 2016 09:49
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (
HELP-6820) ssh to docker-hostFrom FIWARE JIRA - Main Help Desk ----
-------------------------------------------------------------------------------
Comments:
Kenneth Nagin - Today 10:48 AM
------------------
As Henar said ssh with ubuntu not root.
On your docker-machine command add --openstack-ssh-user="ubuntu".
Then you can also use docker-machine ssh.
--Ken
FW External User - Yesterday 7:09 PM
------------------
Comment by nicola.prunella@terasrl.it :
Da: nicola.prunella@terasrl.it nicola.prunella@terasrl.it
Inviato: lunedì 27 giugno 2016 11:57
A: 'jira-help-desk@fi-ware.org'
Oggetto: R: [FIWARE-JIRA] (
HELP-6820) ssh to docker-hostGood morning ,
I have checked all again:
lprunella@formica-VirtualBox:~$ docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
Creating CA: /home/lprunella/.docker/machine/certs/ca.pem
Creating client certificate: /home/lprunella/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(docker-host) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(upstart)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env docker-host
lprunella@formica-VirtualBox:~$ docker-machine env docker-host
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://130.206.115.30:2376"
export DOCKER_CERT_PATH="/home/lprunella/.docker/machine/machines/docker-host"
export DOCKER_MACHINE_NAME="docker-host"
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ chmod 600 *
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ll
totale 40
drwx------ 2 lprunella lprunella 4096 giu 27 10:42 ./
drwx------ 3 lprunella lprunella 4096 giu 27 10:39 ../
rw------ 1 lprunella lprunella 1046 giu 27 10:42 ca.pemrw------ 1 lprunella lprunella 1086 giu 27 10:42 cert.pemrw------ 1 lprunella lprunella 3371 giu 27 10:42 config.jsonrw------ 1 lprunella lprunella 1675 giu 27 10:39 id_rsarw------ 1 lprunella lprunella 381 giu 27 10:39 id_rsa.pubrw------ 1 lprunella lprunella 1679 giu 27 10:42 key.pemrw------ 1 lprunella lprunella 1679 giu 27 10:42 server-key.pemrw------ 1 lprunella lprunella 1135 giu 27 10:42 server.pemlprunella@formica-VirtualBox:~$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
docker-host * openstack Running tcp://130.206.115.30:2376 v1.11.2
cd ./docker/machine/machines/docker-host$
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ssh -i server-key.pem ubuntu@130.206.115.30
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
Permission denied (publickey).
Thank you
Best regards
Nicola
Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: lunedì 27 giugno 2016 08:48
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (
HELP-6820) ssh to docker-hostGood morning
To access to the VM, you cannot use root account, but ubuntu or centos. In addition, the pem file should have 0600 permissions. Could you change and check it again and tell me the results?
Thanks,
Henar
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User created an issue
<https://jira.fiware.org/browse/HELP> Help-Desk / <https://jira.fiware.org/browse/HELP-6820> Immagine rimossa dal mittente. extRequest <https://jira.fiware.org/browse/HELP-6820>
HELP-6820<https://jira.fiware.org/browse/HELP-6820> ssh to docker-host
Issue Type:
Immagine rimossa dal mittente. extRequestextRequest
Assignee:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=henar> Henar Muñoz
Components:
FIWARE-LAB-HELP
Created:
23/Jun/16 4:10 PM
Priority:
Immagine rimossa dal mittente. MajorMajor
Reporter:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r ------- 1 root root 1029 giu 23 15:35 ca.pem
r ------- 1 root root 1070 giu 23 15:35 cert.pem
r ------- 1 root root 3271 giu 23 15:36 config.json
rw ------ 1 root root 1675 giu 23 15:31 id_rsa
r ------- 1 root root 381 giu 23 15:31 id_rsa.pub
r ------- 1 root root 1675 giu 23 15:35 key.pem
r ------- 1 root root 1679 giu 23 15:35 server-key.pem
r ------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
< <http://www.terasrl.it/> http://www.terasrl.it/> per firma posta
FW External User - Monday 12:59 PM
------------------
Comment by nicola.prunella@terasrl.it :
Good morning ,
I have checked all again:
lprunella@formica-VirtualBox:~$ docker-machine create -d openstack --openstack-ssh-user="ubuntu" --openstack-flavor-id="2" --openstack-image-name="base_ubuntu_14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-machine-sg" docker-host
Creating CA: /home/lprunella/.docker/machine/certs/ca.pem
Creating client certificate: /home/lprunella/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(docker-host) Creating machine...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(upstart)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env docker-host
lprunella@formica-VirtualBox:~$ docker-machine env docker-host
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://130.206.115.30:2376"
export DOCKER_CERT_PATH="/home/lprunella/.docker/machine/machines/docker-host"
export DOCKER_MACHINE_NAME="docker-host"
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ chmod 600 *
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ll
totale 40
drwx------ 2 lprunella lprunella 4096 giu 27 10:42 ./
drwx------ 3 lprunella lprunella 4096 giu 27 10:39 ../
rw------ 1 lprunella lprunella 1046 giu 27 10:42 ca.pemrw------ 1 lprunella lprunella 1086 giu 27 10:42 cert.pemrw------ 1 lprunella lprunella 3371 giu 27 10:42 config.jsonrw------ 1 lprunella lprunella 1675 giu 27 10:39 id_rsarw------ 1 lprunella lprunella 381 giu 27 10:39 id_rsa.pubrw------ 1 lprunella lprunella 1679 giu 27 10:42 key.pemrw------ 1 lprunella lprunella 1679 giu 27 10:42 server-key.pemrw------ 1 lprunella lprunella 1135 giu 27 10:42 server.pemlprunella@formica-VirtualBox:~$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
docker-host * openstack Running tcp://130.206.115.30:2376 v1.11.2
cd ./docker/machine/machines/docker-host$
lprunella@formica-VirtualBox:~/.docker/machine/machines/docker-host$ ssh -i server-key.pem ubuntu@130.206.115.30
##################################################################################
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
#################################################################################
Permission denied (publickey).
Thank you
Best regards
Nicola
Da: Help-Desk jira-help-desk@fi-ware.org
Inviato: lunedì 27 giugno 2016 08:48
A: nicola.prunella@terasrl.it
Oggetto: [FIWARE-JIRA] (
HELP-6820) ssh to docker-hostGood morning
To access to the VM, you cannot use root account, but ubuntu or centos. In addition, the pem file should have 0600 permissions. Could you change and check it again and tell me the results?
Thanks,
Henar
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User created an issue
<https://jira.fiware.org/browse/HELP> Help-Desk / <https://jira.fiware.org/browse/HELP-6820> Immagine rimossa dal mittente. extRequest <https://jira.fiware.org/browse/HELP-6820>
HELP-6820<https://jira.fiware.org/browse/HELP-6820> ssh to docker-host
Issue Type:
Immagine rimossa dal mittente. extRequestextRequest
Assignee:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=henar> Henar Muñoz
Components:
FIWARE-LAB-HELP
Created:
23/Jun/16 4:10 PM
Priority:
Immagine rimossa dal mittente. MajorMajor
Reporter:
<https://jira.fiware.org/secure/ViewProfile.jspa?name=fw.ext.user> FW External User
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r ------- 1 root root 1029 giu 23 15:35 ca.pem
r ------- 1 root root 1070 giu 23 15:35 cert.pem
r ------- 1 root root 3271 giu 23 15:36 config.json
rw ------ 1 root root 1675 giu 23 15:31 id_rsa
r ------- 1 root root 381 giu 23 15:31 id_rsa.pub
r ------- 1 root root 1675 giu 23 15:35 key.pem
r ------- 1 root root 1679 giu 23 15:35 server-key.pem
r ------- 1 root root 1123 giu 23 15:35 server.pem
Thank you
Best regards
< <http://www.terasrl.it/> http://www.terasrl.it/> per firma posta
------------------------
Issue id:
HELP-6820Description:
Hi,
we have account on Spain2 (nicola.prunella@terasrl.it) and we have launched fiware docker-host machine. It is now up and running .
Now we would like to ssh on this host but:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ssh -i server-key.pem root@130.206.115.30
############################################################################
######
NOTE: You have accessed a system owned by FIWARE Lab. You must have authorisation
before using it, and your use will be strictly limited to that indicated in the
authorisation.
Unauthorised access to this system or improper use of the same is prohibited and
is against the FIWARE Terms & Conditions Policy and the legislation in force. The
use of this system may be monitored.
############################################################################
#####
Permission denied (publickey).
The syste have also created the following files:
root@formica-VirtualBox:~/.docker/machine/machines/docker-host# ll
totale 40
drwx------ 2 root root 4096 giu 23 15:55 ./
drwx------ 3 root root 4096 giu 23 15:31 ../
r------- 1 root root 1029 giu 23 15:35 ca.pemr------- 1 root root 1070 giu 23 15:35 cert.pemr------- 1 root root 3271 giu 23 15:36 config.jsonrw------ 1 root root 1675 giu 23 15:31 id_rsar------- 1 root root 381 giu 23 15:31 id_rsa.pubr------- 1 root root 1675 giu 23 15:35 key.pemr------- 1 root root 1679 giu 23 15:35 server-key.pemr------- 1 root root 1123 giu 23 15:35 server.pemThank you
Best regards
<http://www.terasrl.it/> per firma posta