#musicbrainz-devel

/

      • ocharles
        nikki: it doesn't touch the database
      • nikki
        oh?
      • ocharles
        I was going to complete ignore the DB and remove the column at the next schema change
      • warp returns
      • my branch simple loads recording->length from track lengths, and never edits it
      • nikki
        we haven't decided to get rid of standalone recordings, so we can't do that :/
      • ocharles
        simply*
      • oh
      • ijabz
        this is on a PC, Fusion seems to be Mac only
      • ocharles
        guess I'll need to rework it then
      • warp
        ruaok: bin/replicate now finished
      • ijabz: on windows you want "VMWare Player"
      • warp starts bin/reindex
      • ijabz
        warp, ah thx doesnt even seem to be listed on mian product page but found it now
      • JonnyJD_
        ianmcorvidae: tell me if you get it to work with VirtualBox. I didn't and I am out of ideas currently. Also added a comment to the blog post.
      • ianmcorvidae
        yeah, I'm poking at it
      • andreypopp joined the channel
      • but who knows what, if anything, I'll figure out
      • HankCorto joined the channel
      • ijabz
        out of interest does Vm Fusion just turn your mac into a linux/windows box stopping its usage as a OSX box ?
      • nikki
        no
      • at least, none of the ones I've used have done that
      • kepstin-work
        ijabz: if I remember correctly, the only special thing about fusion as opposed to normal vmware is that it let you have individual windows per app rather than a desktop window that hold everything.
      • warp
        ruaok: so far bin/reindex seems to be working. I'm going to suspend it now, I'll resume it in a couple of hours and leave it running then.
      • ijabz
        oh,ok
      • ruaok
        great, thanks!
      • nikki
        kepstin-work: yeah, sounds about right
      • I just run it as a normal single window though
      • andreypopp joined the channel
      • ijabz
        um, username:musicbrainz, password:musicbrainz doesnt seem to be correct ?
      • warp
        username: vm, password: musicbrainz
      • ijabz
        ah I was looking at doc page rather than wiki page
      • warp
        oh is the transcluded page out-of-date? nikki, reosarevok, can either of you check/transclude?
      • kepstin-work has left the channel
      • ijabz
        heh for me | command ouputs >, does everyone get that, how can I fix that
      • djce joined the channel
      • warp
        the '|' key gets you a '>' character you mean?
      • nikki
        what page? I don't see anything about a vm in the transclusion table that's out of date
      • ianmcorvidae
        nikki: it'd be server setup, I think
      • warp
      • ianmcorvidae
        nikki: I don't think we have a dedicated VM page or whatever
      • nikki
        updated
      • warp
        ijabz: the virtual machine is probably configured for a US Qwerty keyboard layout.
      • ijabz
        ok, ill look later
      • ocharles
        much easier to just SSH in
      • then you'll use your natural keyboard layout, not the machines
      • ijabz
        well good news for me server starts up and I can connect to it okay
      • ocharles
        that is good news
      • warp
        :)
      • ianmcorvidae
        virtualbox seems to be failing to even issue the same error message repeatedly, for me :P
      • ijabz
        Ive given the VM 8GB, and just kicked of the search index building
      • ocharles
        ruaok: we should update the blog post to say this doesn't work in VirtualBox
      • JonnyJD_
        nikki: I am not really sure the documentation should be updated already, since the new VW at least doesn't work with VirtualBox
      • ocharles
        ijabz: you rebooted it too, right?
      • ijabz: could you run: psql -U postgres template1 -c "SHOW shared_buffers"
      • ianmcorvidae
        (first time, importing just the vmdk, it says something about a misformatted header, but after that it seems to just say it's unsupported)
      • ijabz
        I set it to 8GB before i started it
      • ocharles
        wanna make sure the configuration thing worked
      • ijabz: ok, cool
      • nikki
        JonnyJD_: the old vm is pretty useless anyway
      • JonnyJD_
        nikki: hm, because of the perl dependency hell thing?
      • ianmcorvidae
        it's probably only useful if you actually deliberately want out-of-date data
      • nikki
        well, because it's ancient
      • ijabz
        ocharles 1995MB
      • ocharles
        ijabz: perfect
      • ijabz
        so thats right I guess
      • ocharles
        ruaok's script is doing the right thing :)
      • kepstin-work joined the channel
      • ijabz
        seems to be working okay, though I'm a bit disappointed with this labtops sound and screen, performance wise no problems
      • ruaok
        so, aside from VB issues, no problems so far?
      • ruaok was on the phone to spotify
      • ijabz
        not for me (unles syou include the key mapping)
      • ocharles
        "One of the things I consider before diving into a new library is whether or not ocharles has written an intro for it." awwwwww
      • ianmcorvidae
        the primary difference I can see in the vmdk headers is that the new one seems to have spaces after values, where an old vmdk from the last release doesn't
      • by the by
      • re: the "improperly quoted value" thing, I think, but
      • other than some other random differences, like ours claims to be readonly, it has an embedded name thing of "generated-stream.vmdk" rather than the real name, uses some different adapter types -- but none of that has to do with actual header formatting
      • andreypopp joined the channel
      • kepstin-work has left the channel
      • kepstin-work joined the channel
      • andreypopp joined the channel
      • ruaok
        post updated with vb caveat
      • ocharles
        bye JIRA
      • ocharles considers now a good time for a tea break
      • ruaok
        yeah, thats webalizers's fault.
      • ocharles
        wat
      • ruaok grumbles at webalizer
      • ianmcorvidae tries cloning the HD to a VDI, maybe that'll randomly work
      • JonnyJD_
        webalizer breaks jira?
      • reading the logs freezes the machine?
      • ianmcorvidae
        it pegs the CPU
      • seems to be the issue, anyway
      • we have huge logs and a complicated webalizer config
      • the two interact poorly :P
      • heh, oops, full disk
      • heh, appears to have worked
      • I mean, and created a 27GB file, but :P
      • Leftmost joined the channel
      • JonnyJD_
        ianmcorvidae: no dynamic disc anymore (so the disc is really that big anyways?)
      • ianmcorvidae
        well, it's a 40GB disk
      • so 27GB is at least... better than that
      • this appears to be working, anyway
      • VBoxManage clonehd <the extracted vmdk> something.vdi --format VDI
      • and then you can import the vdi
      • possibly there's some way to make the VDI less space-intensive though
      • seems to be about 18G of disk actually used, anyway
      • kepstin-work
        turn the disk into a raw file image, load it into qemu on linux, use 'fstrim' to free the space, then convert it back :)
      • ianmcorvidae
        haha
      • VBoxManage modifyhd seems to have a --compact option, which seems likely to be what's needed
      • ocharles
        yea, but that doesn't work with VMWare
      • my original script already called that
      • kepstin-work
        the --compact option can't help with areas on the fs that contain data that's not referenced, I think?
      • ocharles
        (when building the separate DB drive)
      • ianmcorvidae
        well, this is using a vdi anyway, since the vmdk that VMWare output fails entirely on vbox
      • ocharles
        kepstin-work: not sure about that, probably not
      • ianmcorvidae
        I'm mostly just exploring options right now though
      • kepstin-work
        "For this operation to be effective, it is required that free space in the guest system first be zeroed out using a suitable software tool." - so, yeah.
      • but using the raw image format with qemu on linux is nice, because it supports the TRIM operation, which turns into holes in the sparsely allocated file.
      • assuming a new enough linux kernel to have the 'hole punch' operation.
      • JonnyJD_
        ianmcorvidae: you managed to use VBoxManage on the same vmdk that you downloaded?
      • I get VBoxManage: error: VMDK: incorrectly quoted value in descriptor when running VBoxManage clonehd
      • ianmcorvidae
        I did, yes
      • well, I mean, I copied it to a .bak first and then cloned that
      • but that's not a terribly relevant difference
      • ruaok, ijabz: "recording: Unable to get replication information" when running bin/reindex, something to worry about?
      • ruaok
        nope.
      • JonnyJD_
        ianmcorvidae: maybe you did something to that vmdk (without knowing). I can't get clonehd to work.
      • ianmcorvidae
        possibly
      • JonnyJD_ is md5ing the file again
      • my virtualbox did do some editing of the vmdk, but not the one I was using
      • (as in, I blew everything away, did a fresh untar of the ova, then copied to a .bak, which is what I was clonehd'ing)
      • ianmcorvidae is (slowly) getting an md5 to compare with, nevertheless
      • JonnyJD_
        f27ec2db10aef6cabfc62d3209907f4c MusicBrainz_2013-08-01-disk1.vmdk
      • ianmcorvidae
        hm, mine is definitely different
      • 8c994faf3075bc7ffc8fd34db19fb446 MusicBrainz_2013-08-01-disk1.vmdk.bak
      • ianmcorvidae sees what it does with the non-backup one
      • JonnyJD_: could you hexdump -C MusicBrainz_2013-08-01-disk1.vmdk | head -n 50 and pastebin it?
      • weasel00 joined the channel
      • JonnyJD_
      • ianmcorvidae
        that's not the same image that's in the ova, I don't think
      • because it has the ddb.uuid.modification stuff, etc.
      • https://pastee.org/jprzs is the header of the one that worked successfully for me
      • https://pastee.org/wmpct is the one that failed to import in virtualbox
      • (which as you can see is similar to yours, just with different UUIDs)
      • JonnyJD_
        ianmcorvidae: I'll try and extract from the ova again
      • warp resumes his VM
      • MBJenkins
        Yippie, build fixed!
      • Parameters:
      • ghprbActualCommit=c0413819b77883798e3f30b5c4f578c94b25ab73
      • ghprbTargetBranch=master