/srv/irclogs.ubuntu.com/2017/05/09/#ubuntu-server.txt

=== KaeltenAway is now known as Kaelten
nacccyphermox: smoser: doing the open-iscsi merge, how much do you want to keep in d/changelog from the tests churn?00:07
naccthere's ... a lot :)00:07
cyphermoxnacc: if the tests in general are a delta, i would just mention the test, not each individual change to it00:54
nacccyphermox: yeah, i'm trying to consolidate it00:55
nacccyphermox: http://paste.ubuntu.com/24539999/ is still pretty verbose, but it does encapsulate i think what the tests are doing and why they are quirky00:55
nacccyphermox: i'm happy to trim it all the way down to just "add Ubuntu autopkgtests" but then developers have to go down into the history to see all that was added00:55
nacccyphermox: let me know if you'd like it changed, i'm running the tests now locally after the merge, if they pass i'm ready to upload01:06
nacccyphermox: smoser: why is 2 seconds used as the delay in test-open-iscsi::test_daemon?02:22
naccthat test failed on my lappy, but logging into the kvm instance, iscsid is running02:22
nacctest_tgt_boot also failed, but i'm guessing it's because of:02:23
naccqemu-system-x86_64: /build/qemu-GnDgkf/qemu-2.8+dfsg/target-i386/kvm.c:1805: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed02:23
naccwill debug both tmrw02:24
chatter29hey guys03:45
chatter29allah is doing03:45
chatter29sun is not doing allah is doing03:46
chatter29to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger03:46
cpaelzergood morning05:33
cpaelzernacc: yeah today is fine for the merges, get in touch with me when you are around05:39
cpaelzernacc: looking at the calendar I guess we start with some shared meetings anyway05:39
lordievaderGood morning07:46
TafThorneGood morning.08:04
cpaelzerhi lordievader and TafThorne08:09
TafThorneI have done a poor job of getting through SRU testing on https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1630516 but I will try and push forward with it either at lunchtime (in about 3 hours time) or at the end of the day (9 hours time).  I have got the linux container stuff installed and ready to roll at least.  It will all be good practise for me.08:12
ubottuLaunchpad bug 1630516 in One Hundred Papercuts "Logrotate doesn't clean old system logs, allowing them to fill the disk" [Critical,Triaged]08:12
cpaelzerThanks TafThorne, I was almost about to ask08:12
cpaelzerbut not for a poor job , really you are well within the average still and actually beating it on several metrics08:13
TafThornePlease do bug me about it.08:13
cpaelzerso heads up08:13
TafThorneI'll add myself a task in outlook to remind me too.08:13
lordievaderHey TafThorne, cpaelzer08:14
LarsErikPhello! anyone maintaining here the ubuntu cloud archive ppa? or know where I can find them? :10:59
LarsErikP^ wow those words came out in a weird order....10:59
cpaelzerLarsErikP: I still know who you want to ping11:03
cpaelzerjamespage: beisner_: coreycb: ^^11:03
cpaelzerLarsErikP: but just in case may I try to help in any way?11:03
cpaelzerwe can still give up if it is really that UCA ppa special11:03
cpaelzeralso that way the others will find what things are about when they read the backlog11:04
LarsErikPcpaelzer: thanks! just a simple question really. Do you know when neutron 9.3.0 will be available in the newton/xenial uca ppa?11:05
cpaelzerLarsErikP: and about where to find them, just go https://launchpad.net/cloud-archive in case no one is around11:05
cpaelzerLarsErikP: that I must admit I don't know, but back to my former statement now those who know can answer you anytime later they come by11:06
LarsErikPgreat :) thanks! specifically I need it because of this bug: https://bugs.launchpad.net/neutron/+bug/157012211:06
ubottuLaunchpad bug 1570122 in neutron "ipv6 prefix delegated subnets are not accessable external of the router they are attached." [High,Fix released]11:06
cpaelzerLarsErikP: for your last question on that bug the bug should get a different bug task11:08
cpaelzerLarsErikP: it currently is against upstream neurton only11:09
cpaelzerLarsErikP: I added the tasks there for you11:11
LarsErikPooh11:11
LarsErikPThanks! :D11:11
ezethnesthrownI'm currently creating a Samba + LDAP server. But right now I can't access my server at all. What are the things that I should checklist? Or could you guide me to some forum for the same problem or something?12:25
ezethnesthrownI'm trying to connect to the server from a Windows client12:25
hateballconnecting what? samba?12:26
hateballhttp? telnet?12:27
TafThorneAre you trying to get the Windows client to join the Samba hosted domain or are you trying to get onto the CLI of the Samba + LDAP server?12:28
ezethnesthrownhateball: TafThorne: In order to access the directory of the Samba, I need to access the Server Machine first, correct?12:31
TafThorneezethnesthrown: That sounds likely.  To access the filesystem which contains the configuration you would need to access the server over ssh, telnet or via physical access to the console.12:35
ezethnesthrownTafThorne: I don't think we're on the same page.12:36
ezethnesthrown**On Windows Client** //(SERVER_IP)/12:37
ezethnesthrownAccesses the server through Windows Client on Samba service in Server Machine12:37
ezethnesthrownI can ping to and fro Windows Client and Server. But I can't access it with [[ //(SERVER_IP)/ ]]12:38
Palm_premium@TaftThorne, how did you setup your samba share, using a graphical tool or did you edit the config file?12:40
Palm_premium@tafThorne, and could you post your config to pastebin?12:40
Palm_premium@tafThorne, also what Windows version are you running on the client?12:41
ezethnesthrownPalm_premium: Is that supposed to be directed to me?12:41
Palm_premium@ezethnesthrown, yes, my mistake12:43
ezethnesthrownPalm_premium: Alright. Windows Client, Windows 10. Server, Ubuntu Server 16.04.2 LTS12:45
ezethnesthrownPalm_premium: via editing the config file12:45
Ussatis samba running ?12:46
Palm_premiumezethnesthrown: and can you collect localy using the smbclient?12:46
Ussatdid you verify your config ?12:46
ezethnesthrownUssat: Samba is running. testparm returns no error]12:47
ezethnesthrownPalm_premium: What do you mean 'collect'?12:47
Ussatpastebin your config12:47
ezethnesthrownhttp://paste.ubuntu.com/24542693/12:48
Palm_premiumezethnesthrown: *connect12:48
Palm_premiumezethnesthrown: if you log in to the ubuntu server, can you connect to localhost using the smbclient12:48
Ussatook, well, screw that, gluck, youre useing ldap with it.....12:48
UssatThats a TON more complicated than we use....we just have a real simple config12:49
ezethnesthrownPalm_premium: In a moment12:50
rbasakahasenack: thank you for triaging (and testing) bug 1455818! I have some extra knowledge on that as I wrote both the bug and the fix in mysql-5.6, so I've gone one step further and marked it Invalid with a comment.12:50
ubottubug 1455818 in mysql-5.6 (Ubuntu) "[SRU] mysql-server-5.6.postrm fails when /usr/share/mysql-common/configure-symlinks doesn't exist" [High,Fix released] https://launchpad.net/bugs/145581812:50
rbasak"I know it's not that bug because I wrote the bug" :-)12:50
Palm_premiumezethnesthrown: what do the SMB logs say in /var/log/samba/* ?12:51
ahasenackgood deal12:51
Palm_premiumezethnesthrown: You'r using LDAP so you might also want to check /var/log/auth for authentication errors12:52
ezethnesthrownPalm_premium: /var/log/auth: no such file or directory12:53
ezethnesthrownPalm_premium: /var/log/samba/log.smbd http://paste.ubuntu.com/24542715/12:54
Palm_premiumezethnesthrown: Well thats a pretty clear error, there is an error connecting to the LDAP service. How did you setup the LDAP authentication?12:58
ezethnesthrownPalm_premium: I don't recall if there is any. I followed the guide at https://help.ubuntu.com/lts/serverguide/samba-ldap.html along at https://bugs.launchpad.net/serverguide/+bug/1579209 posted by heidou13:00
ubottuLaunchpad bug 1579209 in Ubuntu Server Guide "Samba and LDAP is completely out of date" [Undecided,Confirmed]13:00
ahasenackthat guide :/13:02
Palm_premiumezethnesthrown: is the ldap service runing on the same server as the SMB service?13:03
ezethnesthrownPalm_premium: Yes13:03
Palm_premiumezethnesthrown: were you able to setup a SMB user with the smbldap-useradd utility?13:05
ezethnesthrownPalm_premium: Without an error13:06
smosernacc, i'm not familiar with that test at all. i agree it doesn't look right.13:06
Palm_premiumezethnesthrown: something is baffeling me, you could connect localy to SMB using an ldap account? Can your windows machine connect to the ldap port?13:06
FilipNorticoen of my server disks just got remouted as read only cause of journal coruption13:08
FilipNorticone13:08
ezethnesthrownPalm_premium: I can't connect locally with the account I created with smbldap-useradd utility. I'm sorry, 'ldap port'?13:08
FilipNorticthere is only log and temp files on that disk but what can i do to restore it?13:09
FilipNorticEXT4-fs error (device vdb2): ext4_journal_check_start:56: Detected aborted journa13:10
Palm_premiumezethnesthrown: In that case can you post your smb.conf to pastebin?13:11
ezethnesthrownPalm_premium: http://paste.ubuntu.com/24542693/13:11
Palm_premiumezethnesthrown: I think i found it, check line 12413:12
Palm_premiumezethnesthrown: try changing that to "passdb backend = ldapsam:ldap://locahlhost"13:13
ezethnesthrownPalm_premium: I guess that's what happens when you follow blindly13:13
Palm_premiumezethnesthrown: Correction "passdb backend = ldapsam:ldap://localhost"13:14
ezethnesthrownPalm_premium: That probably solved another problem13:15
Palm_premiumezethnesthrown: I have had security aware customers that followed guides by digital ocean, I found out because  they wwere still using the default password :P13:15
Palm_premiumezethnesthrown: after restarting samba try connecting localy and then from the remote client13:15
s7rawman_hey all. I've got myself throughly confused. I've got a Ubuntu server running, 16.04.2 LTS. On this server I have 4 hdd, two I know to be mounted for sure, but a third should be mounted. This drive should up as mounted when I run lsblk. If a drive isn't mounted shouldn't I be unable to read the data off it(which I'm able to do). Here's the pastebin from the lsblk -o NAME, FSTYPE, SIZE, MOUNTPOINT, LABEL: http://paste.ubuntu.com/24542745/13:17
ezethnesthrownPalm_premium: Connection to 127.0.0.1 failed13:17
Palm_premiumezethnesthrown: could you check slapd is running and try to telnet to localhost port 63613:19
ezethnesthrownPalm_premium: slapd is up and running. telnet: could not resolve 127.0.0.1:636/telnet: No address associated with hostname13:21
Palm_premiumezethnesthrown: try "telnet localhost 636"13:22
ezethnesthrownUnable to connect to remote host: Connection refused13:22
ezethnesthrownPalm_premium: Unable to connect to remote host: Connection refused13:23
Palm_premiumcan you check if there is a firewall running?13:23
Palm_premiumezethnesthrown: see if there is an init script for the firewall and temprarily stop it and try to connect again.13:23
ezethnesthrownPalm_premium: That should be [[ /etc/init.d/ufw ]] right? Connection refused again13:26
Palm_premiumezethnesthrown: sudo ufw disable13:27
ezethnesthrownpalm13:27
ezethnesthrownPalm_premium: Connection refused13:27
Palm_premiumezethnesthrown: could your run "iptables -nL" and check if there are still rules being listed?13:28
ezethnesthrownPalm_premium: Everything's empty13:29
Palm_premiumezethnesthrown: could cou check with "netstat -tupan" that slapd is actually listening on port 636, also take note if it is ip4, ip6, or both13:29
ezethnesthrownPalm_premium: I'm not really sure how to read it so here http://paste.ubuntu.com/24542903/13:32
ezethnesthrownPalm_premium: So, it's listening on port 389?13:33
Palm_premiumezethnesthrown: it seems ldap is listening on port 389 instead. Could you try "telnet localhost 389"13:33
ezethnesthrownConnected13:33
ezethnesthrownPalm_premium: Conencted13:33
Palm_premiumezethnesthrown: Awesome13:33
Palm_premiumezethnesthrown: Let me check the smb config, one moment13:35
Palm_premiumezethnesthrown: Could you check what the current errors are in the samba logs when trying to connect?13:39
Palm_premiumezethnesthrown: I looked up some examples and the backend config should be okay13:39
ezethnesthrownPalm_premium: http://paste.ubuntu.com/24542939/13:42
Palm_premiumezethnesthrown: check the reply on this post https://lists.samba.org/archive/samba/2016-February/197834.html13:43
ezethnesthrownPalm_premium: Checking13:44
ezethnesthrownPalm_premium: command 'net getdomainsid' returns error14:03
ezethnesthrownPalm_premium: I added the 'ldapsam:trusted = yes \n ldapsam:editposix = yes'.14:05
ezethnesthrownPalm_premium: smbclient still cannot connect. Same error. NT_STATUS_CANT_ACCESS_DOMAIN_INFO14:07
Palm_premiumezethnesthrown: Did you also set the olcloglevel in the slapd config? It should start logging details to the /var/log/syslog.14:12
nacccpaelzer: ack, i'm online now14:14
naccsmoser: ok, agreed :)14:15
naccsmoser: new question, why in your ubuntu16 upload did you change the networking configuration?14:25
naccsmoser: it doesn't seem to be mentioned in the changelog14:25
cpaelzernacc: good morning14:26
cpaelzernacc: good morning14:26
cpaelzernacc: how about the half hour before IRC meeting?14:26
cpaelzernacc: there we can discuss anything on the merges as needed14:27
cpaelzernacc: in case you found the time to look at them more deeply14:27
cpaelzernacc: otherwise just merge them but feel free to review/comment afterwards still14:27
cpaelzernacc: as I said an ubuntu2 / next-merge is always possible14:27
cpaelzernacc: to some degree I want to upload before I go to bed today as I'm sprinting the rest of the week14:27
cpaelzernacc: too much open tasks aren't good14:28
smosernacc, more context14:30
ezethnesthrownPalm_premium: What should I look in '/var/log/syslog'?14:32
ezethnesthrownlook for*14:32
nacccpaelzer: ack, right after this meeting?14:36
naccsmoser: one sec, will pastebin14:36
naccsmoser: http://paste.ubuntu.com/24543155/14:37
cpaelzernacc: yeah right after the meeting14:37
naccsmoser: 10.0.2.3 -> 10.1.1.414:37
naccsmoser: default kvm networking (user) will be 10.0.2.3?14:37
naccsmoser: unless you also change how xkvm gets invoked i think14:38
naccsmoser: oh i see it's supppoed to override the kvm invocation14:42
Palm_pre1iumezethnesthrown: You can just use tail -f on the log and try connecting to the smb share, you should see a bunch of entries appear from the slapd daemon14:52
ezethnesthrownPalm_pre1ium: http://paste.ubuntu.com/24543240/14:57
Palm_pre1iumezethnesthrown: According to google that is username/password incorrect message15:01
ezethnesthrownPalm_pre1ium: It shows that when I restart smbd daemon15:02
ezethnesthrownPalm_pre1ium: Something wrong with samba configuration?15:02
Palm_pre1iumezethnesthrown: ezethnesthrown I think something might have gone wrong with setting up your ldap scheme15:05
Palm_pre1iumezethnesthrown: When you try to connect to smb there are no new log entries appearing?15:05
ezethnesthrownPalm_pre1ium: No15:05
Palm_pre1iumezethnesthrown: this is getting a bit out of my league, either the samba or SLAPD logs should tell you what is going on. Since the SLAPD logging is not showing anything I'd suggest cranking up the logging for the samba service.15:15
ezethnesthrownPalm_pre1ium: Is 10 a good idea?15:16
Palm_pre1iumezethnesthrown: what is the default setting? 3?15:18
Palm_pre1iumezethnesthrown: I would increment by 1 or 215:18
ezethnesthrownDefault is 1.15:18
Palm_pre1iumezethnesthrown: documentation stats above level 3 is debug information so id recommend starting with level 315:19
ezethnesthrownPalm_pre1ium: Cranked up to 8. Doesn't seem to change much from 315:23
cpaelzernacc: just stay in the HO after this15:27
nacccpaelzer: +115:27
Palm_pre1iumezethnesthrown: But does it tell us more about the problem?15:35
ezethnesthrownPalm_pre1ium: No15:36
Palm_pre1iumezethnesthrown: you did restart/reload smb?15:36
ezethnesthrownPalm_pre1ium: Yes. I did15:36
ezethnesthrownPalm_pre1ium: A long log. http://paste.ubuntu.com/24543373/15:37
Palm_pre1ium ezethnesthrown Reading from line 695 the first error is on line 840 Error: Invalid credentials15:41
ezethnesthrownPalm_pre1ium: I swear that's what I did everywhere else. 'cn=admin,dn=nodomain'15:46
Palm_pre1iumezethnesthrown: Just reading up on Google and I found a post which stats that a password is set for slapd during the configuration step off the package, however I have not seen any credentials in your samba config. Do you remember if you entered a passowrd?15:47
ezethnesthrownPalm_pre1ium: Password for samba?15:47
Palm_pre1iumYou could try to reconfigure slapd if it was installed from the repository using "sudo dpkg-reconfigure slapd"15:47
Palm_pre1iumezethnesthrown: no for SLAPD, it is protected with username and password.  Samba can't connect to SLAPD and therefore can try to log you on15:48
ezethnesthrownPalm_pre1ium: The only password I entered for slapd is when I was prompted during the installation15:49
Palm_pre1iumezethnesthrown: Thats the one you need, that will be an admin account and I expect you can create new users with that account or use that account in your samba config.15:52
ezethnesthrownPalm_pre1ium: Creating new users is not a problem15:53
Palm_pre1iumezethnesthrown: I need to go its the end of my shift and im going squashing :D15:54
ezethnesthrownPalm_pre1ium: Thank you a lot for your time15:54
Palm_pre1iumezethnesthrown: No problem!15:55
ahasenackPalm_premium: try "ldapwhoami -x -D cn=admin,dc=nodomain -W" and input the password you gave when you first installed the slapd package15:58
ahasenackrun that on the ldap server15:58
ezethnesthrownahasenack: Are you directing it to me actually?16:00
ahasenackops16:00
ahasenackezethnesthrown: yes, sorry16:00
ezethnesthrownahasenack: It prints out16:01
ezethnesthrownahasenack: dn:cn=admin,dc=nodomain16:01
ahasenackso that's your "bind dn", and you got the password correct16:01
ezethnesthrownahasenack: What should I do next?16:04
ahasenacksorry, I didn't follow your whole discussion, just saw that Palm_premium was wondering about whether your password was correct16:05
ezethnesthrownahasenack: Ah, it's alright. I'll probably restart all over from the beginning later16:06
greenmanspiritHas anyone used realmd to set up sssd with active directory? It keeps telling me that packages aren't installed even though I installed them.17:45
coreycbLarsErikP:  neutron 9.3.1 is awaiting sru review.  you can track it in bug 168855718:17
ubottubug 1688557 in nova (Ubuntu Yakkety) "[SRU] newton stable releases" [Undecided,New] https://launchpad.net/bugs/168855718:17
greenmanspiritI figured it out, packagekit wasn't installed and it isn't set as a dependency for realmd18:31
naccgreenmanspirit: maybe file a bug, seems important18:34
greenmanspiritnacc, I haven't filed an ubuntu bug before, launchpad, right?18:38
naccyeah18:39
nacc!bug | greenmanspirit18:39
ubottugreenmanspirit: If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.18:39
greenmanspiritthat is fantastic18:44
greenmanspiritthanks!18:44
naccgreenmanspirit: yw18:47
=== tanuki_ is now known as tanuki
keithzgHmm is there any easy way to see which connections to smbd are hogging bandwidth? The central fileserver at work right now is slooowwww, and nethogs shows it's smbd being hammered, but , I can't see an easy way to drill down into that21:54
ahasenackI don't have a samba server at hand now, but I vaguely remember an smbstatus command21:56
ahasenackthat maybe gives you port numbers, and then you can map that to the nethogs report21:56
ahasenackah, you will get machine ip in smbstatus definitely21:58
ahasenackand pid of the smbd process servicing a client21:58
* ahasenack -> EOD21:58
naccrbasak: fun, just a trivial `ln -s bin/usd bin/git-ubuntu` in the importer git tree just works :)23:13
naccdpb1: --^23:13
naccwill test it with the snap too after cleaning up documentation, etc.23:13
=== JanC is now known as Guest59098
=== JanC_ is now known as JanC
dpb1nacc: interested if it works in the snap. :)23:46
naccdpb1: i think it should, it's the same underlying logic (and git is in my snap)23:47
naccdpb1: but yeah, to test23:47

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