mgw | using vmbuilder inside a private network… should —proxy pointing to my apt-proxy URL be sufficient? | 00:18 |
---|---|---|
harushimo | I have maas setup. Is there another site for maas setup? | 00:20 |
harushimo | I don't have the web interface for maas | 00:24 |
pmatulis | harushimo: another one? what are you after? | 00:24 |
harushimo | I can't get it to add nodes | 00:25 |
harushimo | web interface | 00:25 |
harushimo | I'm not running a gui on the server | 00:25 |
pmatulis | harushimo: what does that have to do with it? a web server doesn't require a graphical environment | 00:26 |
harushimo | how I access the http? then | 00:26 |
harushimo | https://wiki.ubuntu.com/ServerTeam/MAAS#Create_MAAS_admin_account | 00:27 |
pmatulis | harushimo: the same way you access any web site | 00:27 |
pmatulis | harushimo: what happens when you point your browser to http://your_server_ip_address/MAAS ? | 00:27 |
harushimo | it keeps reloading | 00:28 |
harushimo | I'm using maas on my virtual machine | 00:28 |
harushimo | I'm guessing that doesn't matter | 00:29 |
harushimo | it does | 00:29 |
harushimo | it doesn't show anything | 00:29 |
harushimo | sorry | 00:30 |
harushimo | it is importing the isos right now | 00:30 |
harushimo | i'm at that step | 00:30 |
harushimo | I'm getting ahead of myself | 00:30 |
harushimo | I just realized I need to change my default gateway | 00:31 |
harushimo | I use the ip address to access my router setup | 00:31 |
harushimo | how long does it take to import isos? | 00:31 |
pmatulis | harushimo: i think it takes 4, all precise, by default. so not long | 00:32 |
pmatulis | harushimo: and take your time, haste makes waste (Ent saying) | 00:32 |
harushimo | 4 hrs? | 00:33 |
harushimo | I'm guessing that is what it is | 00:34 |
pmatulis | harushimo: no, 4 images | 00:34 |
harushimo | my bad | 00:34 |
harushimo | sorry | 00:34 |
harushimo | how long does 4 images take to download? | 00:34 |
harushimo | i'm guessing that is dependent on the internet connection | 00:34 |
pmatulis | harushimo: bingo | 00:35 |
harushimo | thank you | 00:35 |
harushimo | this is my first time doing maas. I may fail at it | 00:36 |
harushimo | that is okay. I will learn something | 00:36 |
pmatulis | harushimo: well, it's quite new. it's bound to have bugs. report back and let me know how it goes | 00:38 |
harushimo | I will definately do that | 00:42 |
harushimo | one thing I'm thinking | 00:42 |
harushimo | please tell me if this isn't a good idea | 00:43 |
harushimo | maas is use for some who has systems background | 00:43 |
harushimo | this is just me saying: Why can maas have front end | 00:43 |
harushimo | the user can click and get it done quite quickly | 00:44 |
harushimo | if it does, I want to know about it | 00:44 |
harushimo | hehe | 00:44 |
harushimo | we can probably stream the process but like you said, it is new | 00:44 |
harushimo | I will definately know about the bugs | 00:45 |
harushimo | if this a bad idea, let me know also | 00:45 |
harushimo | how many machines would need for maas? | 00:52 |
harushimo | I mean ideally | 00:52 |
harushimo | what is the difference between maas & enlightment or just doing an install of ubuntu server and then installing maas after the installation of ubuntu server? | 00:55 |
harushimo | does maas cloud cd have 32 bit? | 01:05 |
harushimo | I have the 64 bit iso | 01:05 |
harushimo | anyone? | 01:06 |
=== koolhead17|afk is now known as koolhead17 | ||
lux` | hi all | 01:11 |
lux` | i've got an urgent problem | 01:12 |
lux` | upgraded my server, screwed up with ip route (which should be only temporany, and reset after reboot), rebooted and can't access anymore to the server via ssh | 01:12 |
lux` | I can access the server in rescue mode and from the syslog mysql and other startup programms are starting | 01:13 |
ea1het_OFF | maybe you have a wrong routing table in your box | 01:13 |
lux` | so I though it's a ip route problem, but shouldn't things modified with "ip" command be temporanyt? | 01:13 |
ea1het_OFF | of course you have to clean it | 01:13 |
lux` | i also tried ip route flush table main from the rescue mode chrotting the server ea1het_OFF | 01:14 |
lux` | and after restarting to normal mode still doesn't work | 01:14 |
ea1het_OFF | i'm not sure the rescue mode serves this matter.... | 01:15 |
lux` | well that's the only way i can access the server | 01:15 |
ea1het_OFF | hum.. and i understand you don's have physical access to your server.... right? | 01:15 |
lux` | nop | 01:15 |
ea1het_OFF | the only idea i have is to create a shellscript you can configure... put it on the rc.local init script.... and that script flush all tables and set one and only one default route to your gateway | 01:16 |
ea1het_OFF | maybe it works | 01:16 |
ea1het_OFF | same command you introduce in the rescue session but inside a shellscript to automatically be executed from rc.local in the normal init run | 01:17 |
lux` | k i'll try thanks | 01:18 |
ea1het_OFF | you're welcome | 01:19 |
harushimo | does anyone anything about maas here | 01:20 |
Psi-Jack | Okay, so, I'm having some ANNOYING issues with nslcd NOT starting at boot-up in Ubuntu 12.04. | 01:28 |
lux` | reading online they say that ip and route commands aren't permanent ea1het_OFF | 01:29 |
lux` | also I tried to do as you said and it didn't work | 01:29 |
ea1het_OFF | what do you have in your interfaces file (/etc/network/interfaces) ?? | 01:30 |
ea1het_OFF | take a look at the config for incoherences... | 01:30 |
lux` | 1sec restarting to rescue mode | 01:31 |
lux` | ea1het_OFF, the samething I've had for months | 01:33 |
lux` | and these are the commands i've added to rc.local: | 01:34 |
lux` | ip route flush table main | 01:34 |
lux` | ip addr add 46.105.109.0/24 dev eth2 | 01:34 |
lux` | ip route add default via 46.105.109.254 | 01:34 |
ea1het_OFF | looks good | 01:38 |
ea1het_OFF | lux`: ip route ls | 01:39 |
ea1het_OFF | lux`: ip rule list | 01:39 |
ea1het_OFF | ip route flush cache | 01:39 |
lux` | i can connect only through rescue | 01:40 |
ea1het_OFF | is the ssh daemon running in normal init? | 01:40 |
lux` | always been | 01:40 |
ea1het_OFF | if you don't have physical access ... how are you connecting to your box and changing the init level? | 01:41 |
lux` | through a rescue system the hoster gives me ea1het_OFF | 01:42 |
lux` | it let me connect to the real server harddisk | 01:42 |
lux` | so i can chroot to it | 01:42 |
ea1het_OFF | you are into a VPS ¿ | 01:42 |
ea1het_OFF | ? | 01:42 |
lux` | anyway yeah, ssh is enabled in init level 2-5 | 01:42 |
lux` | dedicated server | 01:42 |
ea1het_OFF | what did you tried before, when the connections stop working? | 01:43 |
lux` | ip route del ?. | 01:43 |
lux` | but as I said I read that it refresh every restart | 01:43 |
lux` | shouldn't it? | 01:43 |
ea1het_OFF | it should.....yes... | 01:44 |
ea1het_OFF | did you do any kind of change to the network configuration files? | 01:44 |
lux` | yeah actually I did, added another nic but i restarted network and everything was fine, anyway after I removed it thinking it was the problem | 01:45 |
lux` | so now it's exactly how it has been for months | 01:45 |
ea1het_OFF | when you enter in chroot mode... can you get access to the internet from your server? | 01:46 |
ea1het_OFF | i don't want to think it's a temporary problem in your hoster.... | 01:46 |
lux` | yes | 01:46 |
lux` | i can | 01:46 |
ea1het_OFF | run in normal mode | 01:47 |
lux` | can't access anything in normal mode :/ | 01:47 |
ea1het_OFF | telnet your_server_ip 22 from you pc and wait for a connection.... | 01:47 |
lux` | won't work | 01:47 |
lux` | connection refused | 01:47 |
ea1het_OFF | and tell me if if presents a prompt | 01:47 |
ea1het_OFF | so only two things can happen.... no ssh daemon running in the correct interface.... or no interface well configured. | 01:48 |
lux` | i can even start ssh in the chrotted env. | 01:48 |
lux` | and /etc/network/interfaces is like it has always been | 01:49 |
lux` | :( | 01:49 |
ea1het_OFF | iptables -L -n | 01:51 |
ea1het_OFF | to see if there is something blocking your machine | 01:51 |
ea1het_OFF | (firewall rules i mean) | 01:52 |
ea1het_OFF | any firewall daemon configured in the box? | 01:52 |
lux` | i even removed iptables to make sure it wasn't it | 01:52 |
ea1het_OFF | there is not so much.... | 01:52 |
lux` | so it can't be it | 01:52 |
ea1het_OFF | execute the line above to be sure.... | 01:52 |
ea1het_OFF | or reboot your machine | 01:53 |
lux` | command not found | 01:53 |
lux` | i'll try to reboot with only the default nic | 01:53 |
ea1het_OFF | good.... | 01:53 |
ea1het_OFF | lux`: it is not a good idea to configure interfaces and subinterfaces together | 01:55 |
ea1het_OFF | if you are going to work with subinterfaces.... only configure subinterfaces for all networks | 01:56 |
ea1het_OFF | without configuring the physical device | 01:56 |
ea1het_OFF | about the rest...loooks good | 01:57 |
lux` | nothing, I'll check logs to see if ssh is giving any error i guess | 02:00 |
Psi-Jack | Hmmm | 02:05 |
Psi-Jack | So, I've converted my nslcd init.d script into upstart scripts, and at startup it seems nslcd.conf actually IS running, but nslcd-k5start.conf isn't. Very strange... | 02:06 |
Psi-Jack | is there a network-manager specific event? | 02:06 |
harushimo | I've trying to setup maas. Is it possible to set it up on ubuntu-server 32 bit? | 02:13 |
harushimo | can anyone help me with maas at all? | 02:18 |
harushimo | I've been at this problem for a week | 02:18 |
harushimo | the instructions are 64 b it iso | 02:18 |
harushimo | not for 32 bit | 02:18 |
lux` | what the fuck | 02:26 |
lux` | i even put debug to log level of sshd | 02:26 |
lux` | and it's not showing NOTHING AT ALL | 02:26 |
pmatulis | lux`: language please. what's the problem? | 02:32 |
harushimo | pmatulis: can I ask you a question | 02:36 |
harushimo | you helped a couple hours ago | 02:36 |
harushimo | is it possible to install maas on ubuntu-server 32 bit | 02:37 |
harushimo | ? | 02:37 |
harushimo | when I look at the instructions, it is for 64 bit | 02:37 |
lux` | pmatulis, sorry i'm very frustrated, it's almost 5am here and still can't fix the server, anyway there is a discussions of like 50lines if you scroll on the top | 02:39 |
pmatulis | harushimo: yes, you can | 02:39 |
pmatulis | lux`: yes, i read it now | 02:39 |
harushimo | how | 02:39 |
harushimo | I've been really struggling here | 02:40 |
harushimo | there are no instructions for the 32 bit | 02:40 |
lux` | install lsh-server now? so i'll check if there is a problem with openssh or something else | 02:40 |
pmatulis | harushimo: well, get yourself a 32bit-based machine and away you go | 02:40 |
harushimo | i'm running 32 bit vm | 02:41 |
harushimo | that I know | 02:41 |
pmatulis | harushimo: so what's the problem? just 'apt-get install maas' | 02:41 |
harushimo | alright | 02:41 |
harushimo | that is easy | 02:41 |
harushimo | I'll install the ubuntu-server | 02:41 |
harushimo | okay I see now | 02:41 |
pmatulis | lux`: so you put in a bad route with the ip command and now you cannot ssh into the machine? | 02:42 |
lux` | exactly, but everything done with the ip command should be temporany right pmatulis ? | 02:43 |
lux` | so now I'm thinking that there is a problem with ssh | 02:43 |
pmatulis | lux`: yes, it won't survive a reboot | 02:43 |
lux` | and also I'm not reading from the first "faulty" reboot anything about ssh in /var/log/auth.log | 02:44 |
lux` | not even putting the log level to "DEBUG" in sshd's config, so there is something wrong I guess | 02:44 |
pmatulis | lux`: is the ssh daemon running? | 02:44 |
lux` | how can I know, it's not visibile from the outside anyway | 02:45 |
lux` | nor in the logs | 02:45 |
pmatulis | lux`: with the ps command | 02:45 |
lux` | I can't access the machine in normal mode | 02:45 |
pmatulis | lux`: i thought you had an alternative method | 02:45 |
lux` | yes I can connect in "rescue mode", basically I can connect to a temporany computer which got access to the main server's hdd | 02:46 |
pmatulis | lux`: so you can read data on the drive? browse the filesystem? | 02:47 |
lux` | yes | 02:47 |
pmatulis | check if there is a pid file for sshd | 02:47 |
pmatulis | what release are you running there? | 02:48 |
lux` | nop no pid pmatulis | 02:48 |
pmatulis | what release are you running there? | 02:49 |
lux` | 12.04 | 02:50 |
pmatulis | where did you check for the pid? | 02:52 |
lux` | /var/run/sshd/ | 02:52 |
pmatulis | try /run/sshd.pid | 02:53 |
lux` | nothing | 02:53 |
pmatulis | did you much around with /etc/ssh/sshd_config at all? | 02:53 |
pmatulis | *muck | 02:54 |
lux` | don't remember doing so, anyway now i'm installing lsh (taking so much time to create the random seed) and then if it doesn't work I'll try to purge and reinstall openssh | 02:54 |
lux` | but the odd thing is that there is no error nor anything at all about ssh in the logs pmatulis | 02:54 |
lux` | since the server problem | 02:55 |
pmatulis | lux`: you did a 'grep sshd /var/log/syslog' and no error? | 02:55 |
lux` | yeah and also /var/log/auth.log | 02:55 |
pmatulis | well, the reason why you can't ssh into the box is because sshd is not running | 02:56 |
pmatulis | auth.log will be empty of anything useful if sshd is not running | 02:56 |
lux` | yes yes yes | 03:05 |
lux` | changing ssh server worked | 03:05 |
lux` | my eyes are gonna cry blood in the pain of frustation | 03:05 |
lux` | it's 5am but it's all right | 03:05 |
mgw | what would be the implications of having, say, 500 ssh tunnels open at once? | 03:11 |
mgw | to remote machines | 03:11 |
pmatulis | lux`: so you can log in now? | 03:11 |
qman__ | mgw, lots of CPU overhead for the encryption | 03:12 |
lux` | yes and i don't even wanna know what's wrong with openssh | 03:12 |
lux` | i even purged an reinstalled it | 03:12 |
lux` | it didn't work | 03:12 |
lux` | using dropbear now | 03:12 |
qman__ | each tunnel has to run the expensive RSA for the handshake, but then also has to keep up the AES tunnel | 03:12 |
lux` | and i can finally go to sleep, the sun is rising... | 03:13 |
lux` | gnite and thanks pmatulis ea1het_OFF | 03:13 |
mgw | qman__ thanks… so it wouldn't work very well | 03:13 |
mgw | if at all | 03:13 |
qman__ | well, it'll work if you have enough CPU | 03:13 |
mgw | ok | 03:13 |
mgw | any idea how much? | 03:13 |
qman__ | any CPU made in the last few years can handle that, but it's a nontrivial amount of computation | 03:13 |
qman__ | that you have to take into account when designing the system | 03:14 |
qman__ | if that's all you're doing, a modern chip can handle it | 03:14 |
mgw | ok, but 100 would be more doable, even on a smaller system then? | 03:14 |
pmatulis | lux`: good. let me know why sshd could not start. g'night | 03:14 |
qman__ | it can, but on a typical desktop, doing 100 SSH tunnels with AES256, expect between 10% and 30% CPU use | 03:15 |
qman__ | you'd have to do some tests to get actual numbers, but IME it should be in that ball park | 03:15 |
qman__ | my 200MHz K6 starts to choke at about 6 | 03:16 |
mgw | qman__ thanks | 03:17 |
mgw | would I need to look at ulimits to open this many? | 03:17 |
qman__ | no, by default the limits aren't set | 03:18 |
qman__ | now, those numbers also depend on the amount of traffic going over those tunnels | 03:18 |
qman__ | idle tunnels or light communication doesn't need as much CPU power as, say, a file transfer | 03:19 |
mgw | qman__ obviously | 03:20 |
mgw | i'm not sure i'd actually use a tunnel… maybe a straight ssh connection, but keep them open | 03:20 |
mgw | I'm trying to optimize an application that opens and closes connetions repeatedly | 03:21 |
qman__ | my K6 can't actually keep up with an SFTP transfer, it's notably slower than my uplink | 03:21 |
mgw | ok… but that's a K6 | 03:22 |
mgw | ;-) | 03:22 |
qman__ | it is, just making the point that a file transfer takes more than 7 or 8 open SSH sessions | 03:22 |
mgw | ah, understood | 03:22 |
mgw | ok, so this is how the system currently works | 03:22 |
mgw | if I'm working with 100 systems, it forks 10 processes (say) and opens 10 connections at a time | 03:23 |
mgw | closes them, and and loops through the 100 servers that way | 03:23 |
mgw | for each task | 03:23 |
mgw | then it starts over | 03:23 |
mgw | for the next task | 03:23 |
qman__ | that's going to be really inefficient if you have more than one task per server | 03:23 |
mgw | is the opening/closing more intense than keeping them idel? | 03:23 |
qman__ | much more | 03:24 |
mgw | ok, that's what I was hoping | 03:24 |
qman__ | you're talking about 2048-bit (or more) RSA per connection | 03:24 |
mgw | b/c it's also really slow | 03:24 |
qman__ | versus keeping an AES256 open | 03:24 |
mgw | hoping, b/c I want to make this more efficient | 03:25 |
qman__ | and that isn't 8 times more complex, it scales exponentially | 03:25 |
qman__ | you're going to want to keep the tunnels open as long as is practically possible | 03:27 |
qman__ | they do die off with flaky connections after a while, so you might want to make them no more than an hour long depending on your network and application | 03:28 |
qman__ | but that's the range you're going to want to shoot for, not seconds or minutes | 03:28 |
mgw | qman__ I don't really need them for more than a few minutes | 03:36 |
mgw | right now they're being opened/closed several times a minute | 03:36 |
mgw | maybe 15 minutes if there're a lot of longer tasks | 03:37 |
mgw | qman__ one more question… if I open a tunnel via a subprocess, will the tunnel close when the parent process dies? | 03:48 |
=== wylde_ is now known as wylde | ||
=== dendro-afk is now known as dendrobates | ||
joseph__ | Why does byobu look bad over ssh? | 08:10 |
=== Lcawte|Away is now known as Lcawte | ||
RoyK | joseph__: it does? | 08:45 |
joseph__ | yea maybe a bug. there is a scolling problem had to disable the logo to fix that. but i am trying to fix this http://img600.imageshack.us/img600/401/screenshotfrom201206020.png | 08:47 |
RoyK | looks like a curses bug | 08:49 |
RoyK | file a bug :) | 08:49 |
joseph__ | what should i use tmux or screen | 08:49 |
* RoyK just uses screen | 08:49 | |
joseph__ | it looks even worse when i use tmux. | 08:50 |
RoyK | joseph__: but please file a bug - bugs aren't fixed unless reported | 08:50 |
joseph__ | file the bug report https://bugs.launchpad.net/byobu/+bug/1007753 should of explaned it better | 08:58 |
uvirtbot | Launchpad bug 1007753 in byobu "menu display screwed up over ssh?" [Undecided,New] | 08:58 |
joseph__ | start up a ec2 instance and run byobu. the status bar infinitty scrooling bug is already filed. | 09:00 |
chmac | `hostname` is returning blah instead of blah.domain.tld, I've reset /etc/hostname and rebooted, but every time it reverts to just blah. | 10:24 |
chmac | Any ideas? | 10:24 |
Jeeves_ | vi /etc/hosts | 10:24 |
Jeeves_ | hostname -f will probably give the full hostname | 10:24 |
lux` | how can I use ip route or ifconfig to use another nic and not the default one for an IP? | 10:25 |
Jeeves_ | ip addr add 192.168.1.1/24 dev ethx | 10:26 |
Jeeves_ | Oh wait | 10:26 |
Jeeves_ | route | 10:26 |
lux` | and then ip route add outgoing_ip via secondary_nicip? | 10:26 |
Jeeves_ | You want to route a specific network over another interface? | 10:26 |
lux` | I want to use a specific NIC for a specific IP | 10:27 |
lux` | so when i connect to the specific IP it uses the specific NIC | 10:27 |
lux` | and not the default one | 10:27 |
Jeeves_ | ip route add <dstip> via <dstgw> | 10:28 |
=== Lcawte is now known as Lcawte|Away | ||
lux` | tried already, gave me no such process error | 10:29 |
lux` | RTNETLINK answers: No such process | 10:29 |
=== Lcawte|Away is now known as Lcawte | ||
chmac | Jeeves_: I've tried setting the fqdn into /etc/hostname, but it gets overwritten on reboot. It's a proxmox virtualised machine, so maybe there's something going on there, not sure... | 10:29 |
Jeeves_ | /etc/hostname is being overwritten? | 10:29 |
Jeeves_ | In Ubuntu? | 10:29 |
viezerd | try /etc/init.d/hostname.sh start after editting | 10:31 |
=== ea1het_OFF is now known as ea1het | ||
qman__ | mgw, yes, the tunnel will close when the parent process dies | 13:08 |
=== dendrobates is now known as dendro-afk | ||
pats_Toms | hi, is there someone who can help me finding the way to multiarch on linux? I want to run 32bit game server on 64bit ubuntu | 15:50 |
harushimo | I installed maas and it gave me my web interface | 16:29 |
harushimo | when I try firefox, i can't use it | 16:29 |
harushimo | I'm using this on my virtual machine | 16:30 |
=== Lcawte is now known as Lcawte|Away | ||
harushimo | I don't understand why I can't see it on my computer | 16:35 |
=== Lcawte|Away is now known as Lcawte | ||
Psi-Jack | There we go, FINALLY resolved my fricken nslcd issues with it not starting up properly at boot. | 18:53 |
Psi-Jack | Fixed it by converting my dnsmasq, and nslcd init.d scripts into upstart scripts. | 18:54 |
mgw1 | qman__ thanks, that's what I thought | 18:55 |
harushimo | anyone know maas here | 19:32 |
harushimo | how come I can't access the web interface | 19:32 |
harushimo | I have maas installed on my virtual machine | 19:32 |
harushimo | I can't access the web interface at all | 19:33 |
harushimo | do I need to import isos first and then access the web interface | 19:33 |
=== Lcawte is now known as Lcawte|Away | ||
harushimo | http://cloud.ubuntu.com/ | 20:00 |
harushimo | I'm looking at this site. I was wondering updating the address within my network | 20:00 |
harushimo | what is that referring to | 20:00 |
=== Lcawte|Away is now known as Lcawte | ||
=== erichammond1 is now known as erichammond | ||
=== Lcawte is now known as Lcawte|Away | ||
=== Lcawte|Away is now known as Lcawte | ||
pehden | nmap pehden.dyndns-ip.com msg me results please | 22:11 |
slide | Does anyone know of a tool for analyzing the disk usage to indicate large files/dirs? needs to be command line or output some sort of file | 22:13 |
slide | right now im using du -h --max-depth=1 but thats annoying lol | 22:14 |
slide | ah cool Philesight might work, apparently its web based | 22:15 |
guntbert | slide: start with du -s /* and walk down the tree | 22:15 |
slide | yea but thats REALLY slow heh | 22:15 |
guntbert | slide: "fast" was not on your list of requirements | 22:18 |
guntbert | :) | 22:18 |
slide | true heh | 22:18 |
slide | gt5 is good btw | 22:52 |
=== Lcawte is now known as Lcawte|Away | ||
harushimo | hello | 23:09 |
harushimo | !openstack | 23:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!