Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Local Development instructions using Vagrant #374

Merged
merged 4 commits into from
Dec 10, 2013
Merged

Conversation

gabrtv
Copy link
Member

@gabrtv gabrtv commented Dec 10, 2013

These new local development instructions fix #319. They've been tested extensively, including the use of a local Chef Server (versus Hosted Chef).

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 0e77c57 on localdev-docs into 575c707 on master.

mboersma added a commit that referenced this pull request Dec 10, 2013
Local Development instructions using Vagrant
@mboersma mboersma merged commit cf3242a into master Dec 10, 2013
@mboersma mboersma deleted the localdev-docs branch December 10, 2013 15:59
@niccolox
Copy link

niccolox commented Jan 4, 2014

I am trying to run these instructions on Ubuntu 12.04 host and getting SSL errors

knife client list
ERROR: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=unknown state: unknown protocol

I installed Berkshelf 3 and changed Gemfile

gem 'berkshelf', '3.0.0.beta3' # needed for --ssl-verify=false support
# gem "berkshelf", "~> 2.0.10"

http://docs.deis.io/en/latest/contributing/localdev/

would be handy to have specific dependency version installation instructions included on a fresh Ubuntu 12 install

are you folks doing local Vagrant dev on Mac hosts and Ubuntu guests?

if so, there are important differences and it gets pretty ugly quickly just following mac oriented install instructions for Ruby on Ubuntu

anyway, super promising open paas platform and I am sorry I am so friggin grumpy

been doing the Ruby version tango all day

cheers

@niccolox
Copy link

niccolox commented Jan 4, 2014

just rebooted to ensure versions

knife client list
ERROR: SSL Validation failure connecting to host: chefserver.local - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol
ERROR: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol

@tombh
Copy link
Contributor

tombh commented Jan 4, 2014

Just to rule out the obvious; is the chef server definitely set up and pingable? So does ping chefserver.local work and if you ssh into the chef server VM do all the tests pass with sudo chef-server-ctl test?

@niccolox
Copy link

niccolox commented Jan 5, 2014

thanks for bringing it back to the obvious, I added IP of chefserver.local to hosts file and could ping and run tests OK as above

weirdly I could vagrant ssh into box without the /etc/hosts IP added but knife wouldn't work without it

is this normal to have to add IP to hosts file on host when working with vagrant? is it a quirk of my set-up perhaps?

@mboersma
Copy link
Member

mboersma commented Jan 5, 2014

Is avahi-daemon necessary on the Linux host as well? We use that to set up name resolution for "deis-controller.local".

I confess we (@gabrtv and myself) do development on Mac OS X, but @tombh and some other contributors are on Linux I believe, and our target and continuous integration and tests are all about Ubuntu. This may not be related to that, but anything in a Deis provisioning script or elsewhere that doesn't work on Linux is a bug of course, and we'll attend to it right away.

@niccolox
Copy link

niccolox commented Jan 5, 2014

avahi-daemon --check returns nothing i.e. doesnt return 0, its not running.. am continuing with install instructions

thanks again

@niccolox
Copy link

niccolox commented Jan 5, 2014

got related errors for deis-controller.local

stdin: is not a tty
avahi-daemon stop/waiting
avahi-daemon start/running, process 1461
Add the Deis Controller's SSH key to your authorized_keys file? y
es

Connection to 127.0.0.1 closed.
ssh: Could not resolve hostname deis-controller.local: Name or service not known
cat: /tmp/vagrant_key: No such file or directory
Aborting. No SSH key copied from the Deis Controller

strangely, avahi doesnt seem to be running although Vagrant thinks it is? will need to investigate that more

will try the hosts file hack and do step again

@niccolox
Copy link

niccolox commented Jan 5, 2014

just noticed avahi-daemon install on Ubuntu is a later step, I guess that needs to change ?

SSH
On Debian-flavoured Linux you just need to sudo apt-get install openssh-server avahi-daemon

@niccolox
Copy link

niccolox commented Jan 5, 2014

ok, I am a bit confused, not sure if the avahi was installed during desi controller stage, but now its running

pgrep avahi | xargs ps
PID TTY STAT TIME COMMAND
1542 ? S 0:00 avahi-daemon: running [myserver.local]
1544 ? S 0:00 avahi-daemon: chroot helper

but, if I comment out the IP in etc/hosts and avahi doesnt seem to be doing its job

knife client list
ERROR: Network Error: Error connecting to https://chefserver.local/clients - getaddrinfo: Name or service not known
Check your knife configuration and network settings

