Re: Fedora for Web Development fail

2018-10-02 Thread Matthew Miller
On Tue, Oct 02, 2018 at 12:14:42PM -0400, Cole Robinson wrote: > Coming to this thread late. There's been an RFE for virt-manager for > a while to send in cloud-init data for cloud images: > https://bugzilla.redhat.com/show_bug.cgi?id=981693 Yes! I couldn't find it because ahem, I was convinced

Re: Fedora for Web Development fail

2018-10-02 Thread Florian Weimer
* Cole Robinson: > On 09/27/2018 03:26 PM, Florian Weimer wrote: >> * Adam Williamson: >> >>> I don't think we ship anything that is exactly a *disk image* for this >>> kind of non-cloud, non-Atomic, minimal, probably-virtual deployment, >>> aside from the ones intended for vagrant use. At least

Re: Fedora for Web Development fail

2018-10-02 Thread Cole Robinson
On 09/27/2018 03:26 PM, Florian Weimer wrote: * Adam Williamson: I don't think we ship anything that is exactly a *disk image* for this kind of non-cloud, non-Atomic, minimal, probably-virtual deployment, aside from the ones intended for vagrant use. At least not for x86_64. I suppose I'd tend

Re: Fedora for Web Development fail

2018-10-02 Thread Máirín Duffy
I don't know that the cloud images are necessarily not it either though - Randy's vagrant set up uses the vagrant cloud image... Whatever the story is, we should be straight on it! ~m ___ devel mailing list -- devel@lists.fedoraproject.org To

Re: Fedora for Web Development fail

