ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-20159) Cluster deploy failed as install service failed with "Execution of 'zypper clean --all' returned 7. System management is locked by the application with pid ..."
Date Fri, 24 Feb 2017 01:28:44 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-20159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881729#comment-15881729
] 

Hudson commented on AMBARI-20159:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1077 (See [https://builds.apache.org/job/Ambari-branch-2.5/1077/])
AMBARI-20159. Cluster deploy failed as install service failed with (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1c44053d290346eafd24eae1ae28507252d2d327])
* (edit) ambari-common/src/main/python/resource_management/libraries/functions/__init__.py
* (edit) ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
* (edit) ambari-agent/src/main/python/ambari_agent/PythonExecutor.py
* (add) ambari-common/src/main/python/resource_management/libraries/functions/log_process_information.py


> Cluster deploy failed as install service failed with "Execution of 'zypper clean --all'
returned 7. System management is locked by the application with pid ..."
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20159
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20159
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Blocker
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20159.patch
>
>
> Cluster deploy failed as install Zookeeper server failed with 
> {code:java}
> "Traceback (most recent call last):   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py",
line 37, in <module>     BeforeInstallHook().execute()   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 313, in execute     method(env)   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py",
line 33, in hook     install_repos()   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py",
line 66, in install_repos     _alter_repo("create", params.repo_info, template)   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py",
line 57, in _alter_repo     components = ubuntu_components, # ubuntu specific   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 155, in __init__     self.env.run()   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 160, in run     self.run_action(resource, action)   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 124, in run_action     provider_action()   File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/repository.py",
line 60, in action_create     checked_call(self.update_cmd, sudo=True)   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 72, in inner     result = function(command, **kwargs)   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 102, in checked_call     tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in
_call_wrapper     result = _call(command, **kwargs_copy)   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 303, in _call     raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed:
Execution of 'zypper clean --all' returned 7. System management is locked by the application
with pid 14241 (/usr/bin/zypper)"
> {code}
> From agent logs:
> {code:java}
> INFO 2017-02-20 18:37:55,815 PythonExecutor.py:129 - Command ['/usr/bin/python',
>  u'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py',
>  u'INSTALL',
>  '/var/lib/ambari-agent/data/command-652.json',
>  u'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL',
>  '/var/lib/ambari-agent/data/structured-out-652.json',
>  'INFO',
>  '/var/lib/ambari-agent/tmp',
>  'PROTOCOL_TLSv1'] failed with exitcode=1
> INFO 2017-02-20 18:37:55,849 PythonExecutor.py:139 - Command 'export COLUMNS=9999 ; ps
faux' returned 0. USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root         2  0.0  0.0      0     0 ?        S    16:38   0:00 [kthreadd]
> root         3  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [ksoftirqd/0]
> root         5  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kworker/0:0H]
> root         7  0.0  0.0      0     0 ?        S    16:38   0:06  \_ [rcu_sched]
> root         8  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [rcu_bh]
> root         9  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [migration/0]
> root        10  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [watchdog/0]
> root        11  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [watchdog/1]
> root        12  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [migration/1]
> root        13  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [ksoftirqd/1]
> root        15  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kworker/1:0H]
> root        17  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [kdevtmpfs]
> root        18  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [netns]
> root        19  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [perf]
> root        20  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [khungtaskd]
> root        21  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [writeback]
> root        22  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [kcompactd0]
> root        23  0.0  0.0      0     0 ?        SN   16:38   0:00  \_ [ksmd]
> root        25  0.0  0.0      0     0 ?        SN   16:38   0:00  \_ [khugepaged]
> root        26  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [crypto]
> root        27  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kintegrityd]
> root        28  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root        29  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kblockd]
> root        30  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [devfreq_wq]
> root        32  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [kswapd0]
> root        33  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [vmstat]
> root        34  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [fsnotify_mark]
> root        47  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kthrotld]
> root        48  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kpsmoused]
> root        50  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [ipv6_addrconf]
> root        51  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [printk]
> root        65  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [deferwq]
> root       253  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [ata_sff]
> root       254  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       262  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       265  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       268  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       269  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       270  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       271  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       272  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       273  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [scsi_eh_0]
> root       274  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [scsi_tmf_0]
> root       275  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [scsi_eh_1]
> root       276  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [scsi_tmf_1]
> root       285  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       286  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       287  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       304  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kworker/0:1H]
> root       317  0.0  0.0      0     0 ?        S    16:38   0:04  \_ [jbd2/vda1-8]
> root       318  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [ext4-rsv-conver]
> root       367  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kworker/1:1H]
>                                                                                     
                                                                                         
                                                                                         
                                                                                  4567,10
       8%
