Re: Issues with Quick Dev Installation

2016-10-12 Thread Dima Kovalyov
Thanks Nick,

I have left my comment. Is there any other information I can provide to
help troubleshoot this?

- Dima

On 10/12/2016 08:20 PM, Nick Allen wrote:
> We do have an open issue on this;
> https://issues.apache.org/jira/browse/METRON-353
>
> It would be great if anyone seeing this issue, would chime in with a
> comment on the JIRA describing their experience (just like Dima).  If you
> are an overachiever and want a gold star, add the output of running
> `metron-deployment/scripts/platform-info.sh` to your JIRA comment.
>
> On Wed, Oct 12, 2016 at 12:32 PM, Dima Kovalyov 
> wrote:
>
>> I can confirm that I start mysqld manually every time (performed around
>> 10 single-node installs). Was wondering whether I did something wrong.
>>
>> - Dima
>>
>> On 10/12/2016 04:30 PM, Carolyn Duby wrote:
>>> I instantiated quick-dev twice and had the same results. Not quite
>> statistically significant yet but definitely a trend.
>>> Carolyn
>>>
>>>
>>>
>>>
>>> On 10/12/16, 9:27 AM, "Nick Allen"  wrote:
>>>
 Thanks, Carolyn.  Good to know that you are experiencing that too.  I
 wasn't sure if it was a "sometimes" kind of thing.

 On Wed, Oct 12, 2016 at 9:20 AM, Carolyn Duby 
>> wrote:
> Rita:  Here is the command to restart mysql
>
> sudo service mysqld start
>
>
> Michael Young posted an article on debugging quick dev that contains a
>> lot
> of helpful hints:
>
> https://community.hortonworks.com/content/kbentry/59801/
> troubleshooting-missing-events-in-metron-quick-dev.html
>
>
> I think the monit configuration for mysql may be incorrect.  The mysql
> service doesn’t come up by itself.  You have to start it after you
>> create
> quick dev.
>
> Thanks
> Carolyn
>
>
>
>
> On 10/12/16, 8:47 AM, "Nick Allen"  wrote:
>
>> It seems to work for me.  Something like the following...
>>
>> - name: "Check for Metron jar path: {{ metron_jar_path }}"
>>>   local_action: stat path={{ metron_jar_path }}
>>>   become: false
>>>   register: metron_jars
>>>
>>> - name: Verify Metron jars exist
>>>   fail: msg="Unable to locate staged Metron jars at {{
>> metron_jar_path
>>> }}.  Did you run 'mvn package'?"
>>>   when: not metron_jars.stat.exists
>> On Wed, Oct 12, 2016 at 8:24 AM, Kyle Richardson <
> kylerichards...@gmail.com>
>> wrote:
>>
>>> I like that idea. It seems much cleaner. Let me give it a try.
>>>
>>> On Tue, Oct 11, 2016 at 9:53 PM, Nick Allen 
>> wrote:
 Does it really need to sudo? Can we do something like "become:
>> false"
> so
>>> it
 doesn't try to sudo?

 On Oct 11, 2016 9:33 PM, "Kyle Richardson" <
>> kylerichards...@gmail.com
 wrote:

> Ok, I think I have the fix for this. With the new local_action
> logic,
> ansible is checking the jar path on the host with sudo but doesn't
> have
 the
> password. Just need to add the line below to the Vagrantfile.
>
> ansible.ask_sudo_pass = true
>
> I will test tomorrow and, if successful, open a new PR for the fix.
>
>
> On Tue, Oct 11, 2016 at 8:42 PM, Kyle Richardson <
> kylerichards...@gmail.com>
> wrote:
>
>> This error could be related to my PR that was merged today
>>> (METRON-492
>> ). I tested
>>> this
>> successfully in a single node vm deployment, but not with vagrant.
> Perhaps
>> there is something about vagrant that doesn't like the ansible
> local_action
>> logic? I'm trying to reproduce the error now.
>>
>> On Tue, Oct 11, 2016 at 7:06 PM, Nick Allen 
 wrote:
>>> Hi Rita -
>>>
>>> Yes, I was seeing this same issue today.  I haven't looked into
> the
> cause
>>> yet, but you can comment out that check and proceed with the
>>> install.
>>> Doing this from memory, but I believe it is in
>>> metron-deployment/roles/metron_common/tasks/main.yml.  Comment
> out
>>> or
>>> delete any task that references the "metron_jar_path" variable.
>>> There
> are
>>> two tasks that need commented out.
>>>
>>> I will try and get a fix out tomorrow.
>>>
>>> On Oct 11, 2016 6:35 PM, "Rita McKissick" <
>>> rmckiss...@hortonworks.com
>>> wrote:
>>>
 *** Resending because this message seemed to disappear into the
 ether
>>> and
 I didn’t receive a copy of it.

 I’m having difficulties with the latest Quick Development
> Platform

Re: Issues with Quick Dev Installation

2016-10-12 Thread Nick Allen
We do have an open issue on this;
https://issues.apache.org/jira/browse/METRON-353

