|
From: Kern S. <ke...@si...> - 2021-05-06 16:02:03
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hello,<br>
<br>
Though I am "mostly" retired, I thought I might respond to some of
your points.<br>
<br>
First, I am sorry you are having problems building the S3 plugin.<br>
<br>
The Bacula project does test a lot, and puts out source code prior
to release in many cases, so that users can test it and report any
problems.<br>
The one thing that Bacula does not do is test every build option
possible -- there are probably thousands of different OS, library,
and build (deb, rpm, ...) permutations, any one of which could have
difficulties.<br>
<br>
You asked in a previous email why we don't test on Ubuntu. Well all
the initial development and testing of the S3 plugin was done on
Ubuntu. I can testify to that because I am the Bacula developer who
did it -- this message is being written on a Ubuntu 20.-4 system :-)<br>
<br>
In your case, I see that you are doing a number of build operations
that can lead to minor problems because of OS specific scripting for
debs and such. Normally, Bacula developers build and install the
libs3 directly. You are creating (apparently) a libs3 debs package
-- that is something that Bacula developers never do and have never
tested.<br>
<br>
Your fundamental problem in making the S3 plugin work is that plugin
has the wrong name -- this can be seen from the -D200 debug output
you supplied. The Bacula SD is looking for plugins named:
xxx-sd.so, and your plugin is named xxx.so, so Bacula is not finding
it.<br>
<br>
There is a reasonable possibility that if you simply rename your
plugin from xxx.so to xxx-sd.so (I am assuming you know how to
replace xxx with the correct name), the plugin *might* work. <br>
<br>
If you would like to get reasonable answers from this list, it might
help if you would remember that this is free software that relies on
community participation.<br>
<br>
One last thing: I take issue with your statements about Bacula
Systems. Bacula Systems binaries are heavily tested, and they do
work. In the off chance they don't the company will quickly
(usually within a day or two) build new binaries that do work. I do
not mean to imply that you or anyone else must buy a Bacula Systems
subscription to get working software. However, I do think it likely
that at some point a Bacula Systems developer will probably see this
problem and fix it or explain the build problem.<br>
<br>
Good luck,<br>
Kern<br>
<br>
<div class="moz-cite-prefix">On 5/5/21 3:55 AM, Jim Joyce wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2...@MN...">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
As you can see, nobody except imaginary super admins have been
able to load the S3 plug-in. IT DOES NOT WORK. I implore the
community to demand the code & package be rescinded from the
repo until somebody with magical coding prowess can get it to
work. Community users are wasting their time and energy on
something that will not work unless you fork the darn thing and
start all over again!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
bacula.org package versions you are trying to install.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
9.6.7 debs</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
libs3 version and installation commands</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
cd libs3-20200523<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
make deb</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
cd build/pkg</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
dpkg -i libs3_4.1.bac_amd64.deb</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
root@backup:~/libs3-20200523/build/pkg# apt show libs3
<div> Package: libs3</div>
<div> Version: 4.1.bac</div>
<div> Status: install ok installed</div>
<div>operating system exact version</div>
<div> cat /etc/debian_version <br>
10.9</div>
<div>bacula-sd -d 200 loading debug output</div>
<div>root@backup:/opt/bacula/bin# ./bacula-sd -d 200
<div>root@backup:/opt/bacula/bin# bacula-sd:
address_conf.c:274-0 Initaddr 0.0.0.0:9103
</div>
<div>backup-sd: jcr.c:131-0 read_last_jobs seek to 192</div>
<div>backup-sd: jcr.c:138-0 Read num_items=2</div>
<div>backup-sd: plugins.c:97-0 load_plugins</div>
<div>backup-sd: plugins.c:133-0 Rejected plugin: want=-sd.so
name=bpipe-fd.so len=11</div>
<div>backup-sd: plugins.c:133-0 Rejected plugin: want=-sd.so
name=bacula-sd-cloud-driver-9.6.7.so len=31</div>
<span>backup-sd: plugins.c:121-0 Failed to find any plugins in
/opt/bacula/plugins</span></div>
<div><span>...</span><br>
</div>
<div>root@backup:/opt/bacula/plugins# ls<br>
<span>bacula-sd-cloud-driver-9.6.7.so bpipe-fd.so</span></div>
<div><span><br>
</span></div>
<div><span>steps to reproduce the error.</span></div>
<div><span>Install 9.6.7, install S3 lib hack, define a storage
device using the S3 driver in bacula-sd.conf. Volia! Get the
dreaded "driver not loaded" error.</span><br>
</div>
<span></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b> Heitor
Faria <a class="moz-txt-link-rfc2396E" href="mailto:he...@ba..."><he...@ba...></a><br>
<b>Sent:</b> Monday, May 3, 2021 7:09 PM<br>
<b>To:</b> sruckh <a class="moz-txt-link-rfc2396E" href="mailto:sr...@ge..."><sr...@ge...></a><br>
<b>Cc:</b> bacula-users
<a class="moz-txt-link-rfc2396E" href="mailto:bac...@li..."><bac...@li...></a><br>
<b>Subject:</b> Re: [Bacula-users] S3 "Driver" Doesn't Work
11.0.2</font>
<div> </div>
</div>
<div>
<div style="font-family:times new roman,new york,times,serif;
font-size:12pt; color:#000000">
<div>
<blockquote style="border-left:2px solid #1010FF;
margin-left:5px; padding-left:5px; color:#000;
font-weight:normal; font-style:normal;
text-decoration:none;
font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<blockquote style="padding:0 0.4em; border-left:#1010ff
2px solid; margin:0">
<div id="x_replybody1">
<div>
<div style="font-family:'times new roman' ,'new
york' ,'times' ,serif; font-size:12pt;
color:#000000">
<div>Despite of the not-working testimonials in
this thread, until now I see no related bug
reports in the Bacula bug tracker:
<a
href="https://bugs.bacula.org/view_all_bug_page.php"
rel="noopener noreferrer nofollow noopener
noreferrer" target="_blank"
moz-do-not-send="true">
https://bugs.bacula.org/view_all_bug_page.php</a><br>
</div>
<div>IMHO it would be of great help if you could
make the bug reports with the maximum details,
such as:</div>
<div> </div>
<div>- bacula.org package versions you are trying
to install.</div>
<div>- libs3 version and installation commands</div>
<div>- operating system exact version</div>
<div>- bacula-sd -d 200 loading debug output</div>
<div>- steps to reproduce the error.</div>
<div> </div>
<div>I believe this is the fastest way of the
bacula.org team to address this problem
properly.</div>
<div> </div>
<div>Regards,</div>
</div>
</div>
</div>
</blockquote>
<p>Problem has been reported.</p>
</blockquote>
Hello Sruckh: the error you reported is different from the
OP.</div>
<div>For everyone also having the: "Apr 27 20:59:59 backup
bacula-sd[498]: cloud_dev.c:1001 Could not open Cloud driver
type=1 for Device=xxxx.", you are encouraged also to full a
bug report.
<blockquote style="border-left:2px solid #1010FF;
margin-left:5px; padding-left:5px; color:#000;
font-weight:normal; font-style:normal;
text-decoration:none;
font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<p>Thank You.</p>
</blockquote>
</div>
<div>Regards,<br>
</div>
<div>-- <br>
</div>
<div>
<div><br>
</div>
<table style="font-family:'verdana' ,sans-serif"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:2px solid;
border-right-color:#bd272d; padding-right:15px;
text-align:right; vertical-align:top" valign="top">
<table style="margin-right:0; margin-left:auto"
cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="height:55px; vertical-align:top;
text-align:right; font-family:'verdana'
,sans-serif; color:#444444" valign="top"
align="right">
<span style="font-family:'verdana'
,sans-serif; color:#444444;
font-size:14pt; font-weight:bold">MSc
Heitor Faria (Miami/USA)<br>
</span><span style="font-family:'verdana'
,sans-serif; color:#444444;
font-size:10pt">Bacula LATAM CEO<br>
</span></td>
</tr>
<tr>
<td style="height:40px; vertical-align:top;
padding:0; text-align:right;
font-family:'verdana' ,sans-serif;
color:#444444" valign="top" align="right">
<span style="font-family:'verdana'
,sans-serif; color:#444444;
font-size:10pt">mobile1: + 1 909 655-8971<br>
</span><span style="font-family:'verdana'
,sans-serif; color:#444444;
font-size:10pt">mobile2: + 55 61
98268-4220</span></td>
</tr>
<tr>
<td style="height:20px; vertical-align:middle;
text-align:right" valign="middle"
align="right">
<a
href="https://www.linkedin.com/in/msc-heitor-faria-5ba51b3"
rel="noopener nofollow noopener noreferrer
nofollow noopener noreferrer nofollow
noopener noreferrer" target="_blank"
moz-do-not-send="true"><img alt="linkedin
icon" style="border:0; height:19px;
width:19px"
src="https://codetwocdn.azureedge.net/images/mail-signatures/generator/logo1/ln.png"
moz-do-not-send="true" width="19"
border="0"></a><br>
</td>
</tr>
</tbody>
</table>
</td>
<td style="padding-left:15px; font-size:1pt;
vertical-align:top" valign="top">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="height:55px; vertical-align:top"
valign="top"><a
href="Http://www.bacula.com.br"
rel="noopener nofollow noopener noreferrer
nofollow noopener noreferrer nofollow
noopener noreferrer" target="_blank"
moz-do-not-send="true"><img alt="logo"
style="height:40px; width:auto;
border:0"
src="http://www.bacula.com.br/wp-content/uploads/2017/05/logoBacula-ENTERPRISE-4-1.png"
moz-do-not-send="true" height="40"
border="0"></a><br>
</td>
</tr>
<tr>
<td style="height:40px; vertical-align:top;
padding:0; font-family:'verdana'
,sans-serif; color:#444444" valign="top">
<span style="font-family:'verdana'
,sans-serif; color:#444444;
font-size:10pt">América Latina</span><span
style="font-family:'verdana' ,sans-serif;
color:#444444; font-size:10pt"></span></td>
</tr>
<tr>
<td style="height:20px; vertical-align:middle"
valign="middle"><span
style="text-decoration:none;
font-size:10pt; font-family:'verdana'
,sans-serif; color:#800000"><span
style="font-family:'verdana'
,sans-serif"><a href="http://bacula.lat"
rel="noopener nofollow noopener
noreferrer nofollow noopener
noreferrer nofollow noopener
noreferrer" target="_blank"
style="text-decoration:none;
color:#800000" moz-do-not-send="true">bacula.lat</a>
| <a href="http://www.bacula.com.br"
rel="noopener nofollow noopener
noreferrer nofollow noopener
noreferrer nofollow noopener
noreferrer" target="_blank"
style="text-decoration:none;
color:#800000" moz-do-not-send="true">bacula.com.br</a></span></span><br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Bacula-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bac...@li...">Bac...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/bacula-users">https://lists.sourceforge.net/lists/listinfo/bacula-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
|