openstack dashboard gives internal server error - openstack

when i try to open dashboard it gives internal server error. It was running fine earlier but suddenly this error occurred.
Here is my apache log :
[Fri Jun 23 16:43:50.321423 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] mod_wsgi (pid=31878): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Fri Jun 23 16:43:50.321468 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] Traceback (most recent call last):
[Fri Jun 23 16:43:50.321485 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 168, in __call__
[Fri Jun 23 16:43:50.321506 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] self.load_middleware()
[Fri Jun 23 16:43:50.321607 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 46, in load_middleware
[Fri Jun 23 16:43:50.321620 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] mw_instance = mw_class()
[Fri Jun 23 16:43:50.321625 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 23, in __init__
[Fri Jun 23 16:43:50.321633 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] for url_pattern in get_resolver(None).url_patterns:
[Fri Jun 23 16:43:50.321637 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
[Fri Jun 23 16:43:50.321644 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Fri Jun 23 16:43:50.321648 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
[Fri Jun 23 16:43:50.321654 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] self._urlconf_module = import_module(self.urlconf_name)
[Fri Jun 23 16:43:50.321658 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Fri Jun 23 16:43:50.321665 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] __import__(name)
[Fri Jun 23 16:43:50.321669 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 35, in <module>
[Fri Jun 23 16:43:50.321676 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] url(r'^api/', include('openstack_dashboard.api.rest.urls')),
[Fri Jun 23 16:43:50.321680 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 28, in include
[Fri Jun 23 16:43:50.321687 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] urlconf_module = import_module(urlconf_module)
[Fri Jun 23 16:43:50.321691 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Fri Jun 23 16:43:50.321697 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] __import__(name)
[Fri Jun 23 16:43:50.321701 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py", line 34, in <module>
[Fri Jun 23 16:43:50.321708 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] from openstack_dashboard.api import base
[Fri Jun 23 16:43:50.321726 2017] [:error] [pid 31878:tid 140589128623872] [remote 10.0.30.11:41599] ImportError: cannot import name base

If you Google for this error, you will find a bug report on Launchpad, with a long rambling set of comments. The last one says:
From the responses here it seems that the root issue with those encountering this "bug" is that their Horizon installation is missing some dependency, and installing that dependency fixes the issue.
The error reported "ImportError: cannot import name base" is a symptom of the failure to load all dependent modules.
The cause therefore would appear to be incomplete or erroneous installation documentation.
(Or possibly ... failure to follow the installation instructions.)
In short, check that you have installed the correct versions of all of the dependencies for Horizon.
A second bug report may offer more clues.
You say:
It was running fine earlier but suddenly this error occurred.
That might be due to update / patch being applied.

Related

The ClassNotFoundException when running a jar from command line

I am not sure what is missing from this jar file but when I try to run the jar from the command line, it cannot load the main entry point:
This is the directory that contains the classes and the resources for my application.
C:\Users\hrh74\Documents\ABack up\NetBeansProjects\mavenfxedittableview\target\classes\org\openjfx\mavenfxedittableview
09/04/2020 08:48 PM <DIR> .
09/04/2020 08:48 PM <DIR> ..
09/03/2020 04:24 PM 2,502 addressBookData.xml
09/02/2020 05:52 PM 9,562 Address_Book.png
09/02/2020 05:52 PM 859 birthdaystatistic.fxml
09/02/2020 05:52 PM 3,274 BirthdaystatisticController.class
09/02/2020 05:52 PM 3,224 DarkTheme.css
09/02/2020 05:52 PM 2,072 DateUtil.class
09/02/2020 05:52 PM 1,214 LocalDateAdapter.class
09/02/2020 05:52 PM 3,523 Person.class
09/02/2020 05:52 PM 4,535 personeditdialog.fxml
09/02/2020 05:52 PM 5,128 PersoneditdialogController.class
09/02/2020 05:52 PM 1,029 PersonListWrapper.class
09/02/2020 05:52 PM 6,412 personoverview.fxml
09/02/2020 05:52 PM 1,904 rootlayout.fxml
09/02/2020 05:52 PM 4,490 RootlayoutController.class
09/02/2020 05:52 PM 9,060 TableEditApp.class
09/02/2020 05:52 PM 6,812 TableVieweditController.class
16 File(s) 65,600 bytes
2 Dir(s) 57,686,331,392 bytes free
I created an app.jar for my application and specified the application's main entry class.
C:\Users\hrh74\Documents\ABack up\NetBeansProjects\mavenfxedittableview\target
\classes\org\openjfx>jar cvfe app.jar TableEditApp.class -C mavenfxedittableview .
added manifest
adding: addressBookData.xml(in = 2502) (out= 376)(deflated 84%)
adding: Address_Book.png(in = 9562) (out= 9567)(deflated 0%)
adding: birthdaystatistic.fxml(in = 859) (out= 372)(deflated 56%)
adding: BirthdaystatisticController.class(in = 3274) (out= 1544)(deflated 52%)
adding: DarkTheme.css(in = 3224) (out= 826)(deflated 74%)
adding: DateUtil.class(in = 2072) (out= 941)(deflated 54%)
adding: LocalDateAdapter.class(in = 1214) (out= 537)(deflated 55%)
adding: Person.class(in = 3523) (out= 1277)(deflated 63%)
adding: personeditdialog.fxml(in = 4535) (out= 872)(deflated 80%)
adding: PersoneditdialogController.class(in = 5128) (out= 2418)(deflated 52%)
adding: PersonListWrapper.class(in = 1029) (out= 485)(deflated 52%)
adding: personoverview.fxml(in = 6412) (out= 1149)(deflated 82%)
adding: rootlayout.fxml(in = 1904) (out= 542)(deflated 71%)
adding: RootlayoutController.class(in = 4490) (out= 2097)(deflated 53%)
adding: TableVieweditController.class(in = 6812) (out= 2835)(deflated 58%)
The app.jar created successfully. Here is the content of META-INF/MANIFEST.MF file.
Manifest-Version: 1.0
Created-By: 14.0.2 (Oracle Corporation)
Main-Class: TableEditApp.class
Here is my classpath having the current directory '.' in the beginning.
.;C:\Users\hrh74\Documents\ABack up\NetBeansProjects\javalearning\build\classes;C:\Program Files\Java\jdk-14.0.2;C:\Program Files\Java\jdk-14.0.2\bin;C:\Program Files (x86)\Java\jre1.8.0_251\bin;C:\Program Files\Java\jdk-14.0.2\lib;
When I list the content of the jar file, all the classes are properly packaged in the jar.
C:\Users\hrh74\Documents\ABack up\NetBeansProjects\mavenfxedittableview\target\classes\org\openjfx>jar tvf app.jar
0 Fri Sep 04 23:22:18 IRDT 2020 META-INF/
98 Fri Sep 04 23:22:18 IRDT 2020 META-INF/MANIFEST.MF
2502 Thu Sep 03 16:24:22 IRDT 2020 addressBookData.xml
9562 Wed Sep 02 17:52:36 IRDT 2020 Address_Book.png
859 Wed Sep 02 17:52:36 IRDT 2020 birthdaystatistic.fxml
3274 Wed Sep 02 17:52:40 IRDT 2020 BirthdaystatisticController.class
3224 Wed Sep 02 17:52:36 IRDT 2020 DarkTheme.css
2072 Wed Sep 02 17:52:40 IRDT 2020 DateUtil.class
1214 Wed Sep 02 17:52:38 IRDT 2020 LocalDateAdapter.class
3523 Wed Sep 02 17:52:38 IRDT 2020 Person.class
4535 Wed Sep 02 17:52:36 IRDT 2020 personeditdialog.fxml
5128 Wed Sep 02 17:52:40 IRDT 2020 PersoneditdialogController.class
1029 Wed Sep 02 17:52:40 IRDT 2020 PersonListWrapper.class
6412 Wed Sep 02 17:52:36 IRDT 2020 personoverview.fxml
1904 Wed Sep 02 17:52:36 IRDT 2020 rootlayout.fxml
4490 Wed Sep 02 17:52:38 IRDT 2020 RootlayoutController.class
9060 Wed Sep 02 17:52:38 IRDT 2020 TableEditApp.class
6812 Wed Sep 02 17:52:38 IRDT 2020 TableVieweditController.class
Finally, when I run the application from the command line using java –jar app.jar, I get the ClassNotFoundException.
C:\Users\hrh74\Documents\ABack up\NetBeansProjects\mavenfxedittableview\target\classes\org\openjfx>java -jar app.jar
Error: Could not find or load main class TableEditApp.class
Caused by: java.lang.ClassNotFoundException: TableEditApp.class
I tried to adhere to the spec to the best of my knowledge, so I am not sure why this is not working. Any idea, what might be causing this exception?
Thanks in advance.
I discovered something interesting in respect to the HelloWorld.java that I mentioned in my last comment. I abandoned using the "jar cvfe" and instead created a file name mymanifest.txt and placed the name of the class with the main entry as "Main-Class: org.me.HelloWorld" followed by two blank lines (per specification). I packaged the jar using the "jar cvmf" instead of "jar cvfe" and it WORKED FINE. I then applied the same method to my application jar creation, and now I am getting a Linkage Error instead of ClassNotFoundException. Perhaps, it has something to do with the JavaFX library that I have to investigate deeper. In summary, I suspect that the "jar cvfe" switch might not be working as described in the Java tutorial. I have had found errors in the tutorial in the past and this MIGHT be another one.
Anyway, thank you all for your comments.

Error ldap_sasl_bind_s failed (49) on Multi-Master

The error that appears is this:
Dec 30 18:07:24 openldap03 slapd[16460]: slap_client_connect: URI=ldap://openldap02 DN="cn=config" ldap_sasl_bind_s failed (49)
Dec 30 18:07:24 openldap03 slapd[16460]: do_syncrepl: rid=002 rc 49 retrying (1 retries left)
Dec 30 18:07:24 openldap03 slapd[16460]: slap_client_connect: URI=ldap://openldap01 DN="cn=config" ldap_sasl_bind_s failed (49)
Dec 30 18:07:24 openldap03 slapd[16460]: do_syncrepl: rid=001 rc 49 retrying (1 retries left)
...
Dec 30 18:09:54 openldap03 slapd[16460]: slap_client_connect: URI=ldap://openldap02 DN="cn=ldapadm,dc=domain,dc=local" ldap_sasl_bind_s failed (49)
Dec 30 18:09:54 openldap03 slapd[16460]: do_syncrepl: rid=005 rc 49 retrying (1 retries left)
Dec 30 18:09:54 openldap03 slapd[16460]: slap_client_connect: URI=ldap://openldap01 DN="cn=ldapadm,dc=domain,dc=local" ldap_sasl_bind_s failed (49)
Dec 30 18:09:54 openldap03 slapd[16460]: do_syncrepl: rid=004 rc 49 retrying (1 retries left)
Connection is fine:
[root#openldap03 ~]# telnet openldap01 389
Trying 172.16.11.203...
Connected to openldap01.
Escape character is '^]'.
^]
[root#openldap03 ~]# telnet openldap02 389
Trying 172.16.11.205...
Connected to openldap02.
Escape character is '^]'.
^]
I can add the configuration if they ask me what command to execute
How can I troubleshoot this error?
thanks!
The return code 49 stands for "Invalid credential". You do not have connectivity problem, but the credential you set are not the right one.

Convert string Fri, 04 Aug 2017 13:07:44 into 04-08-2017 in unix

I would like to convert the date " Fri, 04 Aug 2017 13:07:44 GMT " into 04-08-2017 .
And code should recursively convert all string format into specified format.
You may use the -d option with date command.
Execute this in your command line to get the desired output.
date -d 'Fri, 04 Aug 2017 13:07:44 GMT' +'%d-%m-%Y'
Edit :
If you want to populate it in a script you may use something like this:
#!/bin/bash
input_date="Fri, 04 Aug 2017 13:07:44 GMT"
output_date=$(date -d "$input_date" +'%d-%m-%Y')
echo $output_date

Error while creating volume in openstack

I installed devstack of openstack.
When I login using admin user and create a volume. It shows error as a status.
I got following in error log (syslog file). But couldn't find any resolution by google. What's wrong happening with this.
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00mConnectionFailedError: HTTPConnectionPool(host='192.168.43.88', port=2379): Max retries exceeded with url: /v3alpha/lease/grant (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4b75d3c110>: Failed to establish a new connection: [Errno 101] ENETUNREACH',))
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: #033[00;32mDEBUG oslo_concurrency.lockutils [#033[01;36mNone req-a2a87ca1-802a-4e3d-abe9-e28601906c44 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mAcquired semaphore "singleton_lock"#033[00m #033[00;33m{{(pid=3263) lock /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:212}}#033[00m
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: #033[00;32mDEBUG oslo_concurrency.lockutils [#033[01;36mNone req-a2a87ca1-802a-4e3d-abe9-e28601906c44 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mReleasing semaphore "singleton_lock"#033[00m #033[00;33m{{(pid=3263) lock /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:228}}#033[00m
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: #033[00;36mINFO oslo_service.service [#033[01;36mNone req-a2a87ca1-802a-4e3d-abe9-e28601906c44 #033[00;36mNone None#033[00;36m] #033[01;35m#033[00;36mChild 3263 exited with status 1#033[00m
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: #033[00;32mDEBUG oslo_service.service [#033[01;36mNone req-a2a87ca1-802a-4e3d-abe9-e28601906c44 #033[00;36mNone None#033[00;32m] #033[01;35m#033[00;32mStarted child 3264#033[00m #033[00;33m{{(pid=707) _start_child /usr/local/lib/python2.7/dist-packages/oslo_service/service.py:577}}#033[00m
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: #033[00;36mINFO cinder.service [#033[00;36m-#033[00;36m] #033[01;35m#033[00;36mStarting cinder-volume node (version 13.0.0)#033[00m
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: #033[01;31mERROR oslo_service.service [#033[00;36m-#033[01;31m] #033[01;35m#033[01;31mError starting thread.#033[00m: ConnectionFailedError: HTTPConnectionPool(host='192.168.43.88', port=2379): Max retries exceeded with url: /v3alpha/lease/grant (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4b75d3c110>: Failed to establish a new connection: [Errno 101] ENETUNREACH',))
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00mTraceback (most recent call last):
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/usr/local/lib/python2.7/dist-packages/oslo_service/service.py", line 792, in run_service
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m service.start()
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/opt/stack/cinder/cinder/service.py", line 219, in start
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m coordination.COORDINATOR.start()
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/opt/stack/cinder/cinder/coordination.py", line 67, in start
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m self.coordinator.start(start_heart=True)
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/usr/local/lib/python2.7/dist-packages/tooz/coordination.py", line 687, in start
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m super(CoordinationDriverWithExecutor, self).start(start_heart)
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/usr/local/lib/python2.7/dist-packages/tooz/coordination.py", line 423, in start
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m self._start()
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/usr/local/lib/python2.7/dist-packages/tooz/drivers/etcd3gw.py", line 196, in _start
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m self._membership_lease = self.client.lease(self.membership_timeout)
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/usr/local/lib/python2.7/dist-packages/etcd3gw/client.py", line 115, in lease
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m json={"TTL": ttl, "ID": 0})
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m File "/usr/local/lib/python2.7/dist-packages/etcd3gw/client.py", line 88, in post
Jun 21 13:29:08 krishna-Lenovo-G550 cinder-volume[707]: ERROR oslo_service.service #033[01;35m#033[00m raise exceptions.ConnectionFailedError(six.text_type(ex))
I have ubuntu 18.04 LTS boot from 64 gb USB.
Volume size is -> 1 GB.
Volume type is -> lvmdriver-1.
Volume source is -> No source, empty volume
As per following reference.
https://ask.openstack.org/en/question/51180/error-connectionerror-httpconnectionpoolhostopenstack-port8774-max-retries-exceeded-with-url-v24ca42a660b0c4ff48db51d3187215dd4imagesdetail-caused-by/
following command.
sudo nova-manage service list
gives following.
/usr/local/lib/python2.7/dist-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
usage: nova-manage [-h] [--remote_debug-host REMOTE_DEBUG_HOST]
[--remote_debug-port REMOTE_DEBUG_PORT] [--config-dir DIR]
[--config-file PATH] [--debug] [--log-config-append PATH]
[--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
[--log-file PATH] [--nodebug] [--nopost-mortem]
[--nouse-journal] [--nouse-json] [--nouse-syslog]
[--nowatch-log-file] [--post-mortem]
[--syslog-log-facility SYSLOG_LOG_FACILITY] [--use-journal]
[--use-json] [--use-syslog] [--version] [--watch-log-file]
{version,bash-completion,placement,network,cell_v2,db,cell,floating,api_db}
...
nova-manage: error: argument category: invalid choice: 'service' (choose from 'version', 'bash-completion', 'placement', 'network', 'cell_v2', 'db', 'cell', 'floating', 'api_db')
Following command:
sudo rabbitmqctl status
gives following:
Status of node 'rabbit#krishna-Lenovo-G550'
[{pid,1851},
{running_applications,
[{rabbit,"RabbitMQ","3.6.10"},
{ranch,"Socket acceptor pool for TCP protocols.","1.3.0"},
{ssl,"Erlang/OTP SSL application","8.2.3"},
{public_key,"Public key infrastructure","1.5.2"},
{asn1,"The Erlang ASN1 compiler version 5.0.4","5.0.4"},
{crypto,"CRYPTO","4.2"},
{rabbit_common,
"Modules shared by rabbitmq-server and rabbitmq-erlang-client",
"3.6.10"},
{compiler,"ERTS CXC 138 10","7.1.4"},
{xmerl,"XML parser","1.3.16"},
{os_mon,"CPO CXC 138 46","2.4.4"},
{mnesia,"MNESIA CXC 138 12","4.15.3"},
{syntax_tools,"Syntax tools","2.1.4"},
{sasl,"SASL CXC 138 11","3.1.1"},
{stdlib,"ERTS CXC 138 10","3.4.3"},
{kernel,"ERTS CXC 138 10","5.4.1"}]},
{os,{unix,linux}},
{erlang_version,
"Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:64] [kernel-poll:true]\n"},
{memory,
[{total,127617792},
{connection_readers,813376},
{connection_writers,57704},
{connection_channels,182760},
{connection_other,1578088},
{queue_procs,747128},
{queue_slave_procs,0},
{plugins,0},
{other_proc,17494600},
{mnesia,173768},
{metrics,271752},
{mgmt_db,0},
{msg_index,58592},
{other_ets,1914184},
{binary,73692752},
{code,21401226},
{atom,900041},
{other_system,8600765}]},
{alarms,[]},
{listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,3317874688},
{disk_free_limit,50000000},
{disk_free,44431437824},
{file_descriptors,
[{total_limit,65436},
{total_used,30},
{sockets_limit,58890},
{sockets_used,28}]},
{processes,[{limit,1048576},{used,549}]},
{run_queue,0},
{uptime,5312},
{kernel,{net_ticktime,60}}]
If you want to check the nova services status the command is:
Using openstack CLI:
openstack compute service list
Using nova CLI:
nova service-list

Snakemake: R script fails (almost) immediately

Once more I'm encountering an error in my snakemake workflow that doesn't make any sense to me.
This is the error I get:
[Thu Jan 25 10:47:00 2018] Building DAG of jobs...
[Thu Jan 25 10:47:01 2018] Provided cores: 24
[Thu Jan 25 10:47:01 2018] Rules claiming more threads will be scaled down.
[Thu Jan 25 10:47:01 2018] Job counts:
[Thu Jan 25 10:47:01 2018] count jobs
[Thu Jan 25 10:47:01 2018] 1 merging_seurat
[Thu Jan 25 10:47:01 2018] 1
[Thu Jan 25 10:47:01 2018] Job 0: --- Merging samples using seurat.
Error in setClass("Snakemake", slots = c(input = "list", output = "list", :
unused argument(s) (slots = c(input = "list", output = "list", params = "list", wildcards = "list", threads = "numeric", log = "list", resources = "list", config = "list", rule = "character"))
Execution halted
[Thu Jan 25 10:47:02 2018] Error in rule merging_seurat:
[Thu Jan 25 10:47:02 2018] jobid: 0
[Thu Jan 25 10:47:02 2018] output: merging_seurat/12_top10_heatmap_all_wilcox.pdf, merging_seurat/13_top10_heatmap_all_roc.pdf, merging_seurat/merging_seurat.RData
[Thu Jan 25 10:47:02 2018] RuleException:
[Thu Jan 25 10:47:02 2018] CalledProcessError in line 372 of .../snakemake_pipeline/Snakefile:
[Thu Jan 25 10:47:02 2018] Command ' set -euo pipefail; Rscript .../snakemake_pipeline/scripts/.snakemake.jv8ijpiw.merging_seurat.R ' returned non-zero exit status 1
[Thu Jan 25 10:47:02 2018] File ".../snakemake_pipeline/Snakefile", line 372, in __rule_merging_seurat
[Thu Jan 25 10:47:02 2018] File ".../tools/anaconda3/envs/Seurat/lib/python3.5/concurrent/futures/thread.py", line 55, in run
[Thu Jan 25 10:47:02 2018] Will exit after finishing currently running jobs.
[Thu Jan 25 10:47:02 2018] Exiting because a job execution failed. Look above for error message
[Thu Jan 25 10:47:02 2018] Complete log: .../snakemake_6/.snakemake/log/2018-01-25T104700.498155.snakemake.log
This is the rule in question:
rule merging_seurat:
input: expand("{sample}/molecule_count/counts_wide.tsv", sample=config["samples"]),
output: "merging_seurat/12_top10_heatmap_all_wilcox.pdf",
"merging_seurat/13_top10_heatmap_all_roc.pdf",
"merging_seurat/merging_seurat.RData"
message: "--- Merging samples using seurat."
script: "scripts/merging_seurat.R"
Here we have the top of the R script that is still executed:
sink('merging_seurat/output.txt')
print(installed.packages())
print(sessionInfo())
sink()
And these are the following lines in the R script that are not executed anymore:
library('Seurat')
library('dplyr')
library('org.Hs.eg.db')
Because I logged the packages that are available, I know that the three packages that should be loaded are also installed so it shouldn't fail because of that. In fact, commenting these lines out doesn't change anything, the script still breaks and the log message that should come right after loading the packages is not written to the log file.
Finally, this is the command that I use to run snakemake:
snakemake --use-conda \
--latency-wait 90 \
--rerun-incomplete \
--keep-going \
--timestamp \
--cluster-config SGE.json \
--cluster "qsub -cwd -N {cluster.name} -l h_vmem={cluster.h_vmem},h_stack=256M -o {cluster.stdout}{cluster.name}.o -e {cluster.stderr}{cluster.name}.e -m {cluster.mailtype} -M {cluster.mailuser}" \
-j 8 \
--directory .../snakemake_6
Does anybody have a clue what the error message could mean? unused argument of the snakemake R object is strange because I'm calling multiple parameters later on in the script.
What is even more strange is that I have another R script that works with different packages but has very similar first lines runs fine. I remember that in the beginning I had the same problem with that script (same error message) but don't remember how I solved it.
Any help is well appreciated.

Resources