> root        23  0.0  0.0      0     0 ?        SN   16:38   0:00  \_ [ksmd]
> root        25  0.0  0.0      0     0 ?        SN   16:38   0:00  \_ [khugepaged]
> root        26  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [crypto]
> root        27  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kintegrityd]
> root        28  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root        29  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kblockd]
> root        30  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [devfreq_wq]
> root        32  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [kswapd0]
> root        33  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [vmstat]
> root        34  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [fsnotify_mark]
> root        47  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kthrotld]
> root        48  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kpsmoused]
> root        50  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [ipv6_addrconf]
> root        51  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [printk]
> root        65  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [deferwq]
> root       253  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [ata_sff]
> root       254  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       262  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       265  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       268  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       269  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       270  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       271  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       272  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       273  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [scsi_eh_0]
> root       274  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [scsi_tmf_0]
> root       275  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [scsi_eh_1]
> root       276  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [scsi_tmf_1]
> root       285  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       286  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       287  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [bioset]
> root       304  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kworker/0:1H]
> root       317  0.0  0.0      0     0 ?        S    16:38   0:04  \_ [jbd2/vda1-8]
> root       318  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [ext4-rsv-conver]
> root       367  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kworker/1:1H]
> root       526  0.0  0.0      0     0 ?        S    16:38   0:00  \_ [vballoon]
> root       582  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [ttm_swap]
> root       585  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [qxl_gc]
> root       633  0.0  0.0      0     0 ?        S<   16:38   0:00  \_ [kvm-irqfd-clean]
> root      1417  0.0  0.0      0     0 ?        S    16:39   0:00  \_ [jbd2/vdb-8]
> root      1418  0.0  0.0      0     0 ?        S<   16:39   0:00  \_ [ext4-rsv-conver]
> root      1442  0.0  0.0      0     0 ?        S    16:39   0:00  \_ [kauditd]
> root      6943  0.0  0.0      0     0 ?        S    17:45   0:00  \_ [kworker/0:2]
> root      7312  0.0  0.0      0     0 ?        S    17:46   0:00  \_ [kworker/u4:2]
> root      8286  0.0  0.0      0     0 ?        S    18:00   0:00  \_ [kworker/0:0]
> root      8526  0.0  0.0      0     0 ?        S    18:07   0:00  \_ [kworker/u4:1]
> root     11218  0.0  0.0      0     0 ?        S    18:23   0:00  \_ [kworker/1:0]
> root     13219  0.0  0.0      0     0 ?        S    18:28   0:00  \_ [kworker/1:2]
> root     13521  0.0  0.0      0     0 ?        S    18:33   0:00  \_ [kworker/1:1]
> root     14543  0.0  0.0      0     0 ?        S    18:36   0:00  \_ [kworker/u4:0]
> root         1  0.0  0.0 184892  5588 ?        Ss   16:38   0:06 /usr/lib/systemd/systemd
--switched-root --system --deserialize 22
> root       385  0.0  0.0  43672 14024 ?        Ss   16:38   0:00 /usr/lib/systemd/systemd-journald
> root       435  0.0  0.0  43484  3984 ?        Ss   16:38   0:00 /usr/lib/systemd/systemd-udevd
> message+   627  0.0  0.0  47984  4448 ?        Ss   16:38   0:01 /bin/dbus-daemon --system
--address=systemd: --nofork --nopidfile --systemd-activation
> root       637  0.0  0.0  29600  5168 ?        SLs  16:38   0:00 /usr/lib/wicked/bin/wickedd-dhcp4
--systemd --foreground
> root       638  0.0  0.0  29596  4952 ?        SLs  16:38   0:00 /usr/lib/wicked/bin/wickedd-auto4
--systemd --foreground
> root       642  0.0  0.0  29596  5252 ?        SLs  16:38   0:00 /usr/lib/wicked/bin/wickedd-dhcp6
--systemd --foreground
> root       644  0.0  0.0  30688  3320 ?        Ss   16:38   0:00 /usr/lib/systemd/systemd-logind
> root       670  0.0  0.0  14228  2252 ttyS0    Ss+  16:38   0:00 /sbin/agetty --keep-baud
115200 38400 9600 ttyS0 vt220
> root       671  0.0  0.0  12972  1936 tty1     Ss+  16:38   0:00 /sbin/agetty --noclear
tty1 linux
> root       677  0.0  0.0 351960  6684 ?        Ssl  16:38   0:00 /usr/sbin/rsyslogd -n
> root       679  0.0  0.0  29820  5288 ?        SLs  16:38   0:00 /usr/sbin/wickedd --systemd
--foreground
> root       681  0.0  0.0  29752  5336 ?        SLs  16:38   0:00 /usr/sbin/wickedd-nanny
--systemd --foreground
> root      1323  0.0  0.0  28320  3048 ?        Ss   16:39   0:00 /usr/sbin/cron -n
> root      1382  0.0  0.0  53496  5868 ?        Ss   16:39   0:00 /usr/sbin/sshd -D
> ntp       1783  0.0  0.0  27684  4644 ?        Ss   16:39   0:00 /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid
-g -u ntp:ntp -c /etc/ntp.conf
> root      1784  0.0  0.0  21364  2328 ?        S    16:39   0:00  \_ ntpd: asynchronous
dns resolver
> root      5816  0.0  0.0  36440  4556 ?        Ss   17:13   0:00 /usr/lib/systemd/systemd
--user
> root      5819  0.0  0.0 231144  1928 ?        S    17:13   0:00  \_ (sd-pam)
> root      6276  0.0  0.1 115920 24088 ?        S    17:13   0:00 /usr/bin/python /usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py
start
> root      6282  2.1  0.6 1244248 140588 ?      Sl   17:13   1:47  \_ /usr/bin/python
/usr/lib/python2.6/site-packages/ambari_agent/main.py start
> root      6315  0.7  0.4 584664 97388 ?        Sl   17:13   0:39      \_ /usr/bin/python
/usr/lib/python2.6/site-packages/ambari_agent/main.py start
> root     14662 50.0  0.0  13128  2736 ?        S    18:37   0:00      \_ /bin/bash --login
--noprofile -c export COLUMNS=9999 ; ps faux
> root     14663  0.0  0.0  45204  3980 ?        R    18:37   0:00          \_ ps faux
> root     14241  0.4  0.0 203700 19868 ?        S    18:36   0:00 /usr/bin/zypper --quiet
install --auto-agree-with-licenses --no-confirm zookeeper_2_6_0_0_384-server
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message