It would be great if anyone seeing this issue, would chime in with a
comment on the JIRA describing their experience (just like Dima).  If you
are an overachiever and want a gold star, add the output of running
`metron-deployment/scripts/platform-info.sh` to your JIRA comment.

On Wed, Oct 12, 2016 at 12:32 PM, Dima Kovalyov 
wrote:

> I can confirm that I start mysqld manually every time (performed around
> 10 single-node installs). Was wondering whether I did something wrong.
>
> - Dima
>
> On 10/12/2016 04:30 PM, Carolyn Duby wrote:
> > I instantiated quick-dev twice and had the same results. Not quite
> statistically significant yet but definitely a trend.
> >
> > Carolyn
> >
> >
> >
> >
> > On 10/12/16, 9:27 AM, "Nick Allen"  wrote:
> >
> >> Thanks, Carolyn.  Good to know that you are experiencing that too.  I
> >> wasn't sure if it was a "sometimes" kind of thing.
> >>
> >> On Wed, Oct 12, 2016 at 9:20 AM, Carolyn Duby 
> wrote:
> >>
> >>> Rita:  Here is the command to restart mysql
> >>>
> >>> sudo service mysqld start
> >>>
> >>>
> >>> Michael Young posted an article on debugging quick dev that contains a
> lot
> >>> of helpful hints:
> >>>
> >>> https://community.hortonworks.com/content/kbentry/59801/
> >>> troubleshooting-missing-events-in-metron-quick-dev.html
> >>>
> >>>
> >>> I think the monit configuration for mysql may be incorrect.  The mysql
> >>> service doesn’t come up by itself.  You have to start it after you
> create
> >>> quick dev.
> >>>
> >>> Thanks
> >>> Carolyn
> >>>
> >>>
> >>>
> >>>
> >>> On 10/12/16, 8:47 AM, "Nick Allen"  wrote:
> >>>
>  It seems to work for me.  Something like the following...
> 
>  - name: "Check for Metron jar path: {{ metron_jar_path }}"
> >   local_action: stat path={{ metron_jar_path }}
> >   become: false
> >   register: metron_jars
> >
> 
> > - name: Verify Metron jars exist
> >   fail: msg="Unable to locate staged Metron jars at {{
> metron_jar_path
> > }}.  Did you run 'mvn package'?"
> >   when: not metron_jars.stat.exists
> 
>  On Wed, Oct 12, 2016 at 8:24 AM, Kyle Richardson <
> >>> kylerichards...@gmail.com>
>  wrote:
> 
> > I like that idea. It seems much cleaner. Let me give it a try.
> >
> > On Tue, Oct 11, 2016 at 9:53 PM, Nick Allen 
> wrote:
> >
> >> Does it really need to sudo? Can we do something like "become:
> false"
> >>> so
> > it
> >> doesn't try to sudo?
> >>
> >> On Oct 11, 2016 9:33 PM, "Kyle Richardson" <
> kylerichards...@gmail.com
> >> wrote:
> >>
> >>> Ok, I think I have the fix for this. With the new local_action
> >>> logic,
> >>> ansible is checking the jar path on the host with sudo but doesn't
> >>> have
> >> the
> >>> password. Just need to add the line below to the Vagrantfile.
> >>>
> >>> ansible.ask_sudo_pass = true
> >>>
> >>> I will test tomorrow and, if successful, open a new PR for the fix.
> >>>
> >>>
> >>> On Tue, Oct 11, 2016 at 8:42 PM, Kyle Richardson <
> >>> kylerichards...@gmail.com>
> >>> wrote:
> >>>
>  This error could be related to my PR that was merged today
> > (METRON-492
>  ). I tested
> > this
>  successfully in a single node vm deployment, but not with vagrant.
> >>> Perhaps
>  there is something about vagrant that doesn't like the ansible
> >>> local_action
>  logic? I'm trying to reproduce the error now.
> 
>  On Tue, Oct 11, 2016 at 7:06 PM, Nick Allen 
> >> wrote:
> > Hi Rita -
> >
> > Yes, I was seeing this same issue today.  I haven't looked into
> >>> the
> >>> cause
> > yet, but you can comment out that check and proceed with the
> > install.
> > Doing this from memory, but I believe it is in
> > metron-deployment/roles/metron_common/tasks/main.yml.  Comment
> >>> out
> > or
> > delete any task that references the "metron_jar_path" variable.
> > There
> >>> are
> > two tasks that need commented out.
> >
> > I will try and get a fix out tomorrow.
> >
> > On Oct 11, 2016 6:35 PM, "Rita McKissick" <
> > rmckiss...@hortonworks.com
> > wrote:
> >
> >> *** Resending because this message seemed to disappear into the
> >> ether
> > and
> >> I didn’t receive a copy of it.
> >>
> >> I’m having difficulties with the latest Quick Development
> >>> Platform
> >> installation. During deployment I received the following error
> >>> message:
> >> --
> >>
> >> TASK 

Re: Issues with Quick Dev Installation

2016-10-12 Thread Nick Allen
I was right the first time.  You need to use `mysqld`.

[vagrant@node1 ~]$ service mysqld status
mysqld status unknown due to insufficient privileges.

[vagrant@node1 ~]$ sudo su -
[root@node1 ~]# service mysqld status
mysqld (pid  1734) is running...

On Tue, Oct 11, 2016 at 10:20 PM, Nick Allen  wrote:

> Try with "mysql" instead of "mysqld". I am probably remembering the
> service name incorrectly.
>
> On Oct 11, 2016 9:59 PM, "Rita McKissick" 
> wrote:
>
>> Hi Nick,
>>
>> Aah, I had forgotten about this. Can you tell where I run "service mysqld
>> status" and "service mysqld
>> start” from. I keep getting mysqld: unrecognized service and I’m pretty
>> sure I’m running the command from the wrong location.
>>
>> Thanks,
>>
>> Rita
>>
>> Rita McKissick ! Sr. Technical Writer
>>
>>
>>
>>
>>
>>
>>
>>
>> On 10/11/16, 4:11 PM, "Nick Allen"  wrote:
>>
>> >To your second point about no data showing up, I have noticed that MySQL
>> is
>> >sometimes not started which prevents the enrichment topic from moving
>> >data.
>> >
>> >I have not investigated but it might be due to memory constraints on the
>> >virtual node.
>> >
>> >Check if MySQL is running with "service mysqld status" and "service
>> mysqld
>> >start".  You may need to redeploy the topology after that restart if you
>> >don't want to wait a while for things to heal on their own.
>> >
>> >On Oct 11, 2016 6:35 PM, "Rita McKissick" 
>> >wrote:
>> >
>> >> *** Resending because this message seemed to disappear into the ether
>> and
>> >> I didn’t receive a copy of it.
>> >>
>> >> I’m having difficulties with the latest Quick Development Platform
>> >> installation. During deployment I received the following error message:
>> >>
>> >> --
>> >>
>> >> TASK [metron_common : Check for Metron jar path]
>> >> ***
>> >> fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed":
>> true,
>> >> "module_stderr": "sudo: a password is required\n", "module_stdout": "",
>> >> "msg": "MODULE FAILURE", "parsed": false}
>> >>
>> >> PLAY RECAP **
>> **
>> >> *
>> >> node1  : ok=20   changed=2unreachable=0
>> failed=1
>> >>
>> >> Ansible failed to complete successfully. Any error output should be
>> >> visible above. Please fix these errors and try again.
>> >>
>> >> -
>> >>
>> >>
>> >> Everything up to this point looked fine.
>> >>
>> >> By the way, I installed the latest Quick-Dev installation earlier this
>> >> afternoon and it didn’t install/configure any topologies. That’s why I
>> did
>> >> a second install … which turned out even worse.
>> >>
>> >> Anyone else having this issue? Can someone help me with a fix or
>> >> workaround?
>> >>
>> >> Thank you!
>> >>
>> >> Rita
>> >>
>> >> Rita McKissick ! Sr. Technical Writer
>> >>
>> >>
>> >>
>>
>


-- 
Nick Allen 


Re: Issues with Quick Dev Installation

2016-10-12 Thread Carolyn Duby
I instantiated quick-dev twice and had the same results. Not quite 
statistically significant yet but definitely a trend.

Carolyn




On 10/12/16, 9:27 AM, "Nick Allen"  wrote:

