<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
btw. found the bug in the Ubuntu docco:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<h3 style="box-sizing: border-box; font-family: Verdana, Geneva,
sans-serif; font-weight: 500; line-height: 1.1; margin-top: 20px;
margin-bottom: 10px; font-size: 18pt; color: rgb(53, 55, 53);
font-style: normal; font-variant: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">1.1. Install the repo</h3>
<p style="box-sizing: border-box; margin: 0px 0px 10px; color:
rgb(53, 55, 53); font-family: Verdana, Geneva, sans-serif;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
19.0476188659668px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">Add the OpenNebula
repository:</p>
<div class="code highlight-python" style="box-sizing: border-box;
color: rgb(53, 55, 53); font-family: Verdana, Geneva, sans-serif;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
19.0476188659668px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">
<pre style="box-sizing: border-box; overflow-x: auto; overflow-y: hidden; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; white-space: pre-wrap; display: block; padding: 9.5px; margin: 0px 0px 10px; line-height: 1.428571429; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(235, 235, 237);"># wget -q -O- <a class="moz-txt-link-freetext" href="http://downloads.opennebula.org/repo/Ubuntu/repo.key">http://downloads.opennebula.org/repo/Ubuntu/repo.key</a> | apt-key add -
# echo "deb <a class="moz-txt-link-freetext" href="http://downloads.opennebula.org/repo/4.8/Ubuntu/14.04/">http://downloads.opennebula.org/repo/4.8/Ubuntu/14.04/</a> stable opennebula" \
> /etc/apt/sources.list.d/opennebula.list</pre>
</div>
vs. <br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<h3 style="box-sizing: border-box; font-family: Verdana, Geneva,
sans-serif; font-weight: 500; line-height: 1.1; margin-top: 20px;
margin-bottom: 10px; font-size: 18pt; color: rgb(53, 55, 53);
font-style: normal; font-variant: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">2.1. Install the repo</h3>
<p style="box-sizing: border-box; margin: 0px 0px 10px; color:
rgb(53, 55, 53); font-family: Verdana, Geneva, sans-serif;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
19.0476188659668px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">Add the OpenNebula
repository:</p>
<div class="code highlight-python" style="box-sizing: border-box;
color: rgb(53, 55, 53); font-family: Verdana, Geneva, sans-serif;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
19.0476188659668px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">
<pre style="box-sizing: border-box; overflow-x: auto; overflow-y: hidden; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; white-space: pre-wrap; display: block; padding: 9.5px; margin: 0px 0px 10px; line-height: 1.428571429; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(235, 235, 237);"># wget -q -O- <a class="moz-txt-link-freetext" href="http://downloads.opennebula.org/repo/Ubuntu/repo.key">http://downloads.opennebula.org/repo/Ubuntu/repo.key</a> | apt-key add -
# echo "deb <a class="moz-txt-link-freetext" href="http://downloads.opennebula.org/repo/Ubuntu/14.04">http://downloads.opennebula.org/repo/Ubuntu/14.04</a> stable opennebula" > \
/etc/apt/sources.list.d/opennebula.list</pre>
</div>
<br>
This last one sources packages outside the 4.8 specified before<br>
<br>
- J<br>
<br>
<div class="moz-cite-prefix">On 19/10/14 20:52, Valentin Bud wrote:<br>
</div>
<blockquote
cite="mid:CALb5eVaz05N93Z4KpxvRVkF1HgrGa4w0wEcMneUr15OktrOwZg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello Jaco,
<div><br>
</div>
<div>Maybe Javier's presentation "OpenNebula and tips for CentOS
7" [1]</div>
<div>might help you achieve what you desire.</div>
<div><br>
</div>
<div>[1]: <a moz-do-not-send="true"
href="http://www.slideshare.net/opennebula">http://www.slideshare.net/opennebula</a></div>
<div><br>
</div>
<div>Best,<br>
Valentin</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Oct 19, 2014 at 3:59 AM, Jaco <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:bakgatnet@gmail.com" target="_blank">bakgatnet@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi folks,<br>
(1st post)<br>
<br>
I've toyed with ON before, but decided to finally commit.<br>
<br>
I scratched my server, installed CentOS 7 (minimal) &
followed guide provided here:
<a moz-do-not-send="true"
href="http://docs.opennebula.org/4.8/design_and_installation/quick_starts/qs_centos7_kvm.html"
target="_blank">http://docs.opennebula.org/4.8/design_and_installation/quick_starts/qs_centos7_kvm.html</a><br>
<br>
(context: I've been using Ubuntu/Debian for a very long
time, but recently decided to commit to CentOS/Fedora, so
I'm a little rusty in places)<br>
<br>
Overall it went OK, but not great.<br>
<br>
A few things that tripped me up:<br>
* CentOS 7 by default comes with firewalld - something
that's not covered under official docco's. I initially
thought it was iptables preventing access from LAN, but
managed to find this issue via accessing services through
SSH tunnel<br>
* Telling people to 'disable SELinux' is simply a bad idea
& sets a bad precedent & encourages lax security
practices IMHO. It's there for a reason. For now I've set
it to be permissive rather than disabled, but will
re-enforce it again later.<br>
<br>
Otherwise I've followed the guide dutifully, but I'm
unable to provision my 1st instance.<br>
<br>
I get this in the log:<br>
<br>
Sun Oct 19 13:56:54 2014 [Z0][DiM][I]: New VM state is
ACTIVE.<br>
Sun Oct 19 13:56:54 2014 [Z0][LCM][I]: New VM state is
PROLOG.<br>
Sun Oct 19 13:56:56 2014 [Z0][LCM][I]: New VM state is
BOOT<br>
Sun Oct 19 13:56:56 2014 [Z0][VMM][I]: Generating
deployment file: /var/lib/one/vms/5/deployment.0<br>
Sun Oct 19 13:56:56 2014 [Z0][VMM][I]: Remote worker node
files not found<br>
Sun Oct 19 13:56:56 2014 [Z0][VMM][I]: Updating remotes<br>
Sun Oct 19 13:56:57 2014 [Z0][VMM][I]: Command execution
fail: /var/tmp/one/vnm/tin/pre $REDACTED_HASH<br>
Sun Oct 19 13:56:57 2014 [Z0][VMM][I]: bash: line 2:
/var/tmp/one/vnm/tin/pre: No such file or directory<br>
Sun Oct 19 13:56:57 2014 [Z0][VMM][I]: ExitCode: 127<br>
Sun Oct 19 13:56:57 2014 [Z0][VMM][I]: Failed to execute
network driver operation: pre.<br>
Sun Oct 19 13:56:57 2014 [Z0][VMM][E]: Error deploying
virtual machine<br>
Sun Oct 19 13:56:58 2014 [Z0][DiM][I]: New VM state is
FAILED<br>
<br>
/var/tmp/one/vnm/tin/pre/ did not exist, so I created it
as user oneadmin <br>
<br>
Virtual network is named "default", template " <span
style="color:rgb(85,85,85);font-family:'Open
Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">CentOS-7</span>"
& image " <span
style="color:rgb(85,85,85);font-family:'Open
Sans',sans-serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">CentOS-7-one-4.8</span>"
(ad per docco).<br>
<br>
Default setup out of the box does not work, and/or
documentation is incomplete.<br>
<br>
What am I missing?<br>
Please advise<span class="HOEnZb"><font color="#888888"><br>
<br>
- J<br>
</font></span></div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>