#crowbar

/

      • dlaube has quit
      • qwe_ joined the channel
      • qwe_
        Hi all, I'm working on some PoC and was looking for some current documentation for Crowbar
      • the only docs Ive found are dated back to 2012-2013
      • maybe someone knows if there is anything up-to-date?
      • aspiers
        qwe_: hi, Crowbar is maintained by SUSE these days
      • our product documentation is very comprehensive
      • qwe_
        thanks for the link - I've seen that before
      • (and indeed this is very comprehensive)
      • however, what I'm looking for is ore like development guide - I'm trying to find a way to install a sample component using crowbar
      • I guess I should start with writing my own barclamp
      • aspiers
        qwe_: what barclamp are you interested in writing?
      • qwe_: maybe we can help
      • qwe_
        well, we are considering to integrate our cloud monitoring solution into suse cloud installer
      • rigt now we use ansible playbooks, and potentially we have two options:
      • 1) (easier one) somehow trigger ansible scripts by crowbar
      • 2) (harder one?) rewrite all our installation into chef/crowbar
      • so I'm looking for some manuals to carry on with the PoC
      • aspiers
        cool!
      • sounds like something we'd want to help with
      • I guess it would be possible to trigger ansible from chef
      • if your playbooks are complex
      • but if they're not, it would be cleaner to rewrite as Chef cookbooks
      • vuntz: I'm guessing we don't have uptodate docs on writing new barclamps?
      • vuntz: how do we normally assist people who want to write one?
      • qwe_: can I ask what the monitoring solution is?
      • qwe_
        I guess so ;) it's monasca -> https://wiki.openstack.org/wiki/Monasca
      • I'd say our playbooks are rather complex, so it would be way easier and faster for us to somehow use them from crowbar
      • BTW: crowbar looks quite impressive
      • aspiers
        qwe_: thanks :) it's pretty powerful, and we're improving it all the time
      • qwe_: I'd *love* to see a monasca barclamp! that's very much aligned with our product, so I'm sure we can assist you with this
      • qwe_
        that's great news!
      • aspiers
        I met some of the monasca folks in Austin, and liked what I heard
      • we talked about the potential role of monasca in user stories like http://specs.openstack.org/openstack/openstack-...
      • vuntz
        aspiers, qwe_: the usual way is to look at how the last barclamp was created :-)
      • aspiers
        vuntz: that's more or less what I thought you might say :)
      • vuntz: so we don't have that template barclamp mechanism any more I guess
      • vuntz
      • (although they have some small issue, last time I looked)
      • qwe_
        oh, I see
      • aspiers
        vuntz: do we have any training material on barclamps? I can't remember
      • qwe_
        so I'll need to do some reverse-engineering ;)
      • vuntz
        qwe_: if you submit the barclamp, then you would even get reviews to help you go in the right direction :-)
      • aspiers: I don't remember any
      • aspiers
        qwe_: I think that murano PR is pretty easy to understand but I'm more than happy to answer your questions
      • qwe_
        thanks, I'll take a look into this
      • aspiers
        qwe_: I guess you could start simply by checking out that branch, doing a s/murano/monasca/g, replacing the config files and configurable attributes
      • qwe_: if you haven't already deployed SOC6 we can help you with that
      • probably the appliance is the fastest way for this case
      • qwe_
        well, I used your mkcloud script to deploy CLoud 7 Beta 3
      • aspiers
        oh hahah ok, even better :)
      • qwe_
        well, it took me 3 or 4 days to make it run, but I was determined to make it work ;)
      • aspiers
        excellent :)
      • vuntz: too bad our Crowbar packages aren't in OBS :-/
      • qwe_
        anyway, before I try working on my barclamp, do you think it is even possible t integrate ansible into crowbar?
      • aspiers
        qwe_: anything's possible ;-)
      • qwe_
        in one of the architecture pictures, I can see that there is Chef/Puppet/...
      • aspiers
        Chef can inject arbitrary files and run arbitrary commands
      • qwe_
        but has anyone ever tried it?
      • aspiers
        which picture is that? there is no puppet
      • qwe_
        let me find it
      • aspiers
        the old OpenCrowbar architecture supported multiple config management backends, but we never switched to that since it was almost a complete rewrite
      • yeah, we should ditch that diagram
      • qwe_
        well, yes - Puppet is greyed-out :)
      • aspiers
        there is no jig in crowbar
      • Crowbar 2.0 was renamed to OpenCrowbar (don't ask ...) and then to Digital Rebar or something
      • qwe_
        so all this documentation is pretty much outdated, isn't it?
      • aspiers
        I'm afraid so :-(
      • we need to board up those broken windows
      • qwe_
        hmm... and could I ask what is your opinion? which solution is better? Should I try to reuse my ansible playbooks or it would be better to rewrite it to integrate nicly with chef/crowbar?
      • aspiers
        are the playbooks online somewhere I can look at?
      • I don't expect it would be much work to convert to Chef
      • and certainly that would produce the cleanest code
      • qwe_
        about our playbooks - I'm afraid I'd need to ask someone about that, as they are not publicly available
      • aspiers
        no problem
      • qwe_: if you already have SOC7 deployed, I'd suggest following the approach I outlined, and then ping us here when you get stuck
      • qwe_: hopefully you'll find it pretty obvious in that PR how the pieces fit together
      • there's a clear separation between the Chef cookbook and the Crowbar Rails app components
      • qwe_
        OK, I'll try to do so
      • aspiers
        thanks!
      • alexpilotti joined the channel
      • qwe_
        maybe one small question to start with: I can see that for example Ceilometer barclamp has a number of roles (?), like ceilometer-agent, ceilometer-server, ...
      • alexpilotti has left the channel
      • and for monasca we have several components
      • so I guess I should create a single barclamp with also a number of roles
      • is that correct?
      • vuntz
        yes
      • qwe_
        ok, thanks
      • vuntz
        although sometimes, we just always run some services always together
      • so we don't necessarily need one role per service
      • see the nova barclamp, for instance, where we have the nova-controller role that covers nova-api, nova-scheduler, etc.
      • it's more a matter of what makes sense :-)
      • qwe_
        yep, that makes sense :-)
      • how could reach you in case of more questions? is this webchat ok, or maybe you use some other means?
      • vuntz
        here is fine, but you need to explicitly ping some of us I guess :-)
      • but there's also a mailing list
      • qwe_
        great thanks!
      • vuntz
        and of course, you can submit a pull request and have some discussion there
      • qwe_
        sure, I will remember that
      • nkrinner is now known as nkrinner_afk
      • nkrinner_afk is now known as nkrinner
      • qwe_ has quit
      • nkrinner is now known as nkrinner_afk
      • dlaube joined the channel
      • dlaube1 joined the channel
      • dlaube has quit