IRC log for #fredlug on 20110703

01:17.47*** join/#fredlug GGD (ad48cd02@gateway/web/freenode/ip.173.72.205.2)
01:18.10GGDfun fun times at the GGD ranch
01:18.39GGDhey plarsen
01:18.44GGDMoe__:
01:18.57plarsengreetings
01:19.15GGDfun fun times at the GGD ranch
01:19.16GGDplarsen:
01:20.00GGDi am trying to update my lappy ( the one paul "helped me with") from 13 to 14 and its hanging up
01:20.45GGDits says that there isn't enough room on the / directory
01:21.23GGDany thoughts?
01:23.29GGDi know there is room as i dumped alot of it off already
01:26.20GGDplarsen: ?
01:27.55plarsenGGD, need to be more specific here. Are you sure it's the / that's being complained about and not /boot; and how much space do you actually have? (do a df | fpaste)
01:28.40GGDhold on plarsen
01:29.35GGDplarsen: http://fpaste.org/30nT/
01:30.26plarsenbad paste
01:33.31GGDplarsen: http://fpaste.org/3OnT/
01:34.07plarsenGGD, your root is 100% full
01:35.45GGDi suppose that would do it then
01:36.41GGDthats odd though
01:37.00GGDis it that kvm thats causing it to be full?>
01:37.20plarsenGGD, du -sh /* | fpaste
01:37.32plarsenThat'll give you a summary of what part of the file system is getting full
01:38.02plarsendu -xs /* | fpaste
01:38.04plarsenSorry
01:38.08GGDplarsen: http://fpaste.org/c8cU/
01:38.25plarsenyou've got 42G in /kvm
01:38.31plarsenso yeah - it's well used ;)
01:38.45plarsenand 45G in /ar
01:38.47plarsenand 45G in /var
01:38.56GGDyea thats the one that was seperate from the home etc
01:39.04plarsenyour KVMs is on a separate file system
01:39.11plarsenSo /var is your issue
01:39.15GGDyea /kvm
01:39.46GGDwhat the heck is in var
01:39.49GGDthats causing that
01:40.16plarsenGGD, use du to help you find out what's take up the space
01:40.35plarsendu -hs /var/*
01:41.10GGDvar/lib =44gig
01:41.20GGDvar/cache = 1.6
01:41.24GGDgi
01:41.25GGDgig
01:41.34GGDwhat is in lib to load that up like that
01:41.45plarsenkeep on digging ;)
01:41.50plarsenGGD, du -hs /var/lib/*
01:41.53plarsenetc. etc. etc.
01:42.48GGDguess who it is
01:42.53GGDlib virt
01:43.36GGDimages
01:44.12GGDi thought that we moved all of them to that /kvm share
01:44.25GGDso we didn't have this issue
01:44.28plarsen"we" ??
01:44.29plarsen:D
01:44.39GGDwell
01:45.04GGDit was like midnight -1 am
01:45.04plarsenyou'll have to find out if you're even using these files. Maybe you forgot to move them and just copied them.
01:45.23GGDcould we move them over to that /kvm share?
01:45.47plarsenIf they're in use, you need to modify the qemu definitions
01:46.20GGDi don't think so
01:46.46plarsenIf they're not in use why keep them?
01:47.05GGDthe windows7 one i use
01:47.24GGDfor when i have to remote into the office
01:47.29plarsenGGD, go through your kvm machines and verify
01:48.01plarsenYou may or may not be using these specific files. The only way to know is to look at the virtual machines you have and where they keep their storage.
01:48.03GGDwhat should i be looking for?
01:48.17plarsenGGD, storage definitions
01:49.08GGDin the gui?
01:50.52GGDyea its on that path
01:50.59GGDthe /var/lib...
01:51.49plarsenIf the files are in use, then after you have moved the files you need to change the storage reference in the vm
01:52.06GGDok
01:52.42GGDso i do a mv /var/lib/libvirt/images /kvm/images ?
01:52.55plarsenIf that's where you put them yes.
01:53.09GGDok
01:53.12plarsenMake sure you check for selinux contexts (restorecon) etc. too
01:53.23plarsenIt may be easier to edit the location by simply editing /etc/libvirt/qemu/*
01:53.46plarsenAfter you have edited the files there, restart libvirtd and things should be working
01:54.44GGDdang
01:54.46GGDfaild
01:56.44GGDhold on
01:57.44GGDits moving
01:59.58GGDi think
02:02.09GGDits taking forever to move
02:02.40plarsenIf it's 10s of GB large then yes, it will take time
02:06.05GGD21 gig
02:07.08GGDok moved
02:09.15GGDso after i move these to that other location i should be able to load the update from 13 to 14?
02:09.47plarsenWell if you freed up 21gb that would suffice for the upgrade. But before you do that, make sure that VM is working before you proceed.
02:12.10GGDok i am in the xml  what do i need to edit..
02:12.13GGDlocation?
02:16.22GGDpermission denied
02:19.52GGDplarsen: ?
02:20.18plarsenI told you to verify SeLinux ;)
02:20.27plarsenCheck your audit log
02:20.52plarsenIf you have run virtual machines out of /kvm/images before you should have created a new selinux policy to cover that directory
02:21.02plarsenOtherwise you'll have to manually set the context of each file to mach
02:21.04plarsenmatch*
02:21.11GGDselinux.....
02:21.40GGDis it in the xml file?
02:24.33GGDi looked in the selinux dir
02:25.02GGDand i looked in both restorecon files and i didn't see anything remotely close to vity
02:25.06GGDvirt
02:26.24plarsenNo. Selinux is not specific to libvirt. There are selinux policies for libvirt though.  Check your selinux audit.log file.
02:33.23GGDi think i found the log..
02:33.35GGDgosh i feel like a noobie here
02:34.04GGDin the /var/log
02:34.08GGD?
02:45.01GGDhow can i tell what file type it is?
02:45.47plarsenls -Z
02:48.49GGDpermission denied
02:48.52GGDstill
02:50.52GGDfpaste.org/MbcX/
03:05.55plarsenWhat did you do to try to remmedy the issue?
03:07.00GGDi did the selinux trouble shooter
03:07.21GGDthe contexs
03:07.25GGDcopntexts
03:07.35GGDcontexts crap i can't type
03:07.59GGDthe restorecon
03:08.28GGDcouldn't restart the virt d thou as it said that it process not found
03:17.01plarsenrestorecon will NOT solve it if your policies aren't setup correctly
03:17.20plarsenSince you don't seem to know SELinux I don't think you ever created a policy for your custom kvm image location
03:17.51plarsenif you do ls -Z for the files in /kvm/images do you get security contexts that you see in the audit log that SELinux requires?
03:19.31GGDit said default_t:s0
03:19.47GGDwas the file type  i don't think had a policy for them
03:28.43plarsenGGD, that's why I said to check the selinux audit.log - you'll have what it expects in there.
03:29.14plarsenIf you have setroubleshooter installed, you should get an "sealert" token you can use which spells it out easy to read
03:31.43GGDyea
03:31.50GGDi have that installed
03:31.58GGDthe setroubleshooter
03:32.14GGDand i got the alert and i followed it
03:32.25GGDand still got that error
04:11.19*** join/#fredlug Moe__ (~MJames@c-71-62-116-235.hsd1.va.comcast.net)
04:35.51*** join/#fredlug Moe__ (~MJames@c-71-62-116-235.hsd1.va.comcast.net)
11:57.53GGDgosh i love that i am not getting anything from my machine
11:58.49GGDafter updating from 13 to 14
16:22.17*** join/#fredlug RangerBob (~Brian@pool-71-171-98-198.clppva.fios.verizon.net)
20:06.55*** join/#fredlug plarsen (~plarsen@redhat/jboss/pdpc.professional.plarsen)
23:00.21*** join/#fredlug Moe__ (~MJames@c-71-62-116-235.hsd1.va.comcast.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.