2018-09-27 Thread Randy Barlow
On Thu, 2018-09-27 at 13:40 +, Máirín Duffy wrote: > So this destroy and re-create philosophy is very counter to my past > development practices :( Does Vagrant have anything built in to set > it up with an Ansible playbook? It does have a hook to call into Ansible. Here's how I do that in my

Re: Fedora for Web Development fail

2018-09-27 Thread Florian Weimer
* Adam Williamson: > I don't think we ship anything that is exactly a *disk image* for this > kind of non-cloud, non-Atomic, minimal, probably-virtual deployment, > aside from the ones intended for vagrant use. At least not for x86_64. > I suppose I'd tend to use virt-install or just install from

Re: Fedora for Web Development fail

2018-09-27 Thread Adam Williamson
On Thu, 2018-09-27 at 13:29 +, Máirín Duffy wrote: > I'm willing to put some skin in the game but it's unclear to me how > we'd lay things out. > > Is anybody interested in meeting up about this and talking through > it? I think the website / positioning / docs type stuff is > addressable,

Re: Fedora for Web Development fail

2018-09-27 Thread Matthew Miller
On Thu, Sep 27, 2018 at 01:29:59PM -, Máirín Duffy wrote: > Is anybody interested in meeting up about this and talking through it? I > think the website / positioning / docs type stuff is addressable, but the > big challenge here is figuring out the strategy we want. > > For example - who is

Re: Fedora for Web Development fail

2018-09-27 Thread Chenxiong Qi
On Thu, Sep 27, 2018 at 9:41 PM Máirín Duffy wrote: > > > On Wed, 2018-09-26 at 11:04 +, Máirín Duffy wrote: > > Even though I do this, I find it helpful to be able to completely > > destroy the VM and re-create it, knowing that all the information to > > re-create it is in git (via the

Re: Fedora for Web Development fail

2018-09-27 Thread Adam Williamson
On Tue, 2018-09-25 at 14:18 +, Máirín Duffy wrote: > Hi fedora-devel, > > This morning I set out to set up a VM for web development for a project I've > been working on so I could access my development environment from multiple > locations / workstations without having to set it up again

Re: Fedora for Web Development fail

2018-09-27 Thread Vít Ondruch
If you these two steps from documentation: https://developer.fedoraproject.org/tools/vagrant/vagrant-atlas.html the vagrant box appears in virt-manager as another machine. The name of the machine will be derived from the directory name where the Vagrant file is located. Of course it is not

Re: Fedora for Web Development fail

2018-09-27 Thread Randy Barlow
On Tue, 2018-09-25 at 17:25 -0400, Josh Boyer wrote: > If we think Vagrant is better for this kind of work, we should be > actively looking at producing vagrant images instead. I recommended it because we do produce Vagrant images. From the example Vagrantfile I posted:

Re: Fedora for Web Development fail

2018-09-27 Thread Adam Williamson
On Tue, 2018-09-25 at 23:38 +0200, Miro Hrončok wrote: > > We IMHO produce images for vagrant and we document vagrant at the > developer portal: > > https://developer.fedoraproject.org/tools/vagrant/about.html >

Re: Fedora for Web Development fail

2018-09-27 Thread Máirín Duffy
> On Wed, 2018-09-26 at 11:04 +, Máirín Duffy wrote: > Even though I do this, I find it helpful to be able to completely > destroy the VM and re-create it, knowing that all the information to > re-create it is in git (via the Vagrantfile + Ansible playbook). Before > I used it, I would lose

Re: Fedora for Web Development fail

2018-09-27 Thread Máirín Duffy
Hi Alex, this is great. Thanks for pointing me at it! Cheers, ~m ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: Fedora for Web Development fail

2018-09-27 Thread Máirín Duffy
I'm willing to put some skin in the game but it's unclear to me how we'd lay things out. Is anybody interested in meeting up about this and talking through it? I think the website / positioning / docs type stuff is addressable, but the big challenge here is figuring out the strategy we want.

Re: Fedora for Web Development fail

2018-09-26 Thread Randy Barlow
On Wed, 2018-09-26 at 11:46 -0400, Randy Barlow wrote: > I ssh to the big system and do all my Vagrant work there. Heh, sorry for so many posts, but I wanted to add to this that it is also possible to point your Vagrantfile at a remote libvirt server. This lets you run Vagrant on your laptop, but

Re: Fedora for Web Development fail

2018-09-26 Thread Randy Barlow
On Tue, 2018-09-25 at 17:25 -0400, Josh Boyer wrote: > The conversation > went like this: > > Hey, I'm trying to do this and all the documented Fedora > things are really hard or poorly documented. Is this how Fedora > should work? > Oh, use this thing that *Fedora doesn't produce* in a >

Re: Fedora for Web Development fail

2018-09-26 Thread Randy Barlow
On Wed, 2018-09-26 at 11:04 +, Máirín Duffy wrote: > - There is no GUI for it that I can find. I just like GUIs, > especially for this sort of work that I might do for a stretch at a > time and then not have to do for months afterwards and have to > relearn next time. I don't know of a GUI

Re: Fedora for Web Development fail

2018-09-26 Thread Randy Barlow
On Wed, 2018-09-26 at 11:06 +, Máirín Duffy wrote: > Is there a way to use a vagrant image that works with virt-manager? I'll say "sort of" here. If you use vagrant-libvirt, you would use the vagrant CLI to launch/provision the VM, but once it's running you can see it in virt-manager and

Re: Fedora for Web Development fail

2018-09-26 Thread Matthew Miller
On Tue, Sep 25, 2018 at 02:18:50PM -, Máirín Duffy wrote: > - Is running a lightweight local VM for web development a usecase we want to > support? Is it dare I ask important? Yeah. I think we really need to straighten out the Fedora Cloud / Fedora Server image thing. As I understand it,

Re: Fedora for Web Development fail

2018-09-26 Thread Alexander Ploumistos
Hi Máirín, For several years now I've been using VMs with backing files to do what you're trying to achieve. It's basically what Dusty Mabe describes in the last paragraph of this article: https://dustymabe.com/2015/01/11/qemu-img-backing-files-a-poor-mans-snapshotrollback/ Using virt-manager, I

Re: Fedora for Web Development fail

2018-09-26 Thread Vít Ondruch
Dne 26.9.2018 v 13:28 Vít Ondruch napsal(a): > If you these two steps from documentation: > > https://developer.fedoraproject.org/tools/vagrant/vagrant-atlas.html > > the vagrant box appears in virt-manager as another machine. The name of > the machine will be derived from the directory name

Re: Fedora for Web Development fail

2018-09-26 Thread Máirín Duffy
I just tried it. I was able to connect to remote hypervisor, it showed my VM - pretty impressive. It was a little flaky in that when I right clicked to view properties of the VM it hung (with a, wait / force quit dialog popping up) but I was eventually able to load the dialog. It seems to

Re: Fedora for Web Development fail

2018-09-26 Thread Máirín Duffy
So the environment I'm trying to set up involves a backend that consists of three separate containers, and the web front end is separate from that. Because setting up the environment is a difficult task, I'd like it in a VM so I can clone it once it's configured so that I can reproduce it

Re: Fedora for Web Development fail

2018-09-26 Thread Máirín Duffy
Is there a way to use a vagrant image that works with virt-manager? ~m ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: Fedora for Web Development fail

2018-09-26 Thread Máirín Duffy
Hi Randy, I did consider Vagrant but there are a few issues with it: - There is no GUI for it that I can find. I just like GUIs, especially for this sort of work that I might do for a stretch at a time and then not have to do for months afterwards and have to relearn next time. - I have had -

Re: Fedora for Web Development fail

2018-09-25 Thread Chris Murphy
On Tue, Sep 25, 2018 at 8:18 AM, Máirín Duffy wrote: > - Is running a lightweight local VM for web development a usecase we want to > support? Is it dare I ask important? In ancient times I just ran a local httpd instance. VM seems heavy weight for this, but yes it should totally work, albeit

Re: Fedora for Web Development fail

2018-09-25 Thread Randy Barlow
On Tue, 2018-09-25 at 23:38 +0200, Miro Hrončok wrote: > https://developer.fedoraproject.org/tools/vagrant/about.html Oh nice, I hadn't seen these docs before. Thanks for sharing! signature.asc Description: This is a digitally signed message part ___

Re: Fedora for Web Development fail

2018-09-25 Thread Miro Hrončok
On 25.9.2018 23:25, Josh Boyer wrote: On Tue, Sep 25, 2018 at 4:46 PM Randy Barlow wrote: On Tue, 2018-09-25 at 14:18 +, Máirín Duffy wrote: - Is running a lightweight local VM for web development a usecase we want to support? Is it dare I ask important? - If so, is what I ended up

Re: Fedora for Web Development fail

2018-09-25 Thread Josh Boyer
On Tue, Sep 25, 2018 at 4:46 PM Randy Barlow wrote: > > On Tue, 2018-09-25 at 14:18 +, Máirín Duffy wrote: > > - Is running a lightweight local VM for web development a usecase we > > want to support? Is it dare I ask important? > > - If so, is what I ended up setting up what we want people

Re: Fedora for Web Development fail

2018-09-25 Thread Randy Barlow
On Tue, 2018-09-25 at 16:45 -0400, Randy Barlow wrote: > And here are instructions that describe what it's like for a > developer > to use it: > https://github.com/fedora-infra/bodhi/blob/3.10.0/docs/developer/vagrant.rst Here is a rendered version of that pag

Re: Fedora for Web Development fail

2018-09-25 Thread Randy Barlow
On Tue, 2018-09-25 at 14:18 +, Máirín Duffy wrote: > - Is running a lightweight local VM for web development a usecase we > want to support? Is it dare I ask important? > - If so, is what I ended up setting up what we want people in that > usecase to do? (E.g. use Fedora cloud base image, set

Re: Fedora for Web Development fail

2018-09-25 Thread Federico Bruni
Il giorno mar 25 set 2018 alle 16:18, =?iso-8859-1?b?TeFpcu1u?= Duffy ha scritto: [1] Note I used virt-manager bc other webdevs I know use it and I'm familiar with using it for connecting to remote hypervisors which was a main thing I wanted to do. Happy to use Boxes if it allows that

Re: Fedora for Web Development fail

2018-09-25 Thread Neal Gompa
On Tue, Sep 25, 2018 at 10:54 AM Peter Robinson wrote: > > > * Máirín Duffy: > > > > > - Found out it's cloud-info stalling the boot. > > > > I think it's actually cloud-init. > > > > > - Yay I have a login prompt! What's the login info? Ga... > > > - Realize have to run virt-customize

Re: Fedora for Web Development fail

2018-09-25 Thread Peter Robinson
> * Máirín Duffy: > > > - Found out it's cloud-info stalling the boot. > > I think it's actually cloud-init. > > > - Yay I have a login prompt! What's the login info? Ga... > > - Realize have to run virt-customize --uninstall cloud-init --root-password > > password:whatever --selinux-relabel

Re: Fedora for Web Development fail

2018-09-25 Thread Florian Weimer
* Máirín Duffy: > - Found out it's cloud-info stalling the boot. I think it's actually cloud-init. > - Yay I have a login prompt! What's the login info? Ga... > - Realize have to run virt-customize --uninstall cloud-init --root-password > password:whatever --selinux-relabel -a theimage I

Fedora for Web Development fail

2018-09-25 Thread Máirín Duffy
Hi fedora-devel, This morning I set out to set up a VM for web development for a project I've been working on so I could access my development environment from multiple locations / workstations without having to set it up again and again on different systems. I had a surprisingly difficult