/srv/irclogs.ubuntu.com/2016/04/28/#ubuntu-server.txt

=== devil is now known as Guest194
echosystmwhat distros are highly secure out of the box, without much config needed?01:25
echosystmfor a server01:26
echosystmi know fedora uses selinux and ubuntu uses apparmor, but i dont know the details01:26
echosystmare most packages somehow preconfigured to be secure using those tools?01:26
sarnoldechosystm: out of the box ubuntu ought to be alright; iirc there should only be the mdns port opened. probably the weakest portion of ubuntu's out-of-box security is that the ssh daemon accepts passwords for authentication.02:22
=== Guest194 is now known as devil_
=== athairus is now known as afkthairus
curmethello I've installed mysql on ubuntu machine. But can't access it via windows machine. it says "lost connection to mysql server at reading initial communication packet ,system error:208:17
curmetI ve set the root user to be accessed from %08:17
curmetFlushed priviles08:17
curmetAnd disabled the firewall.08:17
curmetWhat else? thanks before08:17
prago_1hi. when I change network interfaces names to legacy names (eth0,...) via /etc/default/grub:   net.ifnames=0 biosdevname=009:19
prago_1I have NO interface at all after reboot.. in any other ubuntu distro with desktop, this works.09:19
prago_1any idea?09:19
rbasakprago_1: are you sure you have no interface? Or just no active ones? Are you using "ifconfig" instead of "ifconfig -a" for example?09:20
prago_1wait...09:20
rbasak("ip link" is newer; I'm not sure if it defaults to active ones or not)09:20
prago_1ifconfig -a shows it09:21
prago_1you are right..09:21
rbasakSo you probably want to fix /etc/network/interfaces then, and you should be good?09:21
prago_1yes thats it.. thanks a lot :-)09:22
rbasakNo problem :)09:23
huwjrheya i used to use installers from here: http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd6410:36
huwjrcan someone confirm what I should be using now as: http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/installer-amd64 doesn’t exist10:36
huwjri am assuming: http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/ ?10:36
hateballhuwjr: Is there something wrong with http://www.ubuntu.com/download/server ?10:37
huwjrit’s all scripted on my hypervisor10:41
hateballGrab it from cdimages then10:41
=== zbclolar2_ is now known as louisdk
=== ToneKnee_ is now known as ToneKnee
rodlogicGreat, Xenial EC2 images are now available ...16:00
codepython777can anyone help me create a wifi hotspot using commandline? (on ubuntu 14.04)16:41
robb_nlcodepython777, try to search on hostapd16:43
robb_nlhttp://dothisbest.com/how-to/turn-linux-machine-wifi-access-point/16:44
hallynsmb: arges: sarnold: thoughts on switching the libvirt admin group (libvirtd) to being libvirt as in debian?17:02
hallynwe could just through 18.04 have both entries with same group number in /etc/group ?17:02
hallyn(for upgrades only of course)17:02
argeshallyn: if we are going to change it probably better earlier than later17:06
smbhallyn, without much time to think about it: moving towards same name as debian sounds like something we want to do. having two groups with the same id sounds rather evil. I'd tend to more like a rename in post-inst. just as a feeling17:06
hallynevil?  bah17:06
hallyni don't see the problem :)17:07
hallynsarnold: ^ is such a thing known to have ever caused a subtle security issue?17:07
hallynwell i'll start by doing it and if we find a better way we can switch - it'll be weeks before i'm ready to merge this i bet17:12
LostSoulHello17:17
LostSoulI've met this strange issue with LXC. Suddenly my ubuntu started to fill swap to 100% and then kill some processes on Containers, but there was like 20-30GB free RAM memory17:19
LostSoulI changed swappiness to 10 from 60, and same stuff happened, have somebody faced such issue?17:19
bekksLostSoul: Changing swappiness from 10 to 60 causes exactly that. "Start swapping at 60% free RAM".17:30
bekksLostSoul: And with an unmodified vm.oom_killer setting, the system will randomly start killing process, instead of killing the process causing the memory overallocation.17:30
bekksLostSoul: On my servers, I'm settings swappiness to 1, and vm.oom_kill_allocating_task=117:36
LostSoulNo, no bekks17:44
LostSoulI changed from 60 to 1017:44
LostSoulAnd I changed it after this swap losing17:44
LostSoulBut it didn't help17:44
LostSoulI tried to use lxc groups on memory and swap but it caused killing apps on containers17:45
RoyKLostSoul: pastebin output of 'free', please17:45
bekksLostSoul: "No" to which aspect?17:46
RoyKbekks: 19:44 <        LostSoul > I changed from 60 to 1017:46
LostSoulNow it unmounted swap but sure17:47
LostSoulGive me second I will try to reproduce it17:47
RoyKLostSoul: if swap is 100% full, it usually means you're out of memory17:47
RoyKthat simple17:47
LostSoulRoyK: Thing is Swap is full, but I still have 15-20GB of memory..17:49
RoyKLostSoul: pastebin output of "free", please17:49
alkisgDo lxc containers have access to the whole memory by default, or is there a soft limit for them?17:49
bekksLostSoul: Swap isnt even mounted.17:49
LostSoulhttp://paste.ubuntu.com/16110286/17:52
LostSoulalexisb: Whole17:52
RoyKLostSoul: is that on the guest or the host?17:52
LostSoulHost17:52
RoyKwhat about the guest?17:52
LostSoulI don't know how to limit it but once I limited lxc cgroups for mem and swap I got it killed17:53
RoyK'free' on the guest?17:53
LostSoulI've got like 40-50 guests, I will past one, is that fine?17:53
bekksLostSoul: Then your limit is too low.17:53
hallynsmb: is libvirt-migrate-xend-managed-domains.1 still needed as of 16.04 ?17:53
RoyKLostSoul: start with one17:54
LostSoulhttp://paste.ubuntu.com/16110596/17:54
LostSoulIt was working like a charm17:54
LostSoulBut since yesterday its not working17:54
bekksSo what did you change since yesterday?17:55
LostSoulI mean once swap is on, its going crazy17:55
bekksAnd I told you why.17:55
LostSoulI didn't change anything - here is the thing17:55
LostSoulon containers there are FFs that does some tests, it is possible something changed on site/service and FF got memory leaks?17:56
LostSoulBut on the other hand how it that possible that when i turned off swap (swapoff -a) it work like a charm?17:56
bekksLostSoul: How about implementing the solution proposed instead? :)17:56
LostSoulWhat could gone wrong?17:56
LostSoulWhat solution bekks? :)17:56
bekksI told you what to do :)17:57
LostSoulIncrease limits?17:57
bekksNo.17:57
LostSoulBut how and where should I check them?17:57
LostSoulI didn't change anything17:57
RoyKfor host in host1 host2 host3 ... ; do echo ===== $host ==== ; ssh $host free ; done17:58
RoyKsomething like that - to show available memory for all hosts17:58
bekks"0428 194424 < LostSoul> I changed from 60 to 10".17:58
RoyKand perhaps setup munin or something to monitor your system17:58
LostSoulbekks: I changed from 60 to 10 AFTER it happened17:58
bekksAnd fixing swappiness, and the OOM killer behaviout.17:58
LostSoulBut it didn't solve the problem17:58
bekksOf course it doesnt. I told you why.17:58
RoyKmunin isn't the most flashy of things, but it works well17:59
RoyKand it's very easy to setup17:59
LostSoulOk bekks, but I still don't get it17:59
RoyKespecially if you have something like ansible to do the job17:59
bekksLostSoul: you dont get what exactly?17:59
RoyKLostSoul: do you have any monitoring of these machines?17:59
LostSoulIf swappiness 10 means "start swapping when you reach 10% of free RAM" then I should have full swap when I have 20-25GB of free RAM :O18:00
bekksLostSoul: Did you even _activate_ that setting, too?18:00
RoyKLostSoul: what does 'sysctl vm.swappiness' have to say?18:00
RoyKanyway - a full swap shouldn't trigger OOM if there's free memory18:00
LostSoulvm.swappiness = 1018:01
RoyKgood18:01
RoyKLostSoul: do you have any monitoring?18:01
bekksAnd whats the output of sysctl vm.oom_kill_allocating_task ?18:01
LostSoulYeah, our internal stuff18:01
RoyKwhat sorts?18:02
LostSoulbekks: vm.oom_kill_allocating_task = 018:02
bekksLostSoul: Thats why tasks are killed randomly.18:02
LostSoulI'm not even sure it was killed randomly or it started to be overloaded18:02
RoyKbekks: not quite sure why OOM should step in at all when there's free memory - and lots of it18:03
bekksIt was overloaded and therefore started to kill randomly.18:03
LostSoulI faced ooem killer after cgroups, but what happened in grid I can't say for sure18:03
LostSoulI would say 2 tests were crashing FF and it got memory leak, on the other hand I don't get why swap was getting fully loaded18:03
bekksRoyK: In case just one of the process tried to allocate more RAM than was available, the OOM killer started to kill random processes, killed another even bigger process - and you'll have what we can see in the paste.18:04
LostSoulStrange but not it doesn't moving18:04
LostSoulbekks: So do you advice to use vm.oom_kill_allocating_task = 1?18:04
bekksLostSoul: For the fourth time, yes.18:04
RoyKLostSoul: sounds like a good idea18:04
sarnoldhallyn,smb,arges, changing the name to match debian makes sense, but .. devil's advocate here, 16.04 lts is already out the door. would it make more sense to change debian? two groups with one id shouldn't be a security issue but it could be seriously confusing to humans.18:05
LostSoulbekks, RoyK: Thanks guys18:05
LostSoulSorry it's hard for me to show whole story18:05
LostSoulIf it happens again I will ping you both, if you don't mind18:05
LostSoulMaybe I need to give bigger introduction18:06
bekksLostSoul: Ping the guys monitoring your servers, first :)18:06
RoyKLostSoul: or setup something like munin :P18:06
RoyKLostSoul: so you can see it all yourself18:06
LostSoulI can try Munin18:07
RoyKLostSoul: maybe zabbix is a bit better for some things, but it's way harder to learn18:07
LostSoulLet me check what's that18:07
bekksOr Nagios, or check_mk, or or or :)18:07
RoyKet cetera et cetera ad infinitum18:07
RoyKLostSoul: just start with munin - it's easy to setup and it gives you those nice graphs18:08
RoyKand perhaps limit the amount of memory per guest to something that should be decent18:09
RoyKdepending on the guest's need, of course18:09
RoyKa small webserver won't need much - the host is doing the caching anyway18:10
LostSoulYeah, I see that swap went to 0 since yestarday morning18:12
sarnoldthere's entirely too many monitoring choices :)18:12
LostSoul:P18:13
bekksLostSoul: Whats the outcome of "cat /proc/swaps"?18:13
hallynsarnold: i don't see changing it in debian as an option.  i suppose i could ask, but...18:13
sarnoldi've gone around in circles dozens of times trying to find The One to use but each tool has its adherants, and somehow all the other tools are missing that one feature that they need..18:13
sarnoldhallyn: alright. I just had to ask.. I had the impression we were leading debian on libvirt..18:13
LostSoulbekks: http://paste.ubuntu.com/16113080/18:14
RoyKsarnold: we (at hioa.no) have been through the "which monitoring system to use" for years, and we are stearing towards zabbix18:14
LostSoulNow it seems stable and not moving. I think it was one test that due to FF killed it. I proceeded with lxc cgroups mem limits and I killed it in other way so it seems like 1 big problem but I cause 218:14
hallynsarnold: a year or two ago we might have been able to.  well i'll look at the history and see.18:15
hallynthx18:15
LostSoulTHanks guys :)18:16
RoyKLostSoul: if you want better isolation between the guests, kvm might be an option18:17
bekksOr a L1 hypervisor.18:17
LostSoulOu hell18:18
LostSoulI found it was this one test18:18
LostSoulIt killed 35G of memory - do you belive it? :O18:18
RoyKbekks: /me can18:18
LostSoulDo you remember first host free -m ?18:18
sarnoldRoyK: thanks :)18:18
LostSoulCheck this one after 1minute of FF hanging18:19
RoyKbekks: what do you mean? xen? esxi?18:19
bekksRoyK: Yeah.18:19
RoyKwhy not kvm?18:19
RoyKshould do just as well18:19
LostSoulhttp://paste.ubuntu.com/16113830/18:20
LostSoulCheck this after 30-60 second member was going down with the leak I guess18:20
RoyKstill 50 gigs of buffers18:20
bekksRoyK: I started to dislike a couple of years ago when it gave me issues which did not exist in other hypervisors.18:20
RoyKLostSoul: seriously - don't let a single guest use all your memory - it's *not* a good idea18:20
RoyKbekks: like what?18:21
LostSoulI forgot to tell you guys:18:21
* RoyK is curious18:21
LostSoultmpfs                                  50G   40G   11G  79% /var/lib/lxc18:21
bekksRoyK: Issues with sharing disks between vms, a missing graphical interface (a few years ago), isses with networking, and stuff like that.18:22
LostSoulThanks18:22
LostSoulI now have idea to limit it to 3G18:22
bekksLostSoul: To limit what exactly?18:22
RoyKbekks: what sort of sharing between guests?18:22
RoyKbekks: cluster filsystems?18:22
LostSoulbekks: Mem on single container18:22
bekksRoyK: One disk, multiple guests accessing it. Cluster filesystems (active-active cluster) or just being able to use the same disk (active-passive).18:23
RoyKwhich fs?18:23
bekksRoyK: vxfs.18:24
RoyKerm...18:24
RoyKiirc that's not native on linux18:24
RoyKseems it iss18:25
RoyKseems it is18:25
bekksIts a 3rd party product. And that product runs on Linux, quite well. :)18:25
RoyKI've been using GFS2 for something like this18:25
RoyKworked ok, although it was only a pilot setup18:26
leitaojgrimm, Hello. quick question, do you know when docker 1.11 will make 16.04?18:28
jgrimmleitao, we are targetting 1.11.118:29
jgrimmso goal within 2 weeks of that.  general feeling is to let 1.11 settle a bit18:29
=== mohammad is now known as linuxlove
linuxlovehello18:30
leitaojgrimm, good. That is what I need. Thank you!18:31
jgrimmleitao, np18:31
linuxlovei am on a server with dynamic ip i configured my domain names with ddclient to work with dynamic ips i need to configure apache to redirect difference domains to difference directories how can i do that ?18:34
bekksThe same way as with static ips. Use virtual hostnames.18:35
linuxlovebekks, you mean i need to add <VirtualHost *:80>18:37
linuxlove    DocumentRoot "/www/example1"18:37
linuxlove    ServerName www.example.com18:37
linuxlove  18:37
linuxlove    # Other directives here18:37
linuxlove</VirtualHost>18:37
linuxlove<VirtualHost *:80>18:37
linuxlove    DocumentRoot "/www/example2"18:37
linuxlove    ServerName www.example.org18:37
linuxlove    # Other directives here18:37
linuxlove</VirtualHost>18:37
bekksignore set.18:37
bekksUse a pastebin next time.18:37
linuxlovemy domains are dahliaco.com18:37
linuxloveand khoonehbazar.com18:37
linuxlovebekks, i need to replace my domains with www.example.com ?18:40
RoyK!pastebin | linuxlove18:40
ubottulinuxlove: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:40
nacclinuxlove: i think this gives many good examples: https://httpd.apache.org/docs/current/vhosts/examples.html18:41
caliculkJust curious, but what agent based inventory management system do you use to monitor serial numbers for all hardware installed on servers? Whether it is a paid for solution or open source. Currently in the market to try and find one, but having some difficulties finding a good one.18:42
linuxlovenacc, while i dont have static ip i should use <VirtualHost *:80>?18:42
linuxlovenacc, and add it to /etc/apache2/apache2.conf ?18:43
nacclinuxlove: i'm not sure what static or dynamic IP has to do with this?18:43
bekksActually nothing.18:44
sarnoldcaliculk: i've never heard of such a tool in anything except terrible tivoli-style tools..18:44
sarnoldcaliculk: if it were my problem i'd probably try to script up something with ssh hostname lshw ... :)18:44
caliculkSo you don't use any inventory management solution for enterprise business?18:44
bekkscaliculk: Our agent-based inventory system for serial numbers is called Jeff, Harry and Steve.18:44
linuxlovebekks, does it work for dynamic ip <VirtualHost *:80>?18:45
caliculkHm, yeah, at the rate that we are expanding our datacenter, Jeff, Harry and Steve are going to have a rough time.18:45
bekkscaliculk: Serial numbers are inventorized prior roll-out of the device to the customer.18:45
bekkscaliculk: We have no need for such an agent-based system.18:45
sarnoldcaliculk: never had to care :) hehe18:45
sarnoldcaliculk: -maybe- landscape has some "machine information" page that would suffice?18:45
linuxlovebekks, ?18:46
bekkscaliculk: For a on-demand scan, we have out own tool, which is able to "scan" various operating system. etc.18:46
caliculklinuxlove it looks like he put you on ignore, since you spammed the shit out of the channel. He can't see your messages.18:47
caliculkbekks, most of the on-demand scan tools I saw are unable to pull serial numbers from devices. At least, from what I searched.18:47
bekkscaliculk: Our tool is.18:47
caliculkI am guessing you created the tool?18:48
caliculk;)18:48
caliculkOr it's inhouse18:48
bekksA colleague of mine created it, and it fits out use case exactly.18:49
bekks*our18:49
bekksFor us, it turned out that there actually is no such system out there which grabs all the information we need.18:50
randymarsh9hello18:51
randymarsh9can somebody explain the difference between exporting and copying?18:52
randymarsh9i feel like they mean the same thing18:52
bekksexporting what? Copying what?18:52
randymarsh9bekks: any file type18:52
naccrandymarsh9: there was zero context, your question means very little on its own; i don't even know what "exporting a file type" would mean18:53
sarnoldrandymarsh9: are you referring to terms on a document? what url?18:53
bekksOr "copying a file type".18:53
randymarsh9exporting a file type, be it a csv, pst, database18:55
randymarsh9how is that different than copying?18:55
bekksExporting it from which program?18:55
randymarsh9bekks: are you implying that exprorting something has a different context depending on the program in question18:56
randymarsh9?18:56
bekksAre you finally starting to give us some valuable context?18:56
nacc"exporting" is not a generic UNIX term, except for possibly enviornment variables18:56
naccrandymarsh9: please start from the beginning and clearly state what you are trying to do and what your confusion is?18:57
randymarsh9i'm not asking for clarification on one specific scenario18:57
naccrandymarsh9: "copying" and "exporting" don't have generic meanings relative to "file types"18:57
randymarsh9nacc: they don't?18:58
bekksNo, they dont.18:58
linuxlovenacc, could you take a look at http://pastebin.com/Vsi0XBhS18:58
bekks"copying" and "exporting" have different meanings for almost every use case.18:58
nacclinuxlove: that is a listing of a directory.18:58
bekksAnd totally different implementations, as well.18:58
naccrandymarsh9: are you reading some website or document? can you, as sarnold said, provide a link so we have more context?18:59
naccrandymarsh9: or what is prompting this question?18:59
linuxlovenacc, should i add my domains dahliaco.com and khoonehbazar.it to that directory18:59
linuxlovenacc, please see this also http://pastebin.com/YUq4UHmU19:00
nacclinuxlove: I don't know. I don't configure web servers myself. I believe you should just need to add VirtualHost definitions, as I referred to in the previous URL.19:00
randymarsh9sorry but you are both wrong19:02
bekksrandymarsh9: How can we be wrong when you havent provided any context yet?19:03
randymarsh9beacuse the words don't differ in meaning depending on context19:03
bekksThey do.19:03
bekksThis isnt about grammar, this is about technical facts.19:03
randymarsh9copying means 1:1 duplicate of file; exporting means copying the file into another format19:04
sarnoldrandymarsh9: feel free to read all the manpages returned by "man -k export" and "man -k copy" to understand then :)19:04
randymarsh9that's all i was asking, sheesh19:04
bekksrandymarsh9: Your question already had been answered and we were told we are wrong.19:04
randymarsh9"can somebody explain the difference between exporting and copying"19:05
LostSoulbekks, RoyK: Thanks guys again, you made it clearer for me and I found the problem :)19:05
randymarsh9seems like a straightforward question but apparently there is more to it than i thought19:05
LostSoulI'm out for now :)19:05
linuxlovesudo echo "127.0.0.1  dahliaco.com" >> /etc/hosts19:06
bekksrandymarsh9: There is no generic answer since it depends on the CONTEXT.19:06
linuxlovewhat can i replace with 127.0.0.1 while i am using a dynamic ip ?19:06
bekksLostSoul: And what was/is the problem?19:06
randymarsh9bekks: give me one example where those things mean something different depending on context19:06
ogra_well, one could probably say that copying always creates a duplicate while exporting always involves some kind of conversion ...19:06
bekksrandymarsh9: Environment variables, databases, text files.19:07
sarnoldrandymarsh9: "export" in the sense of "change format" comes from e.g. gimp's File|Export menu.19:07
ogra_(if it is just about the meanings of the words)19:07
bekksogra_: Which is not true. Exporting often involves copying stuff too, AND converting it.19:07
sarnoldrandymarsh9: "export" in the sense of "make available over the network" comes from e.g. NFS exports.19:07
ogra_bekks, and i didnt say exporting doesnt involve copying ... just that there is always some conversion involved ;)19:08
sarnoldrandymarsh9: "export" in the sense of "make available to another process" comes from shell environment management19:08
bekksogra_: :P19:08
ogra_:)19:08
sarnoldrandymarsh9: "export" in the sense of "make available to foreign nationals" comes from putting a file on a website -- I hope you've filed for your cryptography export license when you do that :)19:08
axisysanyone know how to get around it? I cannot have hpacucli to add a logical disk19:08
axisyshttp://dpaste.com/07R6FB819:08
naccrandymarsh9: keep in mind, what happened was you asked a question which, to me, lacked context. It doesn't help to get mad at me or anyone else if that's how it comes across. We are trying to help, but need information in order to do so.19:09
axisyshttp://dpaste.com/2W8JJGV <--  more detail19:09
bekksaxisys: The message you get is VERY clear.19:09
bekksaxisys: "Reason: Max array count reached". You cannot add more disks to that array.19:10
linuxlovesudo echo "127.0.0.1  laravel.example.com" >> /etc/hosts19:10
linuxlovedahliaco.com19:10
axisysbekks: I never said place in that array.. I was hoping it will create a new array19:10
linuxloveand what should i replace with 127.0.0.119:10
axisysbekks: may be I am missing a command?19:10
randymarsh9nacc: thanks but you really shouldn't be asking for context when someone asks a straightforward question like that19:10
linuxlovewhile my ip is dynamic ?19:11
bekksaxisys: Well, in that context, it means: "you cannot create any more arrays".19:11
bekksrandymarsh9: Your question wasnt straightforwards as several people told you, meanwhile.19:11
axisysbekks: hmm .. this HP has 8 slots.. my goal is to create single disk LUNs and then use software raid. not sure how to achieve that19:12
randymarsh9bekks: yes i read your response and all three of those copying and exporting would mean the exact same thing19:12
axisysdl360p gen819:12
sarnoldlinuxlove: (a) sudo and echo don't work that way (b) that's a terrible idea. feel free to stop reading whatever guide told you to do that.19:12
bekksrandymarsh9: No, they wouldnt. If you thing they do, you havent understood the techniques and context they are used in.19:12
bekks*think19:12
bekksrandymarsh9: And your problem of understanding that will not be solved by insisting on "I am right and you are not" from your point of view.19:13
bekks-that19:13
randymarsh9same could be said to you tbh19:14
naccrandymarsh9: for instance, "exporting a text file" is, IMO, nonsense. It has, again IMO, zero meaning -- unless you specify *how* you are exporting. That's what I meant by context.19:14
bekksrandymarsh9: You could, if you would know the differences stated above - which you dont.19:14
naccrandymarsh9: I really don't think your question was "straightforward" and not because it was a bad question, but because I quite literally did not understand (and still don't) what you are asking19:15
bekksnacc: He is trying to convince us that "copy" and "export" is always the same, literally.19:15
randymarsh9"can somebody explain the difference between exporting and copying"19:15
randymarsh9bekks: yes, +1 on your reading comrehension skills19:16
randymarsh9no wonder you were the first to ask for context19:16
bekksrandymarsh9: Thank you. I really appreciate your compliment.19:16
naccok, calm down everybody; we're all trying to help and be understood19:18
nacc:)19:18
bekksI'm just happy about that compliment :)19:18
naccrandymarsh9: ok, can you, even if you don't think you should have to, explain why you are asking that question?19:18
randymarsh9nacc: already figured it out, ty19:20
naccrandymarsh9: ok19:20
axisysbekks: so I guess I need remove the disk from array B and then create a new raid1 LD with two new disks.. and then add the removed disk to array A logical drive with same size?19:31
bekksaxisys: ???19:32
bekksaxisys: you have 8 slots, and 8 disks. You want 8 single disks in your OS, correct?19:32
axisysI probably need to backup.. but theoretically adding a disk to the logical drive would not erase data .. correct? here is the current setup19:33
axisyshttp://dpaste.com/011DM7R19:33
axisysi have 8 slots.. but only two disk are in production and software raid.. just inserted two new 1TB disks there19:34
bekksaxisys: And you want to add one new disk to A, and one new disk to B?19:34
axisysbekks: I cant add a 1TB to a 300GB disk19:34
bekksWhy are you using software raid when having a hardware raid controller?!19:34
sarnoldwhy aren't you using zfs? :)19:34
bekksaxisys: I am asking what you WANT to do.19:34
axisysbekks: I want to add 1TB raid1 datadisk19:34
bekksaxisys: So you want a third array, RAID1, right?19:35
axisysbekks: I bought two 1TB disks for that ... it had only two 300GB physical disks until today ..19:35
bekksaxisys: So you want a third array, RAID1, right?19:35
axisysbekks: no, I have raid1 off of the 300G disk.. I want to add a second raid1 1TB19:36
bekksaxisys: No. You have - on your raid controller - TWO arrays, RAID0, with ONE disk each.19:36
bekksaxisys: And you want to add a THIRD array, RAID1, 1TB.19:37
bekksaxisys: That can be seen in you pastebin.19:37
axisysbekks: third array.. correct19:37
axisyshttp://dpaste.com/0FVZWZT19:37
axisysbekks: since this stupid raid controller cannot have more than 2 arrays.. I cannot have a 3rd array19:38
bekksaxisys: the P420i can have up to 24 arrays.19:38
axisysbekks: seriously.. so why am I getting the max array error ?19:38
bekksaxisys: Which hpacucli command are you using for adding your array?19:38
axisysbekks: I only ran this command when got the error.. I must not be using right command19:39
axisyshpacucli controller slot=0 create type=ld drives=2I:1:5 raid=019:39
axisysbekks: ^19:39
* ogra_ notes that hpacucli sounds like some aztec city ... 19:39
bekksaxisys: Erm, you are trying to create a single disk raid0, not a two disk raid1.19:40
axisysbekks: yes.19:40
bekksaxisys: you should make up your mind what you want to do, first.19:40
bekks0428 213709 < bekks> axisys: And you want to add a THIRD array, RAID1, 1TB.19:40
axisysbekks: I just found out about 24 arrays.. I thought it could not do that19:40
bekks0428 213727 < axisys> bekks: third array.. correct19:40
bekksDo you want that 1TB raid1 being a software raid or a hardware raid?19:41
axisysbekks: I want two more single disk arrays, now that I found out it can have 2419:41
axisyssoftware raid19:41
axisyssoftware radi119:41
axisysI want to provision them as single disk lun19:41
bekksWhy, when having a HARDWARE raid controller?19:41
axisysI prefer software raid...19:41
bekksCan you then unplug the controller and send it to me, please? :P19:41
axisysbekks: I would love to... hehe19:42
bekksOr USE it, as a hardware raid controller.19:42
axisysbekks: I even requested jbod.. but still got a stupid raid controller..19:42
bekksThe P420i isnt stupid at all :)19:42
axisysbekks: oh well, I was hoping you would show me how to provison a new array19:42
axisyssingle disk arrays19:43
axisysso far did not find anything in google on how to create a new array19:43
bekksHP has a wonderful documentation on hpacucli19:44
axisysthis does not show how to create an array..19:47
axisyshttp://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=341566&docId=emr_na-c03493210&docLocale=en_US19:47
axisyshpacucli controller slot=0 create type=ld drives=2I:1:5 raid=0  <-- where do I say array C ? since array A and B already there19:48
bekksaxisys: "create" tells the controller to create a new array.19:48
axisysbekks: but it did not work for me.. http://dpaste.com/07R6FB819:49
hallynsarnold: yeah, according to the git tree debian has been using 'libvirt' group since 2008.19:56
sarnoldhallyn: hah. that's some history :)19:57
rstarmerHello, I'm trying out the conjure-up openstack install (introduced by both the Canonical folks on the OpenStack summit floor, and the excellent, if short LXD OpenStack demo), and it appears that there's one pre-check missing.  I hadn't created a local ssh keypair, and the install failed due to an inability to find ~/.ssh/id_rsa.  Has anyone else seen this?20:14
rstarmerAnd a second build creates a failure "Expecting value: line 1 column 1 (char 0)"  Not a particularly useful error that one :(20:15
axisysbekks: may be we have to purchase a license to allow more arrays?20:16
axisysbekks: I see this in help20:16
axisys => help add20:16
axisys controller slot=5 add licensekey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX20:16
=== afkthairus is now known as athairus
naccany samba folks know if https://bugzilla.samba.org/show_bug.cgi?id=11822 is going to be backported? seen a few requests in #ubuntu over the past few days21:17
ubottubugzilla.samba.org bug 11822 in libsmbclient "source3/libsmb/clilist.c reads short name length as 2 bytes, instead of 1 byte plus reserved." [Normal,Resolved: fixed]21:17
rstarmerso conjure-up seems to have a network model requirement that isn't documented.  the last error I saw before I once again got a  "Expecting value: line 1 column 1 (char 0)" failure was "Neutron can not create an external router"21:45
rstarmeram I supposed to have an extra interface, or pre-created br-ex or similar?21:45
sarnoldnacc: any ubuntu bugs about it yet? any cves?21:46
naccsarnold: no, i was asking the two folks about it in #ubuntu, but no response from them21:46
naccsarnold: as to whether they filed a bug21:46
nacci dont't think it's a CVE, but it's easy to hit with windows 10?21:47
naccnot sure21:47
naccbasically `smbclient ls` not working21:47
bekksIt isnt expected to work :)21:48
naccheh21:48
naccbekks: i don't know much about samba, just paraphrasing the bug21:48
jetskiI came across the conjure-up project today, has anyone had luck using the lxd-nova feature?22:16
rstarmerjetski: I've failed every try, I think there's a network config assumption that breaks the deployment22:39
rstarmerI also ran into an issue with not having had a public/private key defined initally, but that was easier to deal with first go round22:40
jetskirstarmer: interesting...I didn't know about needing a priv/pub key beforehand. My initial attempts have stalled early at "waiting for Keystone". I am looking thru logs now for other clues.22:43
eatingthenightHello, anyone here using KVM? I have used ESXi in the past but got my hands on a few nice servers for my house and don't feel like paying for a license for personal use. KVM looks good but was wondering if it allows for stuff like cluster nodes together so i can control resource provisioning from one central location.23:09
eatingthenightCan't find much info outside the vanilla setup docs23:09
caliculkHm, actually, I have a bit of a problem: E: Can't find a source to download version '1.0.2g-1ubuntu4' of 'libssl1.0.0:amd64'23:10
caliculkRight now the package is set to pi23:10
caliculkpackage status*23:11
genii!info libssl23:15
ubottuPackage libssl does not exist in xenial23:15
jetskiyea i use kvm23:15
genii!info libssl1.0.023:15
ubottulibssl1.0.0 (source: openssl): Secure Sockets Layer toolkit - shared libraries. In component main, is important. Version 1.0.2g-1ubuntu4 (xenial), package size 926 kB, installed size 3132 kB23:15
geniiHm, should be in main23:15
tewardgenii: um, it is?23:17
tewardIn component main23:17
jetskiyea as far as i know, you have to manage kvm nodes individually, or use an orchestrator like openstack23:20
geniiteward: So since main is enabled by default, the approach to caliculk's issue for me becomes: did they do sudo apt-get update? Is the archive in their sources.list file working properly otherwise? Is the ethernet connection actually working properly? .... etc :)23:21
eatingthenightjetski: aaa was just looking at openstack. I think i'll mess around with that :)23:24
jetskieatingthenight: openstack is a complex beast, I've only had luck getting a fully functional system following this guide: http://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html23:26
jetskiim interested to hear if anyone else has a dead simple deploy method for openstack23:27
eatingthenightwould be nice if they had an ESXi like installer23:28
eatingthenightbut free software rarely does :>23:28
jetskilike i mentioned earlier, I came across this slick openstack installer for the new xenial64 ubuntu release at http://conjure-up.io , but haven't got it working yet. It's deploy method, JuJu 2.0 looks really impressive, though23:32
sarnoldhave you tried this yet? http://www.ubuntu.com/cloud/openstack/autopilot23:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!