Re: Re: Deploying fedora infrastructure (koji) across clouds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/31/2012 01:07 PM, Seth Vidal wrote:
>
>
>
>> // small wrapper script around deltacloud:
>> $ wget https://raw.github.com/movitto/mycloud/master/mycloud.rb
>> $ chmod +x mycloud.rb
>>
>> // template describing kojihub cloud deployment
>> $ wget
>> https://raw.github.com/aeolus-incubator/templates/master/fedora_infra/koji/fedora-17/koji_f17.xml
>>
>>
>> // template describing kojibuild cloud deployment
>> $ wget
>> https://raw.github.com/aeolus-incubator/templates/master/fedora_infra/koji/fedora-17/koji_builder_f17.xml
>>
>>
>> // edit kojihub deployment to contain openstack credentials
>> $ vim koji_f17.xml
>>
>> // startup an instance on openstack w/ kojihub setup togo
>> $ ./mycloud.rb koji_f17.xml
>>
>> // grab public address from output, grab kojibuild ssl credentials from
>> new instance
>>
>> $ scp -i ~/os.key ec2-user@kojihub:/etc/pki/koji/kojiadmin.pem .
>> $ scp -i ~/os.key ec2-user@kojihub:/etc/pki/koji/koji_ca_cert.crt .
>>
>> // edit kojibuild deployment to deploy to ec2 w/ correct koji
>> credentials & hub address
>> $ vim koji_builder_f17.xml
>>
>> // startup an instance on ec2 w/ kojibuild communicating w/ the hub
>
>
>> $ ./mycloud.rb koji_builder_f17.xml
>>
>> // open up a webbrowser, navigating to http://kojihub/koji to use your
>> Koji instance!
>>
>
> Mo,
>  Interesting!
>
> You can orchestrate all of these steps across/between multiple systems
> using ansible: http://ansible.cc - I've been documenting spinning up and
> provisioning instances on my blog in the last week or so. You might
> take a
> look - it should solve the problem of the above needing to be so manual
> of a process and it requires nothing other than ssh be installed on the
> machine you're trying to configure/control.

Cool thanks for the info Seth. Ansible looks interesting, its a
configuration orchestration component akin to Puppet / Chef is it not?
Does it do any provisioning in itself?

The ec2_create utility on your blog seems to call out to euca2ools to do
the actual provisioning on ec2 correct? You'd still want a component
such as Deltacloud to abstractify commands to different cloud providers
would you not?

  -Mo
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux