-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/17/2010 12:33 AM, David Lutterkort wrote: > On Tue, 2010-04-13 at 12:37 +0200, Michal Fojtik wrote: >> On 12/04/10 09:44 -0700, David Lutterkort wrote: >>> On Fri, 2010-04-09 at 16:59 -0700, [email protected] wrote: >>>> This series of patches adds support for hardware profiles to Deltacloud >>>> core. Hardware profiles describe how instances can be sized, and are more >>>> general than the old flavors, in that each property can either be a fixed >>>> value, a predefined enumeration of values, or a range of values. >>> >>> To make it a little easier to test these patches, I pushed them as >>> branch dev/hardware-profiles to >>> git://gitorious.org/deltacloud-sinatra/deltacloud-sinatra.git >>> >>> You can browse the repo at >>> http://gitorious.org/deltacloud-sinatra/deltacloud-sinatra >> >> Perfect, this is working for me, but still getting one small exception: >> When calling /api/instances/inst1 >> >> /usr/bin/thin:19NoMethodError: undefined method `name' for nil:NilClass >> >> /home/mfojtik/code/deltacloud-sinatra/server/views/instances/show.html.haml:21:in >> `render' >> >> All other things are working as expected. > > That points to an instance without a instance_profile. Is this with the > mock driver ? And if so, did you 'rm -rf /var/tmp/deltacloud-core-$USER' > after applying the patches and restart the server ?
Yes, that helped. It's working perfectly now. - Michal - -- - -------------------------------------------------------- Michal Fojtik, [email protected], +420 532 294 4307 Ruby / Ruby On Rails Developer Deltacloud API: http://deltacloud.org - -------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLyYa/AAoJEEwRP1Pf2/iqhm0IAMHYHFm1z+MQmMSrri8TTlt8 DIp33hQ07HxejEX3KB6ISnPmk+eJuPe7ew4OxPTisbaNT3KSERXVeIDVxkgn6S2q ww8F8p+l/bcHjfJISnGjjGSTYapoaLPk2nAVI30kZ0hsdVgnicQ43kF12qIaaMMH CyjVBOP9El3vvAuiL3hsaNlePF8+aYHbfnZKPh0DTyuXfkflO1FSi041ns2+V8nM bolqh1nRfYtRQG/wTRpvI8bzcUOtzhrRRpLINNN2nH3/MNej2tPcgdYTOYwAhdac yNc1/PbrVMtUb4Pk/KT1Zj8eYPrQcCxFrHtW1H1I38SrK0nAjXLvtYJ6VMpfdl4= =n/5a -----END PGP SIGNATURE----- _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
