[User-committee] app dev on-boarding experience report

Stefano Maffulli stefano at openstack.org
Thu Jan 21 00:03:40 UTC 2016


On 01/20/2016 03:40 PM, Bonell Manjarrez, Marcela wrote:
> This are the workarounds I did on libcloud (openstack driver with the
> Neutron API) trying to fix the problems we faced (networking) on the
> app dev experience report:
> 
> File updated:
> /usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/openstack.py",

If I understand correctly, you patched libcloud driver locally and you
managed to get the SecurityGroup assigned on Rackspace Cloud? If so,
consider filing a bug against libcloud and propose a patch to them (it's
fairly easy and documented on
https://libcloud.readthedocs.org/en/latest/development.html#contributing)

> - Despite of the fact that I had the security group ready
> (all_in_one_security_group), it wasn’t assign to the instance at the
> moment when the instance was created.

I have no idea why that failed, sorry. Maybe the Rackspace folks can
help figure this one out.

> - I connected to my instance thru ssh and I didn’t find the app code
> :(

That may take some time to actually get on the virtual machine. You may
want to look at the console logs to see why (if) the curl command failed.

> Now, I’m moving to Shade, I only have this link:
> http://git.openstack.org/cgit/openstack-infra/shade in case you have
> more material about Shade, can you share it with me? :) I’ll share
> this findings also in the libcloud maillist and I’ll keep you posted
> about my new journey with Shade.

This is the place where you can find the same libcloud tutorial but
adapted to shade:

http://developer.openstack.org/draft/firstapp-shade/

It's still in draft because it's missing a chapter (about Swift) but it
should be enough for you to move forward.

As a side note, I think the pieces of the first app tutorials that are
completed should just be published on the home page, even if the whole
book is not completed. Let's put a note in the doc to say "This section
is not completed.... contribute it yourself or check again later" is a
better service to the community than hiding documentation behind the
draft/ site.

/stef



More information about the User-committee mailing list