<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I am beginning to wonder if this is at all useable under Slackware. With version 2.2.1 I am getting the following:</div><div dir="ltr"><br></div><div># crm</div><div><div>crm(live)# cluster</div><div>crm(live)cluster# init</div><div>ERROR: cluster.init: Error when loading script init: Failed to load yaml module: No module named yaml</div></div><div><br></div><div>I installed PyYAML from Slackbuilds, and this error disappeared. But things were not any better afterwards:</div><div><br></div><div><div># crm cluster init --name FirstCluster --nodes "NodeOne NodeTwo"</div><div>INFO: Initialize a new cluster</div><div>INFO: Nodes: --name, FirstCluster, --nodes, NodeOne, NodeTwo</div><div>Traceback (most recent call last):</div><div>  File "/usr/sbin/crm", line 54, in <module></div><div>    rc = main.run()</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/main.py", line 362, in run</div><div>    return main_input_loop(context, user_args)</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/main.py", line 244, in main_input_loop</div><div>    rc = handle_noninteractive_use(context, user_args)</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/main.py", line 200, in handle_noninteractive_use</div><div>    if context.run(' '.join(l)):</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/ui_context.py", line 75, in run</div><div>    rv = self.execute_command() is not False</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/ui_context.py", line 245, in execute_command</div><div>    rv = self.command_info.function(*arglist)</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/ui_cluster.py", line 110, in do_init</div><div>    return scripts.run(script, script_args(args), script_printer())</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/scripts.py", line 2059, in run</div><div>    opts = _make_options(params)</div><div>  File "/usr/lib64/python2.7/site-packages/crmsh/scripts.py", line 391, in _make_options</div><div>    opts = parallax.Options()</div><div>NameError: global name 'parallax' is not defined</div></div><div><br></div><div>This is getting more and more disappointing. With version 3.0.3 things are, if anything, even more discouraging - it seems to assume the presence of an infrastructure found in distributions such as Red Hat, Ubuntu and Debian, but not in Slackware:</div><div dir="ltr"><div><br></div><div><div># crm cluster init --name ClusterOne --nodes "nodeone nodetwo"</div><div>! NTP is not configured to start at system boot.</div><div>! No watchdog device found. If SBD is used, the cluster will be unable to start without a watchdog.</div><div>Do you want to continue anyway (y/n)? y</div><div>! Firewall: Could not open ports tcp=30865|5560|7630|21064, udp=</div><div>ERROR: cluster.init: Failed to start sshd.service</div></div><div><br></div><div>Just about every output line above represents what I described:</div><div>   1) The ntpd daemon is running in this system, and /etc/rc.d/rc.ntpd is executable. Either it is trying to do something with the concourse of systemd, or it is looking for SystemV init files.</div><div>   2) No clue about the watchdog warning.</div><div>   3) There are no iptables rules in this system - root can open any ports it wants. Maybe it is looking for the firewalld daemon?</div><div>   4) sshd.service is how one would typically refer to the SSH daemon in the Linux distributions above, which start it with incantations like "service sshd start", which does not exist in Slackware. The SSH daemon was already running in this system, anyway, and /etc/rc.d/rc.sshd is executable.</div><div><br></div><div>Anybody been able to get this (either version) to work at all under Slackware? </div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2019 at 1:29 PM JCA <<a href="mailto:1.41421@gmail.com" target="_blank">1.41421@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">By the way, the crmsh version in Slackbuilds (2.2.1) is almost three years old. I used the Slackbuilds build script to build the latest stable release (3.0.3) as retrieved from the crmsh github repository; it builds correctly, and seems to run fine. Interestingly, it reports itself to be version 3.0.1, not 3.0.3. That seems to be something in the build framework as packaged by the crmsh people - nothing to do with the Slackbuilds build script.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2019 at 7:40 AM JCA <<a href="mailto:1.41421@gmail.com" target="_blank">1.41421@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks. After installing the lxml Python component, crm starts with no problem.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 5, 2019 at 10:05 PM Jeremy Hansen <<a href="mailto:jebrhansen%2BSBo@gmail.com" target="_blank">jebrhansen+SBo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 5, 2019, 6:23 PM JCA <<a href="mailto:1.41421@gmail.com" target="_blank">1.41421@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">I installed the crmsh package into two freshly installed Slackware 14.2 systems, fully patched. According to the info file for this package, it does not have any explicit dependencies. I nevertheless installed pacemaker, and all of its dependencies, for that's the context in which I am going to use crmsh.<div><br><div>When I try to invoke the crm executable that is distributed with crmsh, here is what I am getting:</div></div><div><br></div><div># crm</div><div><div>Fatal error:</div><div>        No module named lxml</div><div>        No module named modules</div><div><br></div><div>    Failed to start crmsh! This is likely due to a broken</div><div>    installation or a missing dependency.</div><div><br></div><div>    If you are using a packaged version of crmsh, please try</div><div>    reinstalling the package. Also check your PYTHONPATH and</div><div>    make sure that the crmsh module is reachable.</div><div><br></div><div>    Please file an issue describing your installation at</div><div>    <a href="https://github.com/Clusterlabs/crmsh/issues/" rel="noreferrer" target="_blank">https://github.com/Clusterlabs/crmsh/issues/</a> .</div></div><div><br></div><div>PYTHONPATH is not set in my shell, and it is not found in any file in /etc/profile.d. I tried setting it myself with</div><div><br></div><div>export PYTHONPATH=/usr/lib64/python2.7/site-packages/crmsh<br></div><div><br></div><div>and a few variations of the above, but it made no difference.</div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Looks like there might be some undocumented dependencies somewhere. Based on your error message, I'm assuming you need <a href="https://slackbuilds.org/repository/14.2/python/lxml/" target="_blank">https://slackbuilds.org/repository/14.2/python/lxml/</a> for the missing "lxml", but I'm not sure what you'd need for the missing "modules".</div><div dir="auto"><br></div><div dir="auto">Jeremy</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div></div>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>