scalingexcellence / scrapybook

Scrapy Book Code
http://scrapybook.com/
475 stars 209 forks source link

seems that I have the same problem: #60

Open BovenPeng opened 5 years ago

BovenPeng commented 5 years ago

seems that I have the same problem:

root@ubuntu:/home/junjiyang/scrapybook# vagrant up --no-parallel
Bringing machine 'web' up with 'docker' provider...
Bringing machine 'spark' up with 'docker' provider...
Bringing machine 'es' up with 'docker' provider...
Bringing machine 'redis' up with 'docker' provider...
Bringing machine 'mysql' up with 'docker' provider...
Bringing machine 'scrapyd1' up with 'docker' provider...
Bringing machine 'scrapyd2' up with 'docker' provider...
Bringing machine 'scrapyd3' up with 'docker' provider...
Bringing machine 'dev' up with 'docker' provider...
==> web: Provisioners will not be run since container doesn't support SSH.
==> spark: Provisioners will not be run since container doesn't support SSH.
==> es: Provisioners will not be run since container doesn't support SSH.
==> redis: Provisioners will not be run since container doesn't support SSH.
==> mysql: Provisioners will not be run since container doesn't support SSH.
==> scrapyd1: Provisioners will not be run since container doesn't support SSH.
==> scrapyd2: Provisioners will not be run since container doesn't support SSH.
==> scrapyd3: Provisioners will not be run since container doesn't support SSH.
==> dev: Provisioners will not be run since container doesn't support SSH.

I searched the web but not come to a solution. I tried vagrant ssh-config somehow, and it send back to me like this:

Host web
  HostName 172.17.0.2
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile /home/junjiyang/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host spark
  HostName 172.17.0.3
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile /home/junjiyang/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host es
  HostName 172.17.0.4
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile /home/junjiyang/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL
.......................................

the *hostname (172.17.0.) of each host(web, spark, etc.)** are diffirent from the book's table, which @lookfwd has already posted on this web-page earlier.

seems like I'm very close to a victory, But at this moment, I don't know what to do

P.S. I'm useing Ubuntu 14.03 under your suggestion. Only my Ubuntu is grow up on VMware12

Originally posted by @withkarlkarl in https://github.com/scalingexcellence/scrapybook/issues/10#issuecomment-238059117

BovenPeng commented 5 years ago

What is different is that I am running it on Windows10. The version of installed softwares is as follow:

Vagrant 2.2.3
Virtual Box 5.2.8
Git 2.20

And I tried vagrant ssh-config and it sent me back like this:

Host web
  HostName 172.17.0.2
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host spark
  HostName 172.17.0.3
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host es
  HostName 172.17.0.4
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host redis
  HostName 172.17.0.5
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host mysql
  HostName 172.17.0.6
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host scrapyd1
  HostName 172.17.0.7
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host scrapyd2
  HostName 172.17.0.8
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host scrapyd3
  HostName 172.17.0.9
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

Host dev
  HostName 172.17.0.10
  User root
  Port 22
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile G:/Learning/scrapybook/insecure_key
  IdentitiesOnly yes
  LogLevel FATAL

And I have read the related issue#10 and the video, but I still confused about it and I don't how to fix it.

If not mind, could u give some advices and help me? Thanks in advance.