>Thanks, Carolyn.  Good to know that you are experiencing that too.  I
>wasn't sure if it was a "sometimes" kind of thing.
>
>On Wed, Oct 12, 2016 at 9:20 AM, Carolyn Duby  wrote:
>
>> Rita:  Here is the command to restart mysql
>>
>> sudo service mysqld start
>>
>>
>> Michael Young posted an article on debugging quick dev that contains a lot
>> of helpful hints:
>>
>> https://community.hortonworks.com/content/kbentry/59801/
>> troubleshooting-missing-events-in-metron-quick-dev.html
>>
>>
>> I think the monit configuration for mysql may be incorrect.  The mysql
>> service doesn’t come up by itself.  You have to start it after you create
>> quick dev.
>>
>> Thanks
>> Carolyn
>>
>>
>>
>>
>> On 10/12/16, 8:47 AM, "Nick Allen"  wrote:
>>
>> >It seems to work for me.  Something like the following...
>> >
>> >- name: "Check for Metron jar path: {{ metron_jar_path }}"
>> >>   local_action: stat path={{ metron_jar_path }}
>> >>   become: false
>> >>   register: metron_jars
>> >>
>> >
>> >
>> >> - name: Verify Metron jars exist
>> >>   fail: msg="Unable to locate staged Metron jars at {{ metron_jar_path
>> >> }}.  Did you run 'mvn package'?"
>> >>   when: not metron_jars.stat.exists
>> >
>> >
>> >On Wed, Oct 12, 2016 at 8:24 AM, Kyle Richardson <
>> kylerichards...@gmail.com>
>> >wrote:
>> >
>> >> I like that idea. It seems much cleaner. Let me give it a try.
>> >>
>> >> On Tue, Oct 11, 2016 at 9:53 PM, Nick Allen  wrote:
>> >>
>> >> > Does it really need to sudo? Can we do something like "become: false"
>> so
>> >> it
>> >> > doesn't try to sudo?
>> >> >
>> >> > On Oct 11, 2016 9:33 PM, "Kyle Richardson" > >
>> >> > wrote:
>> >> >
>> >> > > Ok, I think I have the fix for this. With the new local_action
>> logic,
>> >> > > ansible is checking the jar path on the host with sudo but doesn't
>> have
>> >> > the
>> >> > > password. Just need to add the line below to the Vagrantfile.
>> >> > >
>> >> > > ansible.ask_sudo_pass = true
>> >> > >
>> >> > > I will test tomorrow and, if successful, open a new PR for the fix.
>> >> > >
>> >> > >
>> >> > > On Tue, Oct 11, 2016 at 8:42 PM, Kyle Richardson <
>> >> > > kylerichards...@gmail.com>
>> >> > > wrote:
>> >> > >
>> >> > > > This error could be related to my PR that was merged today
>> >> (METRON-492
>> >> > > > ). I tested
>> >> this
>> >> > > > successfully in a single node vm deployment, but not with vagrant.
>> >> > > Perhaps
>> >> > > > there is something about vagrant that doesn't like the ansible
>> >> > > local_action
>> >> > > > logic? I'm trying to reproduce the error now.
>> >> > > >
>> >> > > > On Tue, Oct 11, 2016 at 7:06 PM, Nick Allen 
>> >> > wrote:
>> >> > > >
>> >> > > >> Hi Rita -
>> >> > > >>
>> >> > > >> Yes, I was seeing this same issue today.  I haven't looked into
>> the
>> >> > > cause
>> >> > > >> yet, but you can comment out that check and proceed with the
>> >> install.
>> >> > > >>
>> >> > > >> Doing this from memory, but I believe it is in
>> >> > > >> metron-deployment/roles/metron_common/tasks/main.yml.  Comment
>> out
>> >> or
>> >> > > >> delete any task that references the "metron_jar_path" variable.
>> >> There
>> >> > > are
>> >> > > >> two tasks that need commented out.
>> >> > > >>
>> >> > > >> I will try and get a fix out tomorrow.
>> >> > > >>
>> >> > > >> On Oct 11, 2016 6:35 PM, "Rita McKissick" <
>> >> rmckiss...@hortonworks.com
>> >> > >
>> >> > > >> wrote:
>> >> > > >>
>> >> > > >> > *** Resending because this message seemed to disappear into the
>> >> > ether
>> >> > > >> and
>> >> > > >> > I didn’t receive a copy of it.
>> >> > > >> >
>> >> > > >> > I’m having difficulties with the latest Quick Development
>> Platform
>> >> > > >> > installation. During deployment I received the following error
>> >> > > message:
>> >> > > >> >
>> >> > > >> > --
>> >> > > >> >
>> >> > > >> > TASK [metron_common : Check for Metron jar path]
>> >> > > >> > ***
>> >> > > >> > fatal: [node1 -> localhost]: FAILED! => {"changed": false,
>> >> "failed":
>> >> > > >> true,
>> >> > > >> > "module_stderr": "sudo: a password is required\n",
>> >> "module_stdout":
>> >> > > "",
>> >> > > >> > "msg": "MODULE FAILURE", "parsed": false}
>> >> > > >> >
>> >> > > >> > PLAY RECAP **
>> >> > > **
>> >> > > >> > *
>> >> > > >> > node1  : ok=20   changed=2unreachable=0
>> >> > > >> failed=1
>> >> > > >> >
>> >> > > >> > Ansible failed to complete successfully. Any error output
>> should
>> >> be
>> >> > > >> > visible above. Please fix these errors and try again.

Re: Issues with Quick Dev Installation

2016-10-12 Thread Nick Allen
Thanks, Carolyn.  Good to know that you are experiencing that too.  I
wasn't sure if it was a "sometimes" kind of thing.

On Wed, Oct 12, 2016 at 9:20 AM, Carolyn Duby  wrote:

> Rita:  Here is the command to restart mysql
>
> sudo service mysqld start
>
>
> Michael Young posted an article on debugging quick dev that contains a lot
> of helpful hints:
>
> https://community.hortonworks.com/content/kbentry/59801/
> troubleshooting-missing-events-in-metron-quick-dev.html
>
>
> I think the monit configuration for mysql may be incorrect.  The mysql
> service doesn’t come up by itself.  You have to start it after you create
> quick dev.
>
> Thanks
> Carolyn
>
>
>
>
> On 10/12/16, 8:47 AM, "Nick Allen"  wrote:
>
> >It seems to work for me.  Something like the following...
> >
> >- name: "Check for Metron jar path: {{ metron_jar_path }}"
> >>   local_action: stat path={{ metron_jar_path }}
> >>   become: false
> >>   register: metron_jars
> >>
> >
> >
> >> - name: Verify Metron jars exist
> >>   fail: msg="Unable to locate staged Metron jars at {{ metron_jar_path
> >> }}.  Did you run 'mvn package'?"
> >>   when: not metron_jars.stat.exists
> >
> >
> >On Wed, Oct 12, 2016 at 8:24 AM, Kyle Richardson <
> kylerichards...@gmail.com>
> >wrote:
> >
> >> I like that idea. It seems much cleaner. Let me give it a try.
> >>
> >> On Tue, Oct 11, 2016 at 9:53 PM, Nick Allen  wrote:
> >>
> >> > Does it really need to sudo? Can we do something like "become: false"
> so
> >> it
> >> > doesn't try to sudo?
> >> >
> >> > On Oct 11, 2016 9:33 PM, "Kyle Richardson"  >
> >> > wrote:
> >> >
> >> > > Ok, I think I have the fix for this. With the new local_action
> logic,
> >> > > ansible is checking the jar path on the host with sudo but doesn't
> have
> >> > the
> >> > > password. Just need to add the line below to the Vagrantfile.
> >> > >
> >> > > ansible.ask_sudo_pass = true
> >> > >
> >> > > I will test tomorrow and, if successful, open a new PR for the fix.
> >> > >
> >> > >
> >> > > On Tue, Oct 11, 2016 at 8:42 PM, Kyle Richardson <
> >> > > kylerichards...@gmail.com>
> >> > > wrote:
> >> > >
> >> > > > This error could be related to my PR that was merged today
> >> (METRON-492
> >> > > > ). I tested
> >> this
> >> > > > successfully in a single node vm deployment, but not with vagrant.
> >> > > Perhaps
> >> > > > there is something about vagrant that doesn't like the ansible
> >> > > local_action
> >> > > > logic? I'm trying to reproduce the error now.
> >> > > >
> >> > > > On Tue, Oct 11, 2016 at 7:06 PM, Nick Allen 
> >> > wrote:
> >> > > >
> >> > > >> Hi Rita -
> >> > > >>
> >> > > >> Yes, I was seeing this same issue today.  I haven't looked into
> the
> >> > > cause
> >> > > >> yet, but you can comment out that check and proceed with the
> >> install.
> >> > > >>
> >> > > >> Doing this from memory, but I believe it is in
> >> > > >> metron-deployment/roles/metron_common/tasks/main.yml.  Comment
> out
> >> or
> >> > > >> delete any task that references the "metron_jar_path" variable.
> >> There
> >> > > are
> >> > > >> two tasks that need commented out.
> >> > > >>
> >> > > >> I will try and get a fix out tomorrow.
> >> > > >>
> >> > > >> On Oct 11, 2016 6:35 PM, "Rita McKissick" <
> >> rmckiss...@hortonworks.com
> >> > >
> >> > > >> wrote:
> >> > > >>
> >> > > >> > *** Resending because this message seemed to disappear into the
> >> > ether
> >> > > >> and
> >> > > >> > I didn’t receive a copy of it.
> >> > > >> >
> >> > > >> > I’m having difficulties with the latest Quick Development
> Platform
> >> > > >> > installation. During deployment I received the following error
> >> > > message:
> >> > > >> >
> >> > > >> > --
> >> > > >> >
> >> > > >> > TASK [metron_common : Check for Metron jar path]
> >> > > >> > ***
> >> > > >> > fatal: [node1 -> localhost]: FAILED! => {"changed": false,
> >> "failed":
> >> > > >> true,
> >> > > >> > "module_stderr": "sudo: a password is required\n",
> >> "module_stdout":
> >> > > "",
> >> > > >> > "msg": "MODULE FAILURE", "parsed": false}
> >> > > >> >
> >> > > >> > PLAY RECAP **
> >> > > **
> >> > > >> > *
> >> > > >> > node1  : ok=20   changed=2unreachable=0
> >> > > >> failed=1
> >> > > >> >
> >> > > >> > Ansible failed to complete successfully. Any error output
> should
> >> be
> >> > > >> > visible above. Please fix these errors and try again.
> >> > > >> >
> >> > > >> > -
> >> > > >> >
> >> > > >> >
> >> > > >> > Everything up to this point looked fine.
> >> > > >> >
> >> > > >> > By the way, I installed the latest Quick-Dev installation
> earlier
> >> > this
> >> > > >> > afternoon and it didn’t install/configure any topologies.
> That’s
> >> > why I

Re: Issues with Quick Dev Installation

2016-10-12 Thread Kyle Richardson
I like that idea. It seems much cleaner. Let me give it a try.

On Tue, Oct 11, 2016 at 9:53 PM, Nick Allen  wrote:

> Does it really need to sudo? Can we do something like "become: false" so it
> doesn't try to sudo?
>
> On Oct 11, 2016 9:33 PM, "Kyle Richardson" 
> wrote:
>
> > Ok, I think I have the fix for this. With the new local_action logic,
> > ansible is checking the jar path on the host with sudo but doesn't have
> the
> > password. Just need to add the line below to the Vagrantfile.
> >
> > ansible.ask_sudo_pass = true
> >
> > I will test tomorrow and, if successful, open a new PR for the fix.
> >
> >
> > On Tue, Oct 11, 2016 at 8:42 PM, Kyle Richardson <
> > kylerichards...@gmail.com>
> > wrote:
> >
> > > This error could be related to my PR that was merged today (METRON-492
> > > ). I tested this
> > > successfully in a single node vm deployment, but not with vagrant.
> > Perhaps
> > > there is something about vagrant that doesn't like the ansible
> > local_action
> > > logic? I'm trying to reproduce the error now.
> > >
> > > On Tue, Oct 11, 2016 at 7:06 PM, Nick Allen 
> wrote:
> > >
> > >> Hi Rita -
> > >>
> > >> Yes, I was seeing this same issue today.  I haven't looked into the
> > cause
> > >> yet, but you can comment out that check and proceed with the install.
> > >>
> > >> Doing this from memory, but I believe it is in
> > >> metron-deployment/roles/metron_common/tasks/main.yml.  Comment out or
> > >> delete any task that references the "metron_jar_path" variable.  There
> > are
> > >> two tasks that need commented out.
> > >>
> > >> I will try and get a fix out tomorrow.
> > >>
> > >> On Oct 11, 2016 6:35 PM, "Rita McKissick"  >
> > >> wrote:
> > >>
> > >> > *** Resending because this message seemed to disappear into the
> ether
> > >> and
> > >> > I didn’t receive a copy of it.
> > >> >
> > >> > I’m having difficulties with the latest Quick Development Platform
> > >> > installation. During deployment I received the following error
> > message:
> > >> >
> > >> > --
> > >> >
> > >> > TASK [metron_common : Check for Metron jar path]
> > >> > ***
> > >> > fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed":
> > >> true,
> > >> > "module_stderr": "sudo: a password is required\n", "module_stdout":
> > "",
> > >> > "msg": "MODULE FAILURE", "parsed": false}
> > >> >
> > >> > PLAY RECAP **
> > **
> > >> > *
> > >> > node1  : ok=20   changed=2unreachable=0
> > >> failed=1
> > >> >
> > >> > Ansible failed to complete successfully. Any error output should be
> > >> > visible above. Please fix these errors and try again.
> > >> >
> > >> > -
> > >> >
> > >> >
> > >> > Everything up to this point looked fine.
> > >> >
> > >> > By the way, I installed the latest Quick-Dev installation earlier
> this
> > >> > afternoon and it didn’t install/configure any topologies. That’s
> why I
> > >> did
> > >> > a second install … which turned out even worse.
> > >> >
> > >> > Anyone else having this issue? Can someone help me with a fix or
> > >> > workaround?
> > >> >
> > >> > Thank you!
> > >> >
> > >> > Rita
> > >> >
> > >> > Rita McKissick ! Sr. Technical Writer
> > >> >
> > >> >
> > >> >
> > >>
> > >
> > >
> >
>


Re: Issues with Quick Dev Installation

2016-10-11 Thread Nick Allen
Try with "mysql" instead of "mysqld". I am probably remembering the service
name incorrectly.

On Oct 11, 2016 9:59 PM, "Rita McKissick" 
wrote:

> Hi Nick,
>
> Aah, I had forgotten about this. Can you tell where I run "service mysqld
> status" and "service mysqld
> start” from. I keep getting mysqld: unrecognized service and I’m pretty
> sure I’m running the command from the wrong location.
>
> Thanks,
>
> Rita
>
> Rita McKissick ! Sr. Technical Writer
>
>
>
>
>
>
>
>
> On 10/11/16, 4:11 PM, "Nick Allen"  wrote:
>
> >To your second point about no data showing up, I have noticed that MySQL
> is
> >sometimes not started which prevents the enrichment topic from moving
> >data.
> >
> >I have not investigated but it might be due to memory constraints on the
> >virtual node.
> >
> >Check if MySQL is running with "service mysqld status" and "service mysqld
> >start".  You may need to redeploy the topology after that restart if you
> >don't want to wait a while for things to heal on their own.
> >
> >On Oct 11, 2016 6:35 PM, "Rita McKissick" 
> >wrote:
> >
> >> *** Resending because this message seemed to disappear into the ether
> and
> >> I didn’t receive a copy of it.
> >>
> >> I’m having difficulties with the latest Quick Development Platform
> >> installation. During deployment I received the following error message:
> >>
> >> --
> >>
> >> TASK [metron_common : Check for Metron jar path]
> >> ***
> >> fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed":
> true,
> >> "module_stderr": "sudo: a password is required\n", "module_stdout": "",
> >> "msg": "MODULE FAILURE", "parsed": false}
> >>
> >> PLAY RECAP 
> >> *
> >> node1  : ok=20   changed=2unreachable=0
> failed=1
> >>
> >> Ansible failed to complete successfully. Any error output should be
> >> visible above. Please fix these errors and try again.
> >>
> >> -
> >>
> >>
> >> Everything up to this point looked fine.
> >>
> >> By the way, I installed the latest Quick-Dev installation earlier this
> >> afternoon and it didn’t install/configure any topologies. That’s why I
> did
> >> a second install … which turned out even worse.
> >>
> >> Anyone else having this issue? Can someone help me with a fix or
> >> workaround?
> >>
> >> Thank you!
> >>
> >> Rita
> >>
> >> Rita McKissick ! Sr. Technical Writer
> >>
> >>
> >>
>


Re: Issues with Quick Dev Installation

2016-10-11 Thread Rita McKissick
Hi Nick,

Aah, I had forgotten about this. Can you tell where I run "service mysqld 
status" and "service mysqld
start” from. I keep getting mysqld: unrecognized service and I’m pretty sure 
I’m running the command from the wrong location.

Thanks,

Rita

Rita McKissick ! Sr. Technical Writer








On 10/11/16, 4:11 PM, "Nick Allen"  wrote:

>To your second point about no data showing up, I have noticed that MySQL is
>sometimes not started which prevents the enrichment topic from moving
>data.
>
>I have not investigated but it might be due to memory constraints on the
>virtual node.
>
>Check if MySQL is running with "service mysqld status" and "service mysqld
>start".  You may need to redeploy the topology after that restart if you
>don't want to wait a while for things to heal on their own.
>
>On Oct 11, 2016 6:35 PM, "Rita McKissick" 
>wrote:
>
>> *** Resending because this message seemed to disappear into the ether and
>> I didn’t receive a copy of it.
>>
>> I’m having difficulties with the latest Quick Development Platform
>> installation. During deployment I received the following error message:
>>
>> --
>>
>> TASK [metron_common : Check for Metron jar path]
>> ***
>> fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed": true,
>> "module_stderr": "sudo: a password is required\n", "module_stdout": "",
>> "msg": "MODULE FAILURE", "parsed": false}
>>
>> PLAY RECAP 
>> *
>> node1  : ok=20   changed=2unreachable=0failed=1
>>
>> Ansible failed to complete successfully. Any error output should be
>> visible above. Please fix these errors and try again.
>>
>> -
>>
>>
>> Everything up to this point looked fine.
>>
>> By the way, I installed the latest Quick-Dev installation earlier this
>> afternoon and it didn’t install/configure any topologies. That’s why I did
>> a second install … which turned out even worse.
>>
>> Anyone else having this issue? Can someone help me with a fix or
>> workaround?
>>
>> Thank you!
>>
>> Rita
>>
>> Rita McKissick ! Sr. Technical Writer
>>
>>
>>


Re: Issues with Quick Dev Installation

2016-10-11 Thread Kyle Richardson
Ok, I think I have the fix for this. With the new local_action logic,
ansible is checking the jar path on the host with sudo but doesn't have the
password. Just need to add the line below to the Vagrantfile.

ansible.ask_sudo_pass = true

I will test tomorrow and, if successful, open a new PR for the fix.


On Tue, Oct 11, 2016 at 8:42 PM, Kyle Richardson 
wrote:

> This error could be related to my PR that was merged today (METRON-492
> ). I tested this
> successfully in a single node vm deployment, but not with vagrant. Perhaps
> there is something about vagrant that doesn't like the ansible local_action
> logic? I'm trying to reproduce the error now.
>
> On Tue, Oct 11, 2016 at 7:06 PM, Nick Allen  wrote:
>
>> Hi Rita -
>>
>> Yes, I was seeing this same issue today.  I haven't looked into the cause
>> yet, but you can comment out that check and proceed with the install.
>>
>> Doing this from memory, but I believe it is in
>> metron-deployment/roles/metron_common/tasks/main.yml.  Comment out or
>> delete any task that references the "metron_jar_path" variable.  There are
>> two tasks that need commented out.
>>
>> I will try and get a fix out tomorrow.
>>
>> On Oct 11, 2016 6:35 PM, "Rita McKissick" 
>> wrote:
>>
>> > *** Resending because this message seemed to disappear into the ether
>> and
>> > I didn’t receive a copy of it.
>> >
>> > I’m having difficulties with the latest Quick Development Platform
>> > installation. During deployment I received the following error message:
>> >
>> > --
>> >
>> > TASK [metron_common : Check for Metron jar path]
>> > ***
>> > fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed":
>> true,
>> > "module_stderr": "sudo: a password is required\n", "module_stdout": "",
>> > "msg": "MODULE FAILURE", "parsed": false}
>> >
>> > PLAY RECAP 
>> > *
>> > node1  : ok=20   changed=2unreachable=0
>> failed=1
>> >
>> > Ansible failed to complete successfully. Any error output should be
>> > visible above. Please fix these errors and try again.
>> >
>> > -
>> >
>> >
>> > Everything up to this point looked fine.
>> >
>> > By the way, I installed the latest Quick-Dev installation earlier this
>> > afternoon and it didn’t install/configure any topologies. That’s why I
>> did
>> > a second install … which turned out even worse.
>> >
>> > Anyone else having this issue? Can someone help me with a fix or
>> > workaround?
>> >
>> > Thank you!
>> >
>> > Rita
>> >
>> > Rita McKissick ! Sr. Technical Writer
>> >
>> >
>> >
>>
>
>


Re: Issues with Quick Dev Installation

