#smooth-operator 2020-09-01
<Chipaca> moin moin moin!
<Chipaca> that call went on for quite a bit longer than expected :-)
<bthomas> Morning. As a new starter it was useful to get that overall perspective. I might attend it again.
<bthomas> Chipaca: are you free at 11:00 ?
<Chipaca> bthomas: no, i've got a meeting with bthomas
<Chipaca> bthomas: or at least, i had? meeting seems to be gone now
<bthomas> Chipaca: That meeting was what I added to your calendar as per your suggestions. I just deleted it. Should I add it back again ?
<Chipaca> bthomas: why did you delete it?
<bthomas> Chipaca: :-) because you said you were not free . I was asking only because you had not accepted invite and was not sure if you will be able to make it.
<Chipaca> bthomas: i wasn't free, because i had that meeting
<Chipaca> now i am free
<bthomas> Ok I will add that meeting back again.
<Chipaca> bthomas: i'll be a couple of minutes late though (sorry)
<bthomas> No problem
<facubatista> Â¡Muy buenos dÃ­as a todos!
<bthomas> morning
<facubatista> hola bthomas
<Chipaca> facubatista: ðâ
<facubatista> alÃ³ alÃ³
<facubatista> Chipaca, let's talk about snapcraft experiment before your lunch? don't have any meetings in the next couple of hours
<Chipaca> facubatista: now, then
<Chipaca> facubatista: 1:1
<facubatista> ack
<facubatista> Chipaca, the act of mounting is hiding the content... as I was seeing weird behaviours through snapcraft, I tried it by hand... https://pastebin.canonical.com/p/zh9tfDctBM/
<Chipaca> facubatista: it mounts the outside into the inside, not vice versa
<Chipaca> facubatista: question, why exec -- bash instead of shell?
<Chipaca> facubatista: but back to your point, mount always 'hides' what's underneath the mountpoint
<Chipaca> always*
<facubatista> Chipaca, maybe that's way .expose_prime() doesn't work
<Chipaca> i don't know what expose_prime does :)
<Chipaca> or tries to do
<facubatista>         self._mount(self.project.prime_dir, target)   <-- target is snapcraft-vmized-builder:/root/prime
<Chipaca> facubatista: shouldn't that already be exposed?
<Chipaca> facubatista: i mean, you're already mounting a parent of prime_dir, right?
<facubatista> Chipaca, nop, "prime" is a sibling directory of "project" (which is mounted)
<jam> morning all
<Chipaca> jam: morning! :-)
<Chipaca> facubatista: could i have a review of #393?
<mup> PR #393: adds Harness.hooks_disabled, a context manager <Created by chipaca> <https://github.com/canonical/operator/pull/393>
<facubatista> hola jam
<facubatista> Chipaca, yes
<jam> Chipaca: did you see my response about 'juju debug-code' ? It supposedly works in 2.9, if you can test it and provide feedback I would be happy to hear if it does/doesn't work for you.
<Chipaca> jam: yep, just replying
<facubatista> (Pdb) instance.pull_file('/root/prime/builtdeps/idna/core.py', '/home/facundo/temp/foobar/foo.py')
<facubatista> transfer failed: [sftp pull] open failed: 'SFTP server: Permission denied'
<facubatista> *** snapcraft.internal.build_providers.errors.ProviderFileCopyError: An error occurred with the instance when trying to copy files with 'multipass': returned exit code 2.
<facubatista> Ensure that 'multipass' is setup correctly and try again.
<facubatista> I hate this
<Chipaca> facubatista: what're you doing?
<facubatista> Chipaca, there's this "pull_file", so I thought about zipping the dir I wanted to extract, and then pull that file
<facubatista> except that pull_file doesn't work
<Chipaca> facubatista: it's starting to feel like you should take a break from this spike
 * facubatista rm -rf /
 * Chipaca hopes that was inside the container
<facubatista> Chipaca, I've heard that ubuntu doesn't let you to do that, I never tried
<Chipaca> facubatista: it's not ubuntu but coreutils
<Chipaca> facubatista: you can try it without sudo to see the error message
<facubatista> Chipaca, I'll do other stuff today, tomorrow I'll atack this again from the POV of finding out the users/permission weirdness about copying stuff and the result being mixed root/regularuser
 * facubatista begs for reviews on https://github.com/canonical/charmcraft/pull/143
<mup> PR charmcraft#143: New release (and improved howto) <Created by facundobatista> <https://github.com/canonical/charmcraft/pull/143>
 * Chipaca starts charging per review
 * bthomas satisfied with the now working charm, takes a tea break
<Chipaca> jldev, drewn3ss, standup?

{'channel': 'smooth-operator', 'month': 9}