Hello,<br>I have some doubts about the process of reinstalling OpenNEbula, can you help me?<br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 9:54 PM, Javier Fontan <<a href="mailto:jfontan@fdi.ucm.es">jfontan@fdi.ucm.es</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div><br></div><div>Hello,</div><div><br></div><div>You are correct, there is a bug there. We have been changing the ruby API a bit broke the history. That is already solved in the svn. <a href="http://trac.opennebula.org/changeset/17" target="_blank">http://trac.opennebula.org/changeset/17</a></div>
<div><br></div><div>I encourage you to get the source from subversion and update from time to time. The good thing is that the script that installs it makes links from where the source files are so ruby files are automatically updated when you download new changes.</div>
</div></blockquote><div><br>What do you mean with this? I don't understand the process... When I execute "install.sh", I usually get a "ln -s xxx yyy" failed because yyy already existed, so I delete all yyy*'s and then reinstall. Is that correct?<br>
Should I:<br>1: scons --clean<br>2: scons<br>3: install.sh $ONE_LOCATION<br>or what?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div>Also recompiling makes executables in the installation directory updated.<br><br> </div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div></div><div><br></div><div>Configuration files are copied so you wont loose any. It was made like this to make developing and testing easier.</div></div></blockquote><div><br>Perfect! Thanks!<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div>There will be a real installation procedure when it reaches an stable version.</div><div><br></div><div>Sorry for the inconveniences.</div></div></blockquote><div><br>No problem at all! ;)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div></div><div><br></div><div>Bye</div></div></blockquote><div><br>Bye<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div></div><div><br></div><div><br></div><div><div><div></div><div class="Wj3C7c"><div>On Jun 26, 2008, at 7:00 PM, Alvaro Canales wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">
More info:<br>if I execute "onevm show 0", it works as expected, listing the characteristics of the image with id 0.<br>But if I do "onevm history", I get this:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
onevm history<br>History for VM 0<br><br> ID SEQ HOSTNAME STIME ETIME TIME REASON<br>/OVS/opennebula/bin/onevm:90: undefined method `[]' for true:TrueClass (NoMethodError)<br> from /OVS/opennebula/lib/ruby/client_utilities.rb:131:in `call'<br>
from /OVS/opennebula/lib/ruby/client_utilities.rb:131:in `data_array'<br> from /OVS/opennebula/lib/ruby/client_utilities.rb:130:in `collect'<br> from /OVS/opennebula/lib/ruby/client_utilities.rb:130:in `data_array'<br>
from /OVS/opennebula/lib/ruby/client_utilities.rb:129:in `collect'<br> from /OVS/opennebula/lib/ruby/client_utilities.rb:129:in `data_array'<br> from /OVS/opennebula/lib/ruby/client_utilities.rb:110:in `data_str'<br>
from /OVS/opennebula/bin/onevm:252:in `list_vm_history'<br> from /OVS/opennebula/bin/onevm:268:in `list_vm_history_array'<br> from /OVS/opennebula/bin/onevm:265:in `each'<br> from /OVS/opennebula/bin/onevm:265:in `list_vm_history_array'<br>
from /OVS/opennebula/bin/onevm:277:in `list_vm_history_all'<br> from /OVS/opennebula/bin/onevm:276:in `each'<br> from /OVS/opennebula/bin/onevm:276:in `list_vm_history_all'<br> from /OVS/opennebula/bin/onevm:450<br>
</blockquote><br>Hope this helps...<br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 6:37 PM, Alvaro Canales <<a href="mailto:accleo@gmail.com" target="_blank">accleo@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello again!<br><br>After adding some hosts with the "onehost add..." command and successfully listing them, I submit an image this way:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
onevm submit images/myfirstVM.template<br clear="all">ID: 1<br></blockquote>I think this is the expected output. <br><br>The problem comes when trying to do "onevm list", where I get this error:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
onevm list<br>/opt/nebula/ONE/lib/ruby/one.rb:340:in `get_history_host': undefined method `[]' for nil:NilClass (NoMethodError)<br> from /opt/nebula/ONE/lib/ruby/one.rb:316:in `get_vms'<br> from /opt/nebula/ONE/lib/ruby/one.rb:315:in `each'<br>
from /opt/nebula/ONE/lib/ruby/one.rb:315:in `get_vms'<br> from /opt/nebula/ONE/bin/onevm:184:in `list_short'<br> from /opt/nebula/ONE/bin/onevm:422<br></blockquote><br>Can you spot the error? I guess get_history_host doesn't return what is expected...<br>
Thank you for your help and attention! ;)<br><font color="#888888"><br>-- <br>Álvaro </font></blockquote></div><br><br clear="all"><br>-- <br></div></div><div class="Ih2E3d">Álvaro _______________________________________________<br>
Users mailing list<br><a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></blockquote></div><br></div></blockquote></div><br><br clear="all"><br>-- <br>Álvaro