alright, thats me for the night

CHEERS

@tombh
Copy link
Contributor

tombh commented Jan 5, 2014

Great, we're making progress then :)

No, you shouldn't have to manually add IP addresses to /etc/hosts, that's exactly what avahi-daemon is for. BTW, yes I'm on Linux, Debian Sid to be exact. So, just to be clear about what avahi-daemon does; it broadcasts the hostname (as resolvable to its IP) of the machine upon which it runs. Therefore if you just want to access the chefserver.local, then avahi only needs to be running on the Chef Server VM, not your host machine. However, avahi is needed on your host machine later on for a completely separate function. That is so the Deis Controller can SSH outside itself and into your host machine in order to programatically run vagrant commands.

So, from what I've just said and what you say @niccolox I think there is a mistake in the vagrant README. Steps 4 and 5 should be swapped around. The provision script does a dependency check for a running avahi-daemon process. Running the provision script is step 4. But then the instruction to install avahi-daemon comes from step 5.

But, I don't see how this would solve your problem @niccolox :( If the Chef Server is set up correctly then it should have avahi installed and be broadcasting its IP. Perhaps there's a DNS caching issue now? Maybe the fact that /etc/hosts resolved the chefserver.local hostname first prevented avahi from doing its thing? Or perhaps avahi just isn't working at all on your network?

What happens if you try pinging chefserver.local? Does it manage to resolve to an IP. For some reason ping can resolve avahi hostnames but the host command can't.

@niccolox
Copy link

niccolox commented Jan 6, 2014

OK, I honestly probably would of tried some other method of testing Deis if I had known Debian & Mac osx are what the Vagrant localdev set-up is based on day-to-day.

I'll try to re-check my Virtualbox networking and local networking setup, but I dont actually have any other baremetal running Precise, only cloud and VMs and nesting vm's is asking for trouble

its quite possibly my local network set-up also as OS subtleties

also, I am using the HTML docs not the github readme, will cross check

I am now getting stuck on Python dependencies, I think

requires=['docopt(>=0.6.1)', 'PyYAML(>=3.10)', 'requests(>=2.1.0)'],

sudo ln -fs $DEIS_DIR/client/deis.py /usr/local/bin/deis
niccolo@mybaremetal:/Projects/deisdev/deis⟫ deis
Traceback (most recent call last):
File "/usr/local/bin/deis", line 63, in
import yaml
ImportError: No module named yaml
1 niccolo@mybaremetal:
/Projects/deisdev/deis⟫ sudo apt-get install python-yaml
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-yaml
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 122 kB of archives.
After this operation, 488 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main python-yaml amd64 3.10-2 [122 kB]
Fetched 122 kB in 0s (227 kB/s)
Selecting previously unselected package python-yaml.
(Reading database ... 428163 files and directories currently installed.)
Unpacking python-yaml (from .../python-yaml_3.10-2_amd64.deb) ...
Setting up python-yaml (3.10-2) ...
niccolo@mybaremetal:/Projects/deisdev/deis⟫ deis
Traceback (most recent call last):
File "/usr/local/bin/deis", line 65, in
from docopt import docopt
ImportError: No module named docopt
1 niccolo@mybaremetal:
/Projects/deisdev/deis⟫ sudo apt-get install docopt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docopt
100 niccolo@mybaremetal:/Projects/deisdev/deis⟫ sudo apt-get install python-docopt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-docopt
100 niccolo@mybaremetal:
/Projects/deisdev/deis⟫ sudo apt-get install pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip
100 niccolo@mybaremetal:/Projects/deisdev/deis⟫ gem install docopt yaml
Fetching: docopt-0.5.0.gem (100%)
Successfully installed docopt-0.5.0
ERROR: Could not find a valid gem 'yaml' (>= 0) in any repository
ERROR: Possible alternatives: aml, cyaml, haml, maml, raml
1 gem installed
Installing ri documentation for docopt-0.5.0...
Installing RDoc documentation for docopt-0.5.0...
2 niccolo@mybaremetal:
/Projects/deisdev/deis⟫ deis
Traceback (most recent call last):
File "/usr/local/bin/deis", line 65, in
from docopt import docopt
ImportError: No module named docopt

@niccolox
Copy link

niccolox commented Jan 6, 2014

regarding Virtualbox, I did a quick search regarding Ubuntu 12 hosts and there is a small universe of issues and resolutions

chefserver.local

vagrant@chefserver:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:e2:66:ee
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fee2:66ee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16430 errors:0 dropped:0 overruns:0 frame:0
TX packets:8776 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12038125 (12.0 MB) TX bytes:565012 (565.0 KB)

