[Openstack] Openstack Sahara Kilo - Hangs at waiting status

Amardeep Singh amardeep at techblue.co.uk
Thu Jun 4 07:40:17 UTC 2015


Hi Andrew,

Many thanks for prompt reply. The issue was exactly what you described.

I created alternatives for sahara-api, sahara-engine and sahara, and
left _sahara-subprocess. This is how juno was working hence I kept the
setup same.

Now I created alternatives for  _sahara-subprocess and it solved the issue.

Thanks,
Amardeep

On Tuesday 02 June 2015 11:01 PM, Andrew Lazarev wrote:
> Hi Amardeep,
>
> It looks like Sahara engine tries to run "_sahara-subprocess"
> executable of other version. Sahara uses real subprocesses to gain all
> benefits of multithreading (greenthreads are not enough). It assumes
> that there is "_sahara-subprocess" executable in the same folder with
> sahara engine. They must be the same version. 
>
> Thanks,
> Andrew.
>
> On Mon, Jun 1, 2015 at 4:52 AM, Amardeep Singh
> <amardeep at techblue.co.uk <mailto:amardeep at techblue.co.uk>> wrote:
>
>     Hi,
>
>     I am trying to configure*Openstack Sahara **Kilo* release on
>     existing *Openstack **Juno* setup. After successful integration of
>     services and dashboard everything works smooth until it start
>     creating cluster.
>
>     - Create Node Group Templates for Plugin "vanilla" Hadoop Version
>     "2.6"
>     - Create Cluster Template for Plugin "vanilla" Hadoop Version "2.6"
>     - Used sahara-image-elements and created qcow image of ubuntu for
>     version 2.6
>     - Register image with correct username "ubuntu"
>     - Generate key pair and attached to cluster
>     - Launch Cluster
>
>     When cluster launches it creates instances with networking
>     enabled. I can ping the nodes and ssh into them using keypair
>     generated, but for some reason controller is unable to run ssh
>     commands. The following error comes in *sahara-all**.log*(attached)
>
>     */2015-06-01 11:33:37.022 814 ERROR root [-] Original exception
>     being dropped: ['Traceback (most recent call last):\n', '  File
>     "/opt/openstack/current/sahara/local/lib/python2.7/site-packages/sahara/utils/ssh_remote.py",
>     line 630, in _run\n    self._get_conn_params())\n', '  File
>     "/opt/openstack/current/sahara/local/lib/python2.7/site-packages/sahara/utils/procutils.py",
>     line 51, in run_in_subprocess\n    result =
>     pickle.load(proc.stdout)\n', '  File
>     "/usr/lib/python2.7/pickle.py", line 1378, in load\n    return
>     Unpickler(file).load()\n', '  File "/usr/lib/python2.7/pickle.py",
>     line 858, in load\n    dispatch[key](self)\n', '  File
>     "/usr/lib/python2.7/pickle.py", line 880, in load_eof\n    raise
>     EOFError\n', 'EOFError\n']
>
>     2015-06-01 11:33:37.023 814 ERROR root [-] Original exception
>     being dropped: ['Traceback (most recent call last):\n', '  File
>     "/opt/openstack/current/sahara/local/lib/python2.7/site-packages/sahara/utils/ssh_remote.py",
>     line 630, in _run\n    self._get_conn_params())\n', '  File
>     "/opt/openstack/current/sahara/local/lib/python2.7/site-packages/sahara/utils/procutils.py",
>     line 51, in run_in_subprocess\n    result =
>     pickle.load(proc.stdout)\n', '  File
>     "/usr/lib/python2.7/pickle.py", line 1378, in load\n    return
>     Unpickler(file).load()\n', '  File "/usr/lib/python2.7/pickle.py",
>     line 858, in load\n    dispatch[key](self)\n', '  File
>     "/usr/lib/python2.7/pickle.py", line 880, in load_eof\n    raise
>     EOFError\n', 'EOFError\n']/*
>
>     I have also attached sahara.conf file. Any help will be appreciated.
>
>     Thanks,
>     Amardeep
>
>
>     _______________________________________________
>     Mailing list:
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>     Post to     : openstack at lists.openstack.org
>     <mailto:openstack at lists.openstack.org>
>     Unsubscribe :
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
	Amardeep Singh

IT Director

	Direct: +91 124 4548389
Tel: +91 124 4548383 Ext- 1001
UK: +44 845 0047 142 Ext- 5003

	TBS Website <http://www.techbluesoftware.co.in>
	Techblue Software Pvt. Ltd
The Palms, Plot No 73, Sector 5, IMT Manesar,
Gurgaon- 122050 (Hr.)

www.techbluesoftware.co.in <http://www.techbluesoftware.co.in>

	
	TBS Facebook
<https://www.facebook.com/pages/Techblue-Software-Limited/441777369284888>
TBS Twitter <https://twitter.com/TechbluSoftware> TBS Google+
<https://plus.google.com/+TechblueSoftwareCoIn> TBS Linked In
<https://www.linkedin.com/company/techblue-softwares-pvt-ltd>

TBS Branding <http://www.techbluesoftware.co.in>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150604/a77502c9/attachment.html>


More information about the Openstack mailing list