You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Gaurav Bapat <ga...@gmail.com> on 2017/12/18 03:02:57 UTC
Single Node Metron Installation
Hi All,
I have deployed Metron on single node on centOS 7.2 and used 16 GB RAM with
i5 processor but I am stuck with some network issues.
I am getting connection refused error(Error No 111), also when I check the
logs it says TLS handshake failed.
And when I restart all services, it gives me heartbeat lost error
Please help, as I am not able to deploy Metron.
Thanks,
Gaurav
Re: Single Node Metron Installation
Posted by "Zeolla@GMail.com" <ze...@gmail.com>.
https://gist.github.com/
https://paste.ubuntu.com/
https://pastebin.com/
On Mon, Dec 18, 2017 at 7:50 AM Otto Fowler <ot...@gmail.com> wrote:
> If you have github, you could just create a new gist and post a link to
> that, might be better.
>
>
> On December 18, 2017 at 07:48:08, Gaurav Bapat (gauravb3007@gmail.com)
> wrote:
>
> Can you give me the link??
>
> On 18 Dec 2017 5:14 p.m., "Zeolla@GMail.com" <ze...@gmail.com> wrote:
>
>> You can send them via email or if they're too long upload to a
>> pastebin website and send a link.
>>
>> Jon
>>
>> On Mon, Dec 18, 2017 at 6:14 AM Gaurav Bapat <ga...@gmail.com>
>> wrote:
>>
>>> The metron component was up for 3 hours but later lost the heartbeats of
>>> all component.
>>>
>>> From were do I send you the logs??
>>>
>>>
>>>
>>> On 18 December 2017 at 15:58, Zeolla@GMail.com <ze...@gmail.com> wrote:
>>>
>>>> Can you provide the logs of the initial failure?
>>>>
>>>> Jon
>>>>
>>>> On Sun, Dec 17, 2017, 23:55 Gaurav Bapat <ga...@gmail.com> wrote:
>>>>
>>>>> [gaurav@metron full-dev-platform]$ cat Vagrantfile
>>>>> #
>>>>> # Licensed to the Apache Software Foundation (ASF) under one or more
>>>>> # contributor license agreements. See the NOTICE file distributed
>>>>> with
>>>>> # this work for additional information regarding copyright ownership.
>>>>> # The ASF licenses this file to You under the Apache License, Version
>>>>> 2.0
>>>>> # (the "License"); you may not use this file except in compliance with
>>>>> # the License. You may obtain a copy of the License at
>>>>> #
>>>>> # http://www.apache.org/licenses/LICENSE-2.0
>>>>> #
>>>>> # Unless required by applicable law or agreed to in writing, software
>>>>> # distributed under the License is distributed on an "AS IS" BASIS,
>>>>> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>> implied.
>>>>> # See the License for the specific language governing permissions and
>>>>> # limitations under the License.
>>>>> #
>>>>> require 'getoptlong'
>>>>>
>>>>> ansibleTags=''
>>>>> ansibleSkipTags='sensors'
>>>>>
>>>>> begin
>>>>> opts = GetoptLong.new(
>>>>> [ '--ansible-tags', GetoptLong::OPTIONAL_ARGUMENT ],
>>>>> [ '--ansible-skip-tags', GetoptLong::OPTIONAL_ARGUMENT ]
>>>>> )
>>>>>
>>>>> opts.quiet = TRUE
>>>>>
>>>>> opts.each do |opt, arg|
>>>>> case opt
>>>>> when '--ansible-tags'
>>>>> ansibleTags=arg
>>>>> when '--ansible-skip-tags'
>>>>> ansibleSkipTags=arg
>>>>> end
>>>>> end
>>>>> rescue Exception => ignored
>>>>> #Ignore to allow other opts to be passed to Vagrant
>>>>> end
>>>>>
>>>>> puts " Running with ansible-tags: " + ansibleTags.split(",").to_s if
>>>>> ansibleTags != ''
>>>>> puts " Running with ansible-skip-tags: " +
>>>>> ansibleSkipTags.split(",").to_s if ansibleSkipTags != ''
>>>>>
>>>>> hosts = [{
>>>>> hostname: "node1",
>>>>> ip: "192.168.66.121",
>>>>> memory: "8192",
>>>>> cpus: 4,
>>>>> promisc: 2 # enables promisc on the 'Nth' network interface
>>>>> }]
>>>>>
>>>>> Vagrant.configure(2) do |config|
>>>>>
>>>>> # all hosts built on centos 6
>>>>> config.vm.box = "metron/centos_base"
>>>>> config.ssh.insert_key = true
>>>>>
>>>>> # enable the hostmanager plugin
>>>>> config.hostmanager.enabled = true
>>>>> config.hostmanager.manage_host = true
>>>>>
>>>>> # host definition
>>>>> hosts.each_with_index do |host, index|
>>>>> config.vm.define host[:hostname] do |node|
>>>>>
>>>>> # host settings
>>>>> node.vm.hostname = host[:hostname]
>>>>> node.vm.network "private_network", ip: host[:ip]
>>>>>
>>>>> # vm settings
>>>>> node.vm.provider "virtualbox" do |vb|
>>>>> vb.memory = host[:memory]
>>>>> vb.cpus = host[:cpus]
>>>>>
>>>>> # enable promisc mode on the network interface
>>>>> if host.has_key?(:promisc)
>>>>> vb.customize ["modifyvm", :id,
>>>>> "--nicpromisc#{host[:promisc]}", "allow-all"]
>>>>> end
>>>>> end
>>>>> end
>>>>> end
>>>>>
>>>>> # provisioning
>>>>> config.vm.provision :ansible do |ansible|
>>>>> ansible.playbook = "../../playbooks/metron_full_install.yml"
>>>>> ansible.sudo = true
>>>>> ansible.tags = ansibleTags.split(",") if ansibleTags != ''
>>>>> ansible.skip_tags = ansibleSkipTags.split(",") if ansibleSkipTags
>>>>> != ''
>>>>> ansible.inventory_path = "../../inventory/full-dev-platform"
>>>>> end
>>>>> end
>>>>>
>>>>>
>>>>> On 18 December 2017 at 09:43, pele_smk <pe...@gmail.com> wrote:
>>>>>
>>>>>> Hey Gaurav,
>>>>>> I'm also in the process of building a single node VM. I'm running
>>>>>> into a different set of errors. If you would share your Vagrantfile and any
>>>>>> other changes to ansible or playbooks you made I'll replicate your setup
>>>>>> on my end and see if I hit the TLS issue and troubleshoot it from there.
>>>>>>
>>>>>> Thanks,
>>>>>> Daniel
>>>>>>
>>>>>> On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I have deployed Metron on single node on centOS 7.2 and used 16 GB
>>>>>>> RAM with i5 processor but I am stuck with some network issues.
>>>>>>>
>>>>>>> I am getting connection refused error(Error No 111), also when I
>>>>>>> check the logs it says TLS handshake failed.
>>>>>>>
>>>>>>> And when I restart all services, it gives me heartbeat lost error
>>>>>>>
>>>>>>> Please help, as I am not able to deploy Metron.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Gaurav
>>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>
>>>> Jon
>>>>
>>>
>>> --
>>
>> Jon
>>
> --
Jon
Re: Single Node Metron Installation
Posted by Otto Fowler <ot...@gmail.com>.
If you have github, you could just create a new gist and post a link to
that, might be better.
On December 18, 2017 at 07:48:08, Gaurav Bapat (gauravb3007@gmail.com)
wrote:
Can you give me the link??
On 18 Dec 2017 5:14 p.m., "Zeolla@GMail.com" <ze...@gmail.com> wrote:
> You can send them via email or if they're too long upload to a
> pastebin website and send a link.
>
> Jon
>
> On Mon, Dec 18, 2017 at 6:14 AM Gaurav Bapat <ga...@gmail.com>
> wrote:
>
>> The metron component was up for 3 hours but later lost the heartbeats of
>> all component.
>>
>> From were do I send you the logs??
>>
>>
>>
>> On 18 December 2017 at 15:58, Zeolla@GMail.com <ze...@gmail.com> wrote:
>>
>>> Can you provide the logs of the initial failure?
>>>
>>> Jon
>>>
>>> On Sun, Dec 17, 2017, 23:55 Gaurav Bapat <ga...@gmail.com> wrote:
>>>
>>>> [gaurav@metron full-dev-platform]$ cat Vagrantfile
>>>> #
>>>> # Licensed to the Apache Software Foundation (ASF) under one or more
>>>> # contributor license agreements. See the NOTICE file distributed with
>>>> # this work for additional information regarding copyright ownership.
>>>> # The ASF licenses this file to You under the Apache License, Version
>>>> 2.0
>>>> # (the "License"); you may not use this file except in compliance with
>>>> # the License. You may obtain a copy of the License at
>>>> #
>>>> # http://www.apache.org/licenses/LICENSE-2.0
>>>> #
>>>> # Unless required by applicable law or agreed to in writing, software
>>>> # distributed under the License is distributed on an "AS IS" BASIS,
>>>> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>> implied.
>>>> # See the License for the specific language governing permissions and
>>>> # limitations under the License.
>>>> #
>>>> require 'getoptlong'
>>>>
>>>> ansibleTags=''
>>>> ansibleSkipTags='sensors'
>>>>
>>>> begin
>>>> opts = GetoptLong.new(
>>>> [ '--ansible-tags', GetoptLong::OPTIONAL_ARGUMENT ],
>>>> [ '--ansible-skip-tags', GetoptLong::OPTIONAL_ARGUMENT ]
>>>> )
>>>>
>>>> opts.quiet = TRUE
>>>>
>>>> opts.each do |opt, arg|
>>>> case opt
>>>> when '--ansible-tags'
>>>> ansibleTags=arg
>>>> when '--ansible-skip-tags'
>>>> ansibleSkipTags=arg
>>>> end
>>>> end
>>>> rescue Exception => ignored
>>>> #Ignore to allow other opts to be passed to Vagrant
>>>> end
>>>>
>>>> puts " Running with ansible-tags: " + ansibleTags.split(",").to_s if
>>>> ansibleTags != ''
>>>> puts " Running with ansible-skip-tags: " +
>>>> ansibleSkipTags.split(",").to_s if ansibleSkipTags != ''
>>>>
>>>> hosts = [{
>>>> hostname: "node1",
>>>> ip: "192.168.66.121",
>>>> memory: "8192",
>>>> cpus: 4,
>>>> promisc: 2 # enables promisc on the 'Nth' network interface
>>>> }]
>>>>
>>>> Vagrant.configure(2) do |config|
>>>>
>>>> # all hosts built on centos 6
>>>> config.vm.box = "metron/centos_base"
>>>> config.ssh.insert_key = true
>>>>
>>>> # enable the hostmanager plugin
>>>> config.hostmanager.enabled = true
>>>> config.hostmanager.manage_host = true
>>>>
>>>> # host definition
>>>> hosts.each_with_index do |host, index|
>>>> config.vm.define host[:hostname] do |node|
>>>>
>>>> # host settings
>>>> node.vm.hostname = host[:hostname]
>>>> node.vm.network "private_network", ip: host[:ip]
>>>>
>>>> # vm settings
>>>> node.vm.provider "virtualbox" do |vb|
>>>> vb.memory = host[:memory]
>>>> vb.cpus = host[:cpus]
>>>>
>>>> # enable promisc mode on the network interface
>>>> if host.has_key?(:promisc)
>>>> vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}",
>>>> "allow-all"]
>>>> end
>>>> end
>>>> end
>>>> end
>>>>
>>>> # provisioning
>>>> config.vm.provision :ansible do |ansible|
>>>> ansible.playbook = "../../playbooks/metron_full_install.yml"
>>>> ansible.sudo = true
>>>> ansible.tags = ansibleTags.split(",") if ansibleTags != ''
>>>> ansible.skip_tags = ansibleSkipTags.split(",") if ansibleSkipTags
>>>> != ''
>>>> ansible.inventory_path = "../../inventory/full-dev-platform"
>>>> end
>>>> end
>>>>
>>>>
>>>> On 18 December 2017 at 09:43, pele_smk <pe...@gmail.com> wrote:
>>>>
>>>>> Hey Gaurav,
>>>>> I'm also in the process of building a single node VM. I'm running into
>>>>> a different set of errors. If you would share your Vagrantfile and any
>>>>> other changes to ansible or playbooks you made I'll replicate your setup
>>>>> on my end and see if I hit the TLS issue and troubleshoot it from there.
>>>>>
>>>>> Thanks,
>>>>> Daniel
>>>>>
>>>>> On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I have deployed Metron on single node on centOS 7.2 and used 16 GB
>>>>>> RAM with i5 processor but I am stuck with some network issues.
>>>>>>
>>>>>> I am getting connection refused error(Error No 111), also when I
>>>>>> check the logs it says TLS handshake failed.
>>>>>>
>>>>>> And when I restart all services, it gives me heartbeat lost error
>>>>>>
>>>>>> Please help, as I am not able to deploy Metron.
>>>>>>
>>>>>> Thanks,
>>>>>> Gaurav
>>>>>>
>>>>>
>>>>>
>>>> --
>>>
>>> Jon
>>>
>>
>> --
>
> Jon
>
Re: Single Node Metron Installation
Posted by Gaurav Bapat <ga...@gmail.com>.
Can you give me the link??
On 18 Dec 2017 5:14 p.m., "Zeolla@GMail.com" <ze...@gmail.com> wrote:
> You can send them via email or if they're too long upload to a
> pastebin website and send a link.
>
> Jon
>
> On Mon, Dec 18, 2017 at 6:14 AM Gaurav Bapat <ga...@gmail.com>
> wrote:
>
>> The metron component was up for 3 hours but later lost the heartbeats of
>> all component.
>>
>> From were do I send you the logs??
>>
>>
>>
>> On 18 December 2017 at 15:58, Zeolla@GMail.com <ze...@gmail.com> wrote:
>>
>>> Can you provide the logs of the initial failure?
>>>
>>> Jon
>>>
>>> On Sun, Dec 17, 2017, 23:55 Gaurav Bapat <ga...@gmail.com> wrote:
>>>
>>>> [gaurav@metron full-dev-platform]$ cat Vagrantfile
>>>> #
>>>> # Licensed to the Apache Software Foundation (ASF) under one or more
>>>> # contributor license agreements. See the NOTICE file distributed with
>>>> # this work for additional information regarding copyright ownership.
>>>> # The ASF licenses this file to You under the Apache License, Version
>>>> 2.0
>>>> # (the "License"); you may not use this file except in compliance with
>>>> # the License. You may obtain a copy of the License at
>>>> #
>>>> # http://www.apache.org/licenses/LICENSE-2.0
>>>> #
>>>> # Unless required by applicable law or agreed to in writing, software
>>>> # distributed under the License is distributed on an "AS IS" BASIS,
>>>> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>> implied.
>>>> # See the License for the specific language governing permissions and
>>>> # limitations under the License.
>>>> #
>>>> require 'getoptlong'
>>>>
>>>> ansibleTags=''
>>>> ansibleSkipTags='sensors'
>>>>
>>>> begin
>>>> opts = GetoptLong.new(
>>>> [ '--ansible-tags', GetoptLong::OPTIONAL_ARGUMENT ],
>>>> [ '--ansible-skip-tags', GetoptLong::OPTIONAL_ARGUMENT ]
>>>> )
>>>>
>>>> opts.quiet = TRUE
>>>>
>>>> opts.each do |opt, arg|
>>>> case opt
>>>> when '--ansible-tags'
>>>> ansibleTags=arg
>>>> when '--ansible-skip-tags'
>>>> ansibleSkipTags=arg
>>>> end
>>>> end
>>>> rescue Exception => ignored
>>>> #Ignore to allow other opts to be passed to Vagrant
>>>> end
>>>>
>>>> puts " Running with ansible-tags: " + ansibleTags.split(",").to_s if
>>>> ansibleTags != ''
>>>> puts " Running with ansible-skip-tags: " +
>>>> ansibleSkipTags.split(",").to_s if ansibleSkipTags != ''
>>>>
>>>> hosts = [{
>>>> hostname: "node1",
>>>> ip: "192.168.66.121",
>>>> memory: "8192",
>>>> cpus: 4,
>>>> promisc: 2 # enables promisc on the 'Nth' network interface
>>>> }]
>>>>
>>>> Vagrant.configure(2) do |config|
>>>>
>>>> # all hosts built on centos 6
>>>> config.vm.box = "metron/centos_base"
>>>> config.ssh.insert_key = true
>>>>
>>>> # enable the hostmanager plugin
>>>> config.hostmanager.enabled = true
>>>> config.hostmanager.manage_host = true
>>>>
>>>> # host definition
>>>> hosts.each_with_index do |host, index|
>>>> config.vm.define host[:hostname] do |node|
>>>>
>>>> # host settings
>>>> node.vm.hostname = host[:hostname]
>>>> node.vm.network "private_network", ip: host[:ip]
>>>>
>>>> # vm settings
>>>> node.vm.provider "virtualbox" do |vb|
>>>> vb.memory = host[:memory]
>>>> vb.cpus = host[:cpus]
>>>>
>>>> # enable promisc mode on the network interface
>>>> if host.has_key?(:promisc)
>>>> vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}",
>>>> "allow-all"]
>>>> end
>>>> end
>>>> end
>>>> end
>>>>
>>>> # provisioning
>>>> config.vm.provision :ansible do |ansible|
>>>> ansible.playbook = "../../playbooks/metron_full_install.yml"
>>>> ansible.sudo = true
>>>> ansible.tags = ansibleTags.split(",") if ansibleTags != ''
>>>> ansible.skip_tags = ansibleSkipTags.split(",") if ansibleSkipTags
>>>> != ''
>>>> ansible.inventory_path = "../../inventory/full-dev-platform"
>>>> end
>>>> end
>>>>
>>>>
>>>> On 18 December 2017 at 09:43, pele_smk <pe...@gmail.com> wrote:
>>>>
>>>>> Hey Gaurav,
>>>>> I'm also in the process of building a single node VM. I'm running into
>>>>> a different set of errors. If you would share your Vagrantfile and any
>>>>> other changes to ansible or playbooks you made I'll replicate your setup
>>>>> on my end and see if I hit the TLS issue and troubleshoot it from there.
>>>>>
>>>>> Thanks,
>>>>> Daniel
>>>>>
>>>>> On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I have deployed Metron on single node on centOS 7.2 and used 16 GB
>>>>>> RAM with i5 processor but I am stuck with some network issues.
>>>>>>
>>>>>> I am getting connection refused error(Error No 111), also when I
>>>>>> check the logs it says TLS handshake failed.
>>>>>>
>>>>>> And when I restart all services, it gives me heartbeat lost error
>>>>>>
>>>>>> Please help, as I am not able to deploy Metron.
>>>>>>
>>>>>> Thanks,
>>>>>> Gaurav
>>>>>>
>>>>>
>>>>>
>>>> --
>>>
>>> Jon
>>>
>>
>> --
>
> Jon
>
Re: Single Node Metron Installation
Posted by "Zeolla@GMail.com" <ze...@gmail.com>.
You can send them via email or if they're too long upload to a
pastebin website and send a link.
Jon
On Mon, Dec 18, 2017 at 6:14 AM Gaurav Bapat <ga...@gmail.com> wrote:
> The metron component was up for 3 hours but later lost the heartbeats of
> all component.
>
> From were do I send you the logs??
>
>
>
> On 18 December 2017 at 15:58, Zeolla@GMail.com <ze...@gmail.com> wrote:
>
>> Can you provide the logs of the initial failure?
>>
>> Jon
>>
>> On Sun, Dec 17, 2017, 23:55 Gaurav Bapat <ga...@gmail.com> wrote:
>>
>>> [gaurav@metron full-dev-platform]$ cat Vagrantfile
>>> #
>>> # Licensed to the Apache Software Foundation (ASF) under one or more
>>> # contributor license agreements. See the NOTICE file distributed with
>>> # this work for additional information regarding copyright ownership.
>>> # The ASF licenses this file to You under the Apache License, Version
>>> 2.0
>>> # (the "License"); you may not use this file except in compliance with
>>> # the License. You may obtain a copy of the License at
>>> #
>>> # http://www.apache.org/licenses/LICENSE-2.0
>>> #
>>> # Unless required by applicable law or agreed to in writing, software
>>> # distributed under the License is distributed on an "AS IS" BASIS,
>>> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>> implied.
>>> # See the License for the specific language governing permissions and
>>> # limitations under the License.
>>> #
>>> require 'getoptlong'
>>>
>>> ansibleTags=''
>>> ansibleSkipTags='sensors'
>>>
>>> begin
>>> opts = GetoptLong.new(
>>> [ '--ansible-tags', GetoptLong::OPTIONAL_ARGUMENT ],
>>> [ '--ansible-skip-tags', GetoptLong::OPTIONAL_ARGUMENT ]
>>> )
>>>
>>> opts.quiet = TRUE
>>>
>>> opts.each do |opt, arg|
>>> case opt
>>> when '--ansible-tags'
>>> ansibleTags=arg
>>> when '--ansible-skip-tags'
>>> ansibleSkipTags=arg
>>> end
>>> end
>>> rescue Exception => ignored
>>> #Ignore to allow other opts to be passed to Vagrant
>>> end
>>>
>>> puts " Running with ansible-tags: " + ansibleTags.split(",").to_s if
>>> ansibleTags != ''
>>> puts " Running with ansible-skip-tags: " +
>>> ansibleSkipTags.split(",").to_s if ansibleSkipTags != ''
>>>
>>> hosts = [{
>>> hostname: "node1",
>>> ip: "192.168.66.121",
>>> memory: "8192",
>>> cpus: 4,
>>> promisc: 2 # enables promisc on the 'Nth' network interface
>>> }]
>>>
>>> Vagrant.configure(2) do |config|
>>>
>>> # all hosts built on centos 6
>>> config.vm.box = "metron/centos_base"
>>> config.ssh.insert_key = true
>>>
>>> # enable the hostmanager plugin
>>> config.hostmanager.enabled = true
>>> config.hostmanager.manage_host = true
>>>
>>> # host definition
>>> hosts.each_with_index do |host, index|
>>> config.vm.define host[:hostname] do |node|
>>>
>>> # host settings
>>> node.vm.hostname = host[:hostname]
>>> node.vm.network "private_network", ip: host[:ip]
>>>
>>> # vm settings
>>> node.vm.provider "virtualbox" do |vb|
>>> vb.memory = host[:memory]
>>> vb.cpus = host[:cpus]
>>>
>>> # enable promisc mode on the network interface
>>> if host.has_key?(:promisc)
>>> vb.customize ["modifyvm", :id,
>>> "--nicpromisc#{host[:promisc]}", "allow-all"]
>>> end
>>> end
>>> end
>>> end
>>>
>>> # provisioning
>>> config.vm.provision :ansible do |ansible|
>>> ansible.playbook = "../../playbooks/metron_full_install.yml"
>>> ansible.sudo = true
>>> ansible.tags = ansibleTags.split(",") if ansibleTags != ''
>>> ansible.skip_tags = ansibleSkipTags.split(",") if ansibleSkipTags !=
>>> ''
>>> ansible.inventory_path = "../../inventory/full-dev-platform"
>>> end
>>> end
>>>
>>>
>>> On 18 December 2017 at 09:43, pele_smk <pe...@gmail.com> wrote:
>>>
>>>> Hey Gaurav,
>>>> I'm also in the process of building a single node VM. I'm running into
>>>> a different set of errors. If you would share your Vagrantfile and any
>>>> other changes to ansible or playbooks you made I'll replicate your setup
>>>> on my end and see if I hit the TLS issue and troubleshoot it from there.
>>>>
>>>> Thanks,
>>>> Daniel
>>>>
>>>> On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I have deployed Metron on single node on centOS 7.2 and used 16 GB RAM
>>>>> with i5 processor but I am stuck with some network issues.
>>>>>
>>>>> I am getting connection refused error(Error No 111), also when I check
>>>>> the logs it says TLS handshake failed.
>>>>>
>>>>> And when I restart all services, it gives me heartbeat lost error
>>>>>
>>>>> Please help, as I am not able to deploy Metron.
>>>>>
>>>>> Thanks,
>>>>> Gaurav
>>>>>
>>>>
>>>>
>>> --
>>
>> Jon
>>
>
> --
Jon
Re: Single Node Metron Installation
Posted by Gaurav Bapat <ga...@gmail.com>.
The metron component was up for 3 hours but later lost the heartbeats of
all component.
From were do I send you the logs??
On 18 December 2017 at 15:58, Zeolla@GMail.com <ze...@gmail.com> wrote:
> Can you provide the logs of the initial failure?
>
> Jon
>
> On Sun, Dec 17, 2017, 23:55 Gaurav Bapat <ga...@gmail.com> wrote:
>
>> [gaurav@metron full-dev-platform]$ cat Vagrantfile
>> #
>> # Licensed to the Apache Software Foundation (ASF) under one or more
>> # contributor license agreements. See the NOTICE file distributed with
>> # this work for additional information regarding copyright ownership.
>> # The ASF licenses this file to You under the Apache License, Version 2.0
>> # (the "License"); you may not use this file except in compliance with
>> # the License. You may obtain a copy of the License at
>> #
>> # http://www.apache.org/licenses/LICENSE-2.0
>> #
>> # Unless required by applicable law or agreed to in writing, software
>> # distributed under the License is distributed on an "AS IS" BASIS,
>> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>> implied.
>> # See the License for the specific language governing permissions and
>> # limitations under the License.
>> #
>> require 'getoptlong'
>>
>> ansibleTags=''
>> ansibleSkipTags='sensors'
>>
>> begin
>> opts = GetoptLong.new(
>> [ '--ansible-tags', GetoptLong::OPTIONAL_ARGUMENT ],
>> [ '--ansible-skip-tags', GetoptLong::OPTIONAL_ARGUMENT ]
>> )
>>
>> opts.quiet = TRUE
>>
>> opts.each do |opt, arg|
>> case opt
>> when '--ansible-tags'
>> ansibleTags=arg
>> when '--ansible-skip-tags'
>> ansibleSkipTags=arg
>> end
>> end
>> rescue Exception => ignored
>> #Ignore to allow other opts to be passed to Vagrant
>> end
>>
>> puts " Running with ansible-tags: " + ansibleTags.split(",").to_s if
>> ansibleTags != ''
>> puts " Running with ansible-skip-tags: " + ansibleSkipTags.split(",").to_s
>> if ansibleSkipTags != ''
>>
>> hosts = [{
>> hostname: "node1",
>> ip: "192.168.66.121",
>> memory: "8192",
>> cpus: 4,
>> promisc: 2 # enables promisc on the 'Nth' network interface
>> }]
>>
>> Vagrant.configure(2) do |config|
>>
>> # all hosts built on centos 6
>> config.vm.box = "metron/centos_base"
>> config.ssh.insert_key = true
>>
>> # enable the hostmanager plugin
>> config.hostmanager.enabled = true
>> config.hostmanager.manage_host = true
>>
>> # host definition
>> hosts.each_with_index do |host, index|
>> config.vm.define host[:hostname] do |node|
>>
>> # host settings
>> node.vm.hostname = host[:hostname]
>> node.vm.network "private_network", ip: host[:ip]
>>
>> # vm settings
>> node.vm.provider "virtualbox" do |vb|
>> vb.memory = host[:memory]
>> vb.cpus = host[:cpus]
>>
>> # enable promisc mode on the network interface
>> if host.has_key?(:promisc)
>> vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}",
>> "allow-all"]
>> end
>> end
>> end
>> end
>>
>> # provisioning
>> config.vm.provision :ansible do |ansible|
>> ansible.playbook = "../../playbooks/metron_full_install.yml"
>> ansible.sudo = true
>> ansible.tags = ansibleTags.split(",") if ansibleTags != ''
>> ansible.skip_tags = ansibleSkipTags.split(",") if ansibleSkipTags !=
>> ''
>> ansible.inventory_path = "../../inventory/full-dev-platform"
>> end
>> end
>>
>>
>> On 18 December 2017 at 09:43, pele_smk <pe...@gmail.com> wrote:
>>
>>> Hey Gaurav,
>>> I'm also in the process of building a single node VM. I'm running into a
>>> different set of errors. If you would share your Vagrantfile and any other
>>> changes to ansible or playbooks you made I'll replicate your setup on my
>>> end and see if I hit the TLS issue and troubleshoot it from there.
>>>
>>> Thanks,
>>> Daniel
>>>
>>> On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have deployed Metron on single node on centOS 7.2 and used 16 GB RAM
>>>> with i5 processor but I am stuck with some network issues.
>>>>
>>>> I am getting connection refused error(Error No 111), also when I check
>>>> the logs it says TLS handshake failed.
>>>>
>>>> And when I restart all services, it gives me heartbeat lost error
>>>>
>>>> Please help, as I am not able to deploy Metron.
>>>>
>>>> Thanks,
>>>> Gaurav
>>>>
>>>
>>>
>> --
>
> Jon
>
Re: Single Node Metron Installation
Posted by "Zeolla@GMail.com" <ze...@gmail.com>.
Can you provide the logs of the initial failure?
Jon
On Sun, Dec 17, 2017, 23:55 Gaurav Bapat <ga...@gmail.com> wrote:
> [gaurav@metron full-dev-platform]$ cat Vagrantfile
> #
> # Licensed to the Apache Software Foundation (ASF) under one or more
> # contributor license agreements. See the NOTICE file distributed with
> # this work for additional information regarding copyright ownership.
> # The ASF licenses this file to You under the Apache License, Version 2.0
> # (the "License"); you may not use this file except in compliance with
> # the License. You may obtain a copy of the License at
> #
> # http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
> #
> require 'getoptlong'
>
> ansibleTags=''
> ansibleSkipTags='sensors'
>
> begin
> opts = GetoptLong.new(
> [ '--ansible-tags', GetoptLong::OPTIONAL_ARGUMENT ],
> [ '--ansible-skip-tags', GetoptLong::OPTIONAL_ARGUMENT ]
> )
>
> opts.quiet = TRUE
>
> opts.each do |opt, arg|
> case opt
> when '--ansible-tags'
> ansibleTags=arg
> when '--ansible-skip-tags'
> ansibleSkipTags=arg
> end
> end
> rescue Exception => ignored
> #Ignore to allow other opts to be passed to Vagrant
> end
>
> puts " Running with ansible-tags: " + ansibleTags.split(",").to_s if
> ansibleTags != ''
> puts " Running with ansible-skip-tags: " + ansibleSkipTags.split(",").to_s
> if ansibleSkipTags != ''
>
> hosts = [{
> hostname: "node1",
> ip: "192.168.66.121",
> memory: "8192",
> cpus: 4,
> promisc: 2 # enables promisc on the 'Nth' network interface
> }]
>
> Vagrant.configure(2) do |config|
>
> # all hosts built on centos 6
> config.vm.box = "metron/centos_base"
> config.ssh.insert_key = true
>
> # enable the hostmanager plugin
> config.hostmanager.enabled = true
> config.hostmanager.manage_host = true
>
> # host definition
> hosts.each_with_index do |host, index|
> config.vm.define host[:hostname] do |node|
>
> # host settings
> node.vm.hostname = host[:hostname]
> node.vm.network "private_network", ip: host[:ip]
>
> # vm settings
> node.vm.provider "virtualbox" do |vb|
> vb.memory = host[:memory]
> vb.cpus = host[:cpus]
>
> # enable promisc mode on the network interface
> if host.has_key?(:promisc)
> vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}",
> "allow-all"]
> end
> end
> end
> end
>
> # provisioning
> config.vm.provision :ansible do |ansible|
> ansible.playbook = "../../playbooks/metron_full_install.yml"
> ansible.sudo = true
> ansible.tags = ansibleTags.split(",") if ansibleTags != ''
> ansible.skip_tags = ansibleSkipTags.split(",") if ansibleSkipTags != ''
> ansible.inventory_path = "../../inventory/full-dev-platform"
> end
> end
>
>
> On 18 December 2017 at 09:43, pele_smk <pe...@gmail.com> wrote:
>
>> Hey Gaurav,
>> I'm also in the process of building a single node VM. I'm running into a
>> different set of errors. If you would share your Vagrantfile and any other
>> changes to ansible or playbooks you made I'll replicate your setup on my
>> end and see if I hit the TLS issue and troubleshoot it from there.
>>
>> Thanks,
>> Daniel
>>
>> On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> I have deployed Metron on single node on centOS 7.2 and used 16 GB RAM
>>> with i5 processor but I am stuck with some network issues.
>>>
>>> I am getting connection refused error(Error No 111), also when I check
>>> the logs it says TLS handshake failed.
>>>
>>> And when I restart all services, it gives me heartbeat lost error
>>>
>>> Please help, as I am not able to deploy Metron.
>>>
>>> Thanks,
>>> Gaurav
>>>
>>
>>
> --
Jon
Re: Single Node Metron Installation
Posted by Gaurav Bapat <ga...@gmail.com>.
[gaurav@metron full-dev-platform]$ cat Vagrantfile
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
require 'getoptlong'
ansibleTags=''
ansibleSkipTags='sensors'
begin
opts = GetoptLong.new(
[ '--ansible-tags', GetoptLong::OPTIONAL_ARGUMENT ],
[ '--ansible-skip-tags', GetoptLong::OPTIONAL_ARGUMENT ]
)
opts.quiet = TRUE
opts.each do |opt, arg|
case opt
when '--ansible-tags'
ansibleTags=arg
when '--ansible-skip-tags'
ansibleSkipTags=arg
end
end
rescue Exception => ignored
#Ignore to allow other opts to be passed to Vagrant
end
puts " Running with ansible-tags: " + ansibleTags.split(",").to_s if
ansibleTags != ''
puts " Running with ansible-skip-tags: " + ansibleSkipTags.split(",").to_s
if ansibleSkipTags != ''
hosts = [{
hostname: "node1",
ip: "192.168.66.121",
memory: "8192",
cpus: 4,
promisc: 2 # enables promisc on the 'Nth' network interface
}]
Vagrant.configure(2) do |config|
# all hosts built on centos 6
config.vm.box = "metron/centos_base"
config.ssh.insert_key = true
# enable the hostmanager plugin
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
# host definition
hosts.each_with_index do |host, index|
config.vm.define host[:hostname] do |node|
# host settings
node.vm.hostname = host[:hostname]
node.vm.network "private_network", ip: host[:ip]
# vm settings
node.vm.provider "virtualbox" do |vb|
vb.memory = host[:memory]
vb.cpus = host[:cpus]
# enable promisc mode on the network interface
if host.has_key?(:promisc)
vb.customize ["modifyvm", :id, "--nicpromisc#{host[:promisc]}",
"allow-all"]
end
end
end
end
# provisioning
config.vm.provision :ansible do |ansible|
ansible.playbook = "../../playbooks/metron_full_install.yml"
ansible.sudo = true
ansible.tags = ansibleTags.split(",") if ansibleTags != ''
ansible.skip_tags = ansibleSkipTags.split(",") if ansibleSkipTags != ''
ansible.inventory_path = "../../inventory/full-dev-platform"
end
end
On 18 December 2017 at 09:43, pele_smk <pe...@gmail.com> wrote:
> Hey Gaurav,
> I'm also in the process of building a single node VM. I'm running into a
> different set of errors. If you would share your Vagrantfile and any other
> changes to ansible or playbooks you made I'll replicate your setup on my
> end and see if I hit the TLS issue and troubleshoot it from there.
>
> Thanks,
> Daniel
>
> On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com>
> wrote:
>
>> Hi All,
>>
>> I have deployed Metron on single node on centOS 7.2 and used 16 GB RAM
>> with i5 processor but I am stuck with some network issues.
>>
>> I am getting connection refused error(Error No 111), also when I check
>> the logs it says TLS handshake failed.
>>
>> And when I restart all services, it gives me heartbeat lost error
>>
>> Please help, as I am not able to deploy Metron.
>>
>> Thanks,
>> Gaurav
>>
>
>
Re: Single Node Metron Installation
Posted by pele_smk <pe...@gmail.com>.
Hey Gaurav,
I'm also in the process of building a single node VM. I'm running into a
different set of errors. If you would share your Vagrantfile and any other
changes to ansible or playbooks you made I'll replicate your setup on my
end and see if I hit the TLS issue and troubleshoot it from there.
Thanks,
Daniel
On Sun, Dec 17, 2017 at 7:02 PM, Gaurav Bapat <ga...@gmail.com> wrote:
> Hi All,
>
> I have deployed Metron on single node on centOS 7.2 and used 16 GB RAM
> with i5 processor but I am stuck with some network issues.
>
> I am getting connection refused error(Error No 111), also when I check the
> logs it says TLS handshake failed.
>
> And when I restart all services, it gives me heartbeat lost error
>
> Please help, as I am not able to deploy Metron.
>
> Thanks,
> Gaurav
>