eth1 Link encap:Ethernet HWaddr 08:00:27:e4:b5:4c
inet addr:192.168.61.99 Bcast:192.168.61.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1861 errors:0 dropped:0 overruns:0 frame:0
TX packets:1808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:724477 (724.4 KB) TX bytes:668226 (668.2 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8312227 errors:0 dropped:0 overruns:0 frame:0
TX packets:8312227 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:795442227 (795.4 MB) TX bytes:795442227 (795.4 MB)

vagrant@deis-controller:~$ ifconfig
docker0 Link encap:Ethernet HWaddr 42:9e:0d:43:1a:13
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::409e:dff:fe43:1a13/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:18741 (18.7 KB)

eth0 Link encap:Ethernet HWaddr 08:00:27:ca:00:14
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feca:14/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:173770 errors:0 dropped:0 overruns:0 frame:0
TX packets:88942 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:136533294 (136.5 MB) TX bytes:5627085 (5.6 MB)

eth1 Link encap:Ethernet HWaddr 08:00:27:25:ab:23
inet addr:192.168.61.100 Bcast:192.168.61.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe25:ab23/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1584 errors:0 dropped:0 overruns:0 frame:0
TX packets:1742 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:408880 (408.8 KB) TX bytes:372671 (372.6 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:17951 errors:0 dropped:0 overruns:0 frame:0
TX packets:17951 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5468611 (5.4 MB) TX bytes:5468611 (5.4 MB)

lxcbr0 Link encap:Ethernet HWaddr ee:0c:e5:5e:95:c5
inet addr:10.0.3.1 Bcast:10.0.3.255 Mask:255.255.255.0
inet6 addr: fe80::ec0c:e5ff:fe5e:95c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:18662 (18.6 KB)

@niccolox
Copy link

niccolox commented Jan 6, 2014

selection_003

not sure if this matters, but, the Deis vm's are on vboxnet1 and DO NOT have a dhcp setup

I setup vboxnet0 prior to Deis with a Proxmox vm sandbox on static IP

also, I am NOT running dhcp connections from my host at all, two static IP, one private, one public, both firewalled

cheers

@bacongobbler
Copy link
Member

100 niccolo@mybaremetal:~/Projects/deisdev/deis⟫ gem install docopt yaml

Regarding depencency management, you're using gem install instead of pip install. It's probably easiest to install them using the requirements.txt file that exists in opdemand/deis. For an example, here is my development workflow on first setting up practically any python project that follows 12factor practices:

$ git clone git://github.com/opdemand/deis.git
$ cd deis
$ sudo apt-get install -y python-virtualenv
$ virtualenv venv && source venv/bin/activate
$ pip install -r requirements.txt

@tombh
Copy link
Contributor

tombh commented Jan 6, 2014

Yes, it's always better to use pip. In fact in this case I think it's best to let make run pip for you, ie; cd client && make install. That step is in the vagrant README, but not the RST docs, so they're out of sync, which should be fixed.

Okay, so that's 2 bugs now:

  1. Swap steps 4 and 5 in vagrant README
  2. Add step to use make install when installing deis client in RST docs

But back to your issue @niccolox. From your pasted outputs you should be seeing an IP address of 192.168.61.99 when you ping chefserver.local. And if not, then we need to figure out why.

@niccolox
Copy link

niccolox commented Jan 6, 2014

hi, sorry

with /etc/hosts IPs commented out ping gives nought, ping works fine with hosts IP explicitly set

another possibility is that I am using Ubuntu's Network Manager at present, I will try disabling that and using /etc/network/interfaces

http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/

I installed Ubuntu Desktop 12 for my baremetal dev server, so will look at going back to /etc/network/interfaces

I suspect it might be a dnsmasq / avahi conflict

@niccolox
Copy link

niccolox commented Jan 6, 2014

starting again

another documentation error,

niccolo@mybaremetal:/Projects/deisdev/deis/contrib/vagrant/chef-server⟫ berks install
No Berksfile or Berksfile.lock found at '/home/niccolo/Projects/deisdev/deis/contrib/vagrant/chef-server'!
100 niccolo@mybaremetal:
/Projects/deisdev/deis/contrib/vagrant/chef-server⟫ cd /Projects/deisdev/deis/
niccolo@mybaremetal:
/Projects/deisdev/deis⟫ berks install
Using apt (2.3.0)
Using rsyslog (1.9.0)
Using sudo (2.2.2)
Installing deis (0.4.0) from git: 'https://github.com/opdemand/deis-cookbook.git' with branch: 'master' at ref: '9daa935b1d51d4ed794d323d881d4b0b87cf767c'

@niccolox
Copy link

niccolox commented Jan 6, 2014

another Ubuntu specific permissions issue?

niccolo@mybaremetal:/Projects/deisdev/deis/contrib/vagrant⟫ ln -fs $DEIS_DIR/client/deis.py /usr/local/bin/deis
ln: failed to create symbolic link `/usr/local/bin/deis': Permission denied
1 niccolo@mybaremetal:
/Projects/deisdev/deis/contrib/vagrant⟫ sudo ln -fs $DEIS_DIR/client/deis.py /usr/local/bin/deis

am now at

deis
Usage: deis [...]

YAY !

@niccolox
Copy link

niccolox commented Jan 6, 2014

deis register http://deis-controller.local
username: adminperson
password:
password (confirm):
email: niccolo@email.com
Traceback (most recent call last):
File "/usr/local/bin/deis", line 2047, in
main()
File "/usr/local/bin/deis", line 2032, in main
raise DocoptExit(err.message)
File "/usr/local/lib/python2.7/dist-packages/docopt.py", line 29, in init
SystemExit.init(self, (message + '\n' + self.usage).strip())
TypeError: unsupported operand type(s) for +: 'MaxRetryError' and 'str'

same as this?
http://pastie.org/pastes/8441824

@bacongobbler
Copy link
Member

niccolo@mybaremetal:~/Projects/deisdev/deis/contrib/vagrant⟫ ln -fs $DEIS_DIR/client/deis.py /usr/local/bin/deis
ln: failed to create symbolic link `/usr/local/bin/deis': Permission denied

Yes, these are permissions-specific issues. You're trying to make a symbolic link to a directory that you do not have write access to.

These comments are getting way off-topic from the original pull request. @niccolox (or @tombh), could you please open new issues for the errors you're receiving, including:

That way, we can individually track the issues and make sure that each thread is clear and concise, and so that bugs do not get lost in the comments (thanks @tombh for summarizing them in #374 (comment) 😄). Also, please feel free to chat with us about any issues you may be having with getting set up on IRC at #deis on Freenode.

Disclaimer: I am just a weekender on this project, so I do not represent OpDemand in any shape or form when I say this. This process just helps to isolate issues on everyone's end so we can track what's happening and where we can help 😄

@niccolox
Copy link

niccolox commented Jan 6, 2014

the topic is Local Development instructions using Vagrant

I am on topic imho

i dont have time today to start new issues, will do that later in week

@niccolox
Copy link

niccolox commented Jan 6, 2014

and apologies, I am grumpy... I am tired and probably getting sick

I do appreciate the help and will tidy up this issue list later in the week

@niccolox
Copy link

niccolox commented Jan 6, 2014

I tried again and noticed something I may have missed the first few times around the roundabout

nginx ppa's are not installing, timing out, when installing deis-controller

I can ping the keyserver from the deis-controller but the cookbook cant do the install

might explain other areas

still not convinced its not my networking, but having uncertainty around packages, dependencies etc makes it more interesting

this is possibly the root cause of various errors

deis-controller.local ================================================================================
deis-controller.local 
deis-controller.local Error executing action `add` on resource 'apt_repository[nginx-ppa]'
deis-controller.local 
deis-controller.local ================================================================================
deis-controller.local 
deis-controller.local 
deis-controller.local 
deis-controller.local Mixlib::ShellOut::ShellCommandFailed
deis-controller.local 
deis-controller.local ------------------------------------
deis-controller.local 
deis-controller.local execute[install-key E5267A6C] (/var/chef/cache/cookbooks/apt/providers/repository.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
deis-controller.local 
deis-controller.local ---- Begin output of apt-key adv --keyserver keyserver.ubuntu.com --recv E5267A6C ----
deis-controller.local STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.qHaQcZik3t --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv E5267A6C
deis-controller.local STDERR: gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
deis-controller.local gpg: keyserver timed out
deis-controller.local gpg: keyserver receive failed: keyserver error
deis-controller.local ---- End output of apt-key adv --keyserver keyserver.ubuntu.com --recv E5267A6C ----
deis-controller.local Ran apt-key adv --keyserver keyserver.ubuntu.com --recv E5267A6C returned 2
deis-controller.local 
deis-controller.local 
deis-controller.local Resource Declaration:
deis-controller.local 
deis-controller.local ---------------------
deis-controller.local 
deis-controller.local # In /var/chef/cache/cookbooks/deis/recipes/nginx.rb
deis-controller.local 
deis-controller.local  12: apt_repository 'nginx-ppa' do
deis-controller.local  13:   uri 'http://ppa.launchpad.net/ondrej/nginx/ubuntu'
deis-controller.local  14:   distribution node.lsb.codename
deis-controller.local  15:   components ['main']
deis-controller.local  16:   keyserver 'keyserver.ubuntu.com'
deis-controller.local  17:   key 'E5267A6C'
deis-controller.local  18: end
deis-controller.local  19: 
deis-controller.local 
deis-controller.local 
deis-controller.local 
deis-controller.local Compiled Resource:
deis-controller.local ------------------
deis-controller.local # Declared in /var/chef/cache/cookbooks/deis/recipes/nginx.rb:12:in `from_file'
deis-controller.local 
deis-controller.local apt_repository("nginx-ppa") do
deis-controller.local   action :add
deis-controller.local   retries 0
deis-controller.local   retry_delay 2
deis-controller.local   cookbook_name "deis"
deis-controller.local   recipe_name "nginx"
deis-controller.local   uri "http://ppa.launchpad.net/ondrej/nginx/ubuntu"
deis-controller.local   distribution "precise"
deis-controller.local   components ["main"]
deis-controller.local   keyserver "keyserver.ubuntu.com"
deis-controller.local   key "E5267A6C"
deis-controller.local   cache_rebuild true
deis-controller.local end
deis-controller.local 
deis-controller.local 
deis-controller.local 
deis-controller.local [2014-01-06T15:00:50-07:00] ERROR: Running exception handlers
deis-controller.local 
deis-controller.local [2014-01-06T15:00:50-07:00] ERROR: Exception handlers complete
deis-controller.local 
deis-controller.local [2014-01-06T15:00:50-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
deis-controller.local 
deis-controller.local Chef Client failed. 1 resources updated
deis-controller.local 
deis-controller.local [2014-01-06T15:00:50-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
deis-controller.local 
+ set +x
Updating Django site object from 'example.com' to 'deis-controller'...
Connection to 127.0.0.1 closed.
Site object updated.
~/Projects/deisvagrant/deis/contrib/vagrant
Setting devmode flag on 'deis-controller'...
Please ensure that "deis-controller" is added to the Chef "admins" group.

@niccolox
Copy link

niccolox commented Jan 7, 2014

ok, its working

I uninstalled and purged avahi and openssh-server and turned off firewall for install (need to check adding git and apt ppa ports as well as IP ignores)

I did encounter a deis-worker error also

I'll stop hammering this issue and apologies for being such a pain in the ar$3

my warts and all history of commands is
https://gist.github.com/niccolox/8294579

@bacongobbler
Copy link
Member

Glad to hear that you got it all working :)

I apologize if you took any offense to my comment. No hostilities were intended. I just personally like having one issue per bug is all, and it makes it a lot easier to track down issues and debug them as opposed to searching through "god bugs" to comment on specific issues to confirm patches or commits.

I'll stop hammering this issue and apologies for being such a pain in the ar$3

You aren't a pain in the arse! All of this information is great for debugging any problems we might be seeing in the code or in the documentation (as you have listed), so all of this is greatly appreciated. Thank you for taking the time to list the issues you were having. It helps us understand, document, and solve any bumps in the road that ourselves and others have experienced while working with deis :)

@tombh
Copy link
Contributor

tombh commented Jan 7, 2014

Yay \o/ good work @niccolox!

Right, I'll add PRs for those 2 bugs then...

@tombh
Copy link
Contributor

tombh commented Jan 7, 2014

Oh BTW the doc error mentioned here is not a bug, berks install is meant to be run in $DEIS_ROOT. And the deis register error here is caused by a an unresponsive Deis Controller, so the bug fix is that the client feedback should be more human readable, okay, I can do a PR for that too.

@niccolox
Copy link

niccolox commented Jan 9, 2014

quick note

managed to get the avahi dns issue resolved

in Network Manager (on Ubuntu Desktop) turn off dnsmasq

sudo nano /etc/NetworkManager/NetworkManager.conf

[main]
plugins=ifupdown,keyfile
#dns=dnsmasq

sudo service network-manager start

in avahi uncomment hostname & domain-name

sudo nano /etc/avahi/avahi-daemon.conf

host-name=hostname
domain-name=local

sudo avahi-daemon --kill
sudo avahi-daemon --debug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Developer Setup instructions for Vagrant
6 participants