htaccess | hello i am getting some very consistent errors when using cloud init on xenial boxes | 03:10 |
---|---|---|
htaccess | i built 15 xenial boxes that use #cloud-config to set the timezone, local and install one package | 03:11 |
htaccess | 4 have failed to install the package | 03:12 |
htaccess | becuase: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) | 03:12 |
htaccess | relevant /var/log/cloud-init-output.log output : https://paste.ubuntu.com/25624581/ | 03:15 |
htaccess | as it say its pretty easy to trigger, i am building 5 servers each time, every time i have done it at least one box has the issue | 03:16 |
htaccess | s/local/locale/ | 03:18 |
=== Raboo_ is now known as Raboo | ||
=== holser__ is now known as holser_ | ||
dpb1 | htaccess: we had a race with automatic updates a while back, could be back. Could you please file a bug? | 11:49 |
=== smatzek_ is now known as smatzek | ||
=== gin is now known as ginsul | ||
=== gin is now known as bla_ | ||
=== bla_ is now known as ginsul | ||
=== smatzek_ is now known as smatzek | ||
kszarlej | How in NoCloud datasource in network-config set the default route? | 15:41 |
kszarlej | It is only possible to set the route as cidr, and I need 'default via'... | 15:42 |
rharper | kszarlej: you want to add a gateway: value to your subnet configuration, http://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v1.html#network-config-v1 | 15:47 |
kszarlej | rharper: but I have two subnets. | 15:57 |
kszarlej | So the routes are created like: 10.10.1.0/24 dev eth0 proto kernel scope link src 10.10.1.120 | 15:58 |
kszarlej | for each subnet (that one was 10.10.1.0/24). But what about a default(default via 192.168.1.10 dev eth0) | 15:59 |
kszarlej | the gateway adds default route for configured subnet. but when my instance wants to access WAN not LAN it needs default gateway | 16:06 |
kszarlej | ok so the proper way should be adding a static route with destination of '0.0.0.0/0' | 16:20 |
kszarlej | ye but it ofcourse doesnt work :D eh.. cloud-init | 16:32 |
=== smatzek_ is now known as smatzek | ||
kszarlej | ok - adding route directly to subnet routes: works. Working example: http://paste.ubuntu.com/25628125/ | 17:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!