Deploy hdp-storm with juju failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdp-storm (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi:
Hi:
I have tried to deploy the hdp-storm to our platform with juju, but failed.The error occurred both our platform or open source OpenStack platform. I need your help, thanks.
My environment:
Cloud: Our platform and open source OpenStack Mitaka.
Juju:
root@juju-new:~# juju version
2.1.1-xenial-amd64
Issue 1:
When I had execute the following commands, the juju status indicates that the hooks/install error, the detailed logs as below:
Detailed error logs:
2017-03-08 08:58:03 INFO juju-log Installing hdp-storm
2017-03-08 08:58:03 DEBUG worker.uniter.jujuc server.go:178 hook context id "nimbus-
server-0/charm"
2017-03-08 08:58:03 INFO juju-log ==> install_base_pkg
2017-03-08 08:58:03 INFO install Traceback (most recent call last):
2017-03-08 08:58:03 INFO install File "/var/lib/
2017-03-08 08:58:03 INFO install hooks.execute(
2017-03-08 08:58:03 INFO install File "/var/lib/
2017-03-08 08:58:03 INFO install self._hooks[
2017-03-08 08:58:03 INFO install File "/var/lib/
2017-03-08 08:58:03 INFO install install_
2017-03-08 08:58:03 INFO install File "/var/lib/
2017-03-08 08:58:03 INFO install tmpfile = au.download_
2017-03-08 08:58:03 INFO install File "/var/lib/
2017-03-08 08:58:03 INFO install tempfile, headers = urlretrieve(url)
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install return _urlopener.
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install fp = self.open(url, data)
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install return getattr(self, name)(url)
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install h.endheaders(data)
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install self._send_
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install self.send(msg)
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install self.connect()
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install self.sock = ssl.wrap_
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install ciphers=ciphers)
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install self.do_handshake()
2017-03-08 08:58:03 INFO install File "/usr/lib/
2017-03-08 08:58:03 INFO install self._sslobj.
2017-03-08 08:58:03 INFO install IOError: [Errno socket error] [Errno 1] _ssl.c:510: error:14077410:SSL routines:
My workaround:
I tried to upgrade the python version to 2.7.12 and the error gone. But new error came.
Issue 2:
I execute the command " juju add-relation nimbus-
2017-03-08 12:01:35 INFO juju-log zookeeper:15: zookeeper-
2017-03-08 12:01:35 DEBUG worker.uniter.jujuc server.go:178 hook context id "nimbus-
"/var/lib/
2017-03-08 12:01:35 INFO juju-log zookeeper:15: ===> fileGetKV (/etc/storm/
2017-03-08 12:01:35 DEBUG worker.uniter.jujuc server.go:178 hook context id "nimbus-
"/var/lib/
2017-03-08 12:01:35 INFO juju-log zookeeper:15: ===> fileSetKV (/etc/storm/
- "192.168.0.12")
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
zookeeper_
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 INFO zookeeper-
2017-03-08 12:01:35 ERROR juju.worker.
2017-03-08 12:01:35 DEBUG juju.worker.
2017-03-08 12:01:35 INFO juju.worker.uniter resolver.go:100 awaiting error resolution for "relation-changed" hook
2017-03-08 12:01:35 DEBUG juju.worker.uniter agent.go:17 [AGENT-STATUS] error: hook failed: "zookeeper-
My workaround:
Modify the /var/lib/
@hooks.
def zookeeper_
log(
ZK_hostname = relation_
if not ZK_hostname:
sys.exit(0)
log(
storm_
fileSetKV(
After changing: fileSetKV(
with the workaround ,it seems the error gone.But new error came.
Issue 3:
When I ran the netstat -nat command ,I found the storm-ui port 8080 is not listed, the storm-ui service is not running.
I run the "juju run --unit storm-worker/3 "hooks/install" commands ,the 8080 port seemed opened. and I use the command: curl http://
</pre><
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://
<html><
at org.apache.
at org.apache.
at backtype.
at backtype.
at backtype.
at compojure.
at compojure.
at compojure.
at compojure.
at clojure.
at compojure.
at clojure.
at clojure.
at compojure.
at ring.middleware
at backtype.
at ring.middleware
at ring.middleware
at ring.middleware
at ring.middleware
at ring.middleware
at ring.middleware
at ring.middleware
at ring.adapter.
at ring.adapter.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
I am not sure about the workarounds I did, is it really caused by the hdp-storm bug?
And I also want to know the last issue's workaround and the correct deployment steps.
The error came both our cloud and open source openstack mitaka version. I expect your suggestion, thanks.