2016-10-11 Thread Kyle Richardson
This error could be related to my PR that was merged today (METRON-492
). I tested this
successfully in a single node vm deployment, but not with vagrant. Perhaps
there is something about vagrant that doesn't like the ansible local_action
logic? I'm trying to reproduce the error now.

On Tue, Oct 11, 2016 at 7:06 PM, Nick Allen  wrote:

> Hi Rita -
>
> Yes, I was seeing this same issue today.  I haven't looked into the cause
> yet, but you can comment out that check and proceed with the install.
>
> Doing this from memory, but I believe it is in
> metron-deployment/roles/metron_common/tasks/main.yml.  Comment out or
> delete any task that references the "metron_jar_path" variable.  There are
> two tasks that need commented out.
>
> I will try and get a fix out tomorrow.
>
> On Oct 11, 2016 6:35 PM, "Rita McKissick" 
> wrote:
>
> > *** Resending because this message seemed to disappear into the ether and
> > I didn’t receive a copy of it.
> >
> > I’m having difficulties with the latest Quick Development Platform
> > installation. During deployment I received the following error message:
> >
> > --
> >
> > TASK [metron_common : Check for Metron jar path]
> > ***
> > fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed":
> true,
> > "module_stderr": "sudo: a password is required\n", "module_stdout": "",
> > "msg": "MODULE FAILURE", "parsed": false}
> >
> > PLAY RECAP 
> > *
> > node1  : ok=20   changed=2unreachable=0
> failed=1
> >
> > Ansible failed to complete successfully. Any error output should be
> > visible above. Please fix these errors and try again.
> >
> > -
> >
> >
> > Everything up to this point looked fine.
> >
> > By the way, I installed the latest Quick-Dev installation earlier this
> > afternoon and it didn’t install/configure any topologies. That’s why I
> did
> > a second install … which turned out even worse.
> >
> > Anyone else having this issue? Can someone help me with a fix or
> > workaround?
> >
> > Thank you!
> >
> > Rita
> >
> > Rita McKissick ! Sr. Technical Writer
> >
> >
> >
>


Re: Issues with Quick Dev Installation

2016-10-11 Thread Nick Allen
To your second point about no data showing up, I have noticed that MySQL is
sometimes not started which prevents the enrichment topic from moving
data.

I have not investigated but it might be due to memory constraints on the
virtual node.

Check if MySQL is running with "service mysqld status" and "service mysqld
start".  You may need to redeploy the topology after that restart if you
don't want to wait a while for things to heal on their own.

On Oct 11, 2016 6:35 PM, "Rita McKissick" 
wrote:

> *** Resending because this message seemed to disappear into the ether and
> I didn’t receive a copy of it.
>
> I’m having difficulties with the latest Quick Development Platform
> installation. During deployment I received the following error message:
>
> --
>
> TASK [metron_common : Check for Metron jar path]
> ***
> fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed": true,
> "module_stderr": "sudo: a password is required\n", "module_stdout": "",
> "msg": "MODULE FAILURE", "parsed": false}
>
> PLAY RECAP 
> *
> node1  : ok=20   changed=2unreachable=0failed=1
>
> Ansible failed to complete successfully. Any error output should be
> visible above. Please fix these errors and try again.
>
> -
>
>
> Everything up to this point looked fine.
>
> By the way, I installed the latest Quick-Dev installation earlier this
> afternoon and it didn’t install/configure any topologies. That’s why I did
> a second install … which turned out even worse.
>
> Anyone else having this issue? Can someone help me with a fix or
> workaround?
>
> Thank you!
>
> Rita
>
> Rita McKissick ! Sr. Technical Writer
>
>
>


Issues with Quick Dev Installation

2016-10-11 Thread Rita McKissick
*** Resending because this message seemed to disappear into the ether and I 
didn’t receive a copy of it.

I’m having difficulties with the latest Quick Development Platform 
installation. During deployment I received the following error message:

--

TASK [metron_common : Check for Metron jar path] ***
fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed": true, 
"module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": 
"MODULE FAILURE", "parsed": false}

PLAY RECAP *
node1  : ok=20   changed=2unreachable=0failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

-


Everything up to this point looked fine.

By the way, I installed the latest Quick-Dev installation earlier this 
afternoon and it didn’t install/configure any topologies. That’s why I did a 
second install … which turned out even worse.

Anyone else having this issue? Can someone help me with a fix or workaround?

Thank you!

Rita

Rita McKissick ! Sr. Technical Writer




Issues with Quick Dev installation

2016-10-11 Thread Rita McKissick
I’m having difficulties with the latest Quick-Dev installation. During 
deployment I received the following error message:

--

TASK [metron_common : Check for Metron jar path] ***
fatal: [node1 -> localhost]: FAILED! => {"changed": false, "failed": true, 
"module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": 
"MODULE FAILURE", "parsed": false}

PLAY RECAP *
node1  : ok=20   changed=2unreachable=0failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

-


Everything up to this point looked fine.

By the way, I installed the latest Quick-Dev installation earlier this 
afternoon and it didn’t install/configure any topologies. That’s why I did a 
second install … which turned out even worse.

Anyone else having this issue? Can someone help me with a fix or workaround?

Thank you!

Rita