[
https://issues.apache.org/jira/browse/AMBARI-16423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277935#comment-15277935
]
Andrew Onischuk commented on AMBARI-16423:
------------------------------------------
{noformat}
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0
approved: 146 licence.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ...................................... SUCCESS [2.467s]
[INFO] Ambari Metrics Common ............................. SUCCESS [0.555s]
[INFO] Ambari Server ..................................... SUCCESS [53.088s]
[INFO] Ambari Agent ...................................... SUCCESS [12.400s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:09.440s
[INFO] Finished at: Tue May 10 13:48:33 EEST 2016
[INFO] Final Memory: 65M/1104M
[INFO] ------------------------------------------------------------------------
{noformat}
> Attempting to install on Amazon Linux, Agent fails to recognize OS
> ------------------------------------------------------------------
>
> Key: AMBARI-16423
> URL: https://issues.apache.org/jira/browse/AMBARI-16423
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.4.0
>
> Attachments: AMBARI-16423.patch
>
>
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2016-05-05 18:07:42
>
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
>
> ==========================
> Copying common functions script...
> ==========================
>
> Command start time 2016-05-05 18:07:43
>
> scp /usr/lib/python2.6/site-packages/ambari_commons
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
>
> ==========================
> Copying OS type check script...
> ==========================
>
> Command start time 2016-05-05 18:07:43
>
> scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
>
> ==========================
> Running OS type check...
> ==========================
>
> Command start time 2016-05-05 18:07:43
> Cluster primary/cluster OS family is redhat2016 and local/current OS
> family is redhat2016
>
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
>
> ==========================
> Checking 'sudo' package on remote host...
> ==========================
>
> Command start time 2016-05-05 18:07:43
> sudo-1.8.6p3-20.21.amzn1.x86_64
>
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
>
> ==========================
> Copying repo file to 'tmp' folder...
> ==========================
>
> Command start time 2016-05-05 18:07:43
>
> scp /etc/yum.repos.d/ambari.repo
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
>
> ==========================
> Moving file to repo dir...
> ==========================
>
> Command start time 2016-05-05 18:07:43
>
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:44
>
> ==========================
> Changing permissions for ambari.repo...
> ==========================
>
> Command start time 2016-05-05 18:07:44
>
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:44
>
> ==========================
> Copying setup script file...
> ==========================
>
> Command start time 2016-05-05 18:07:44
>
> scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:44
>
> ==========================
> Running setup agent script...
> ==========================
>
> Command start time 2016-05-05 18:07:44
> ('INFO 2016-05-05 18:07:45,261 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/ca
> INFO 2016-05-05 18:07:45,344 threadpool.py:52 - Started thread pool with
> 3 core threads and 20 maximum threads
> WARNING 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:246 -
> [AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not
> found or invalid. No alerts will be scheduled until registration occurs.
> INFO 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:142 -
> [AlertScheduler] Starting <ambari_agent.apscheduler.scheduler.Scheduler
> object at 0x7fd8fe89b2d0>; currently running: False
> INFO 2016-05-05 18:07:45,348 hostname.py:86 - Read public hostname
> \'ec2-52-90-92-187.compute-1.amazonaws.com\' from
> http://169.254.169.254/latest/meta-data/public-hostname
> INFO 2016-05-05 18:07:45,352 logger.py:71 - call[\'test -w /\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call[\'test -w /dev\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call[\'test -w /dev/shm\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,363 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,378 Facter.py:190 - Directory:
> \'/etc/resource_overrides\' does not exist - it won\'t be used for gathering
> system resources.
> INFO 2016-05-05 18:07:45,433 Controller.py:142 - Registering with
> ip-172-30-2-21.ec2.internal (172.30.2.21) (agent=\'{"hardwareProfile":
> {"kernel": "Linux", "domain": "ec2.internal", "physicalprocessorcount": 2,
> "kernelrelease": "4.4.8-20.46.amzn1.x86_64", "uptime_days": "0",
> "memorytotal": 8178636, "swapfree": "0.00 GB", "memorysize": 8178636,
> "osfamily": "redhat", "swapsize": "0.00 GB", "processorcount": 2, "netmask":
> "255.255.255.0", "timezone": "UTC", "hardwareisa": "x86_64", "memoryfree":
> 5622700, "operatingsystem": "amazon", "kernelmajversion": "4.4",
> "kernelversion": "4.4.8", "macaddress": "12:92:E9:AC:E7:AD",
> "operatingsystemrelease": "2016.03", "ipaddress": "172.30.2.21", "hostname":
> "ip-172-30-2-21", "uptime_hours": "0", "fqdn": "ip-172-30-2-21.ec2.internal",
> "id": "root", "architecture": "x86_64", "selinux": false, "mounts":
> [{"available": "5280016", "used": "2743548", "percent": "35%", "device":
> "/dev/xvda1", "mountpoint": "/", "type": "ext4", "size": "8123812"},
> {"available": "4080680", "used": "60", "percent": "1%", "device": "devtmpfs",
> "mountpoint": "/dev", "type": "devtmpfs", "size": "4080740"}, {"available":
> "4089316", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint":
> "/dev/shm", "type": "tmpfs", "size": "4089316"}], "hardwaremodel": "x86_64",
> "uptime_seconds": "521", "interfaces": "eth0,lo"}, "currentPingPort": 8670,
> "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.2.2.0",
> "agentEnv": {"transparentHugePage": "", "hostHealth":
> {"agentTimeStampAtReporting": 1462471665432, "activeJavaProcs": [],
> "liveServices": [{"status": "Healthy", "name": "ntpd", "desc": ""}]},
> "reverseLookup": true, "alternatives": [], "umask": "18", "firewallName":
> "iptables", "stackFoldersAndFiles": [], "existingUsers": [],
> "firewallRunning": false}, "timestamp": 1462471665382, "hostname":
> "ip-172-30-2-21.ec2.internal", "responseId": -1, "publicHostname":
> "ec2-52-90-92-187.compute-1.amazonaws.com"}\')
> INFO 2016-05-05 18:07:45,444 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/connection_info
> INFO 2016-05-05 18:07:45,579 security.py:99 - SSL Connect being called..
> connecting to the server
> INFO 2016-05-05 18:07:45,669 security.py:60 - SSL connection established.
> Two-way SSL authentication is turned off on the server.
> ERROR 2016-05-05 18:07:45,679 Controller.py:162 - Cannot register host
> with not supported os type, hostname=ip-172-30-2-21.ec2.internal,
> serverOsType=amazon2016, agentOsType=amazon2016
> INFO 2016-05-05 18:07:45,679 Controller.py:391 - Registration response
> from ip-172-30-2-21.ec2.internal was FAILED
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:53 - Performing cleanup before
> exiting...
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:67 - Cleanup finished, exiting
> with code:0
> ', None)
> ('INFO 2016-05-05 18:07:45,261 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/ca
> INFO 2016-05-05 18:07:45,344 threadpool.py:52 - Started thread pool with
> 3 core threads and 20 maximum threads
> WARNING 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:246 -
> [AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not
> found or invalid. No alerts will be scheduled until registration occurs.
> INFO 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:142 -
> [AlertScheduler] Starting <ambari_agent.apscheduler.scheduler.Scheduler
> object at 0x7fd8fe89b2d0>; currently running: False
> INFO 2016-05-05 18:07:45,348 hostname.py:86 - Read public hostname
> \'ec2-52-90-92-187.compute-1.amazonaws.com\' from
> http://169.254.169.254/latest/meta-data/public-hostname
> INFO 2016-05-05 18:07:45,352 logger.py:71 - call[\'test -w /\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call[\'test -w /dev\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call[\'test -w /dev/shm\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,363 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,378 Facter.py:190 - Directory:
> \'/etc/resource_overrides\' does not exist - it won\'t be used for gathering
> system resources.
> INFO 2016-05-05 18:07:45,433 Controller.py:142 - Registering with
> ip-172-30-2-21.ec2.internal (172.30.2.21) (agent=\'{"hardwareProfile":
> {"kernel": "Linux", "domain": "ec2.internal", "physicalprocessorcount": 2,
> "kernelrelease": "4.4.8-20.46.amzn1.x86_64", "uptime_days": "0",
> "memorytotal": 8178636, "swapfree": "0.00 GB", "memorysize": 8178636,
> "osfamily": "redhat", "swapsize": "0.00 GB", "processorcount": 2, "netmask":
> "255.255.255.0", "timezone": "UTC", "hardwareisa": "x86_64", "memoryfree":
> 5622700, "operatingsystem": "amazon", "kernelmajversion": "4.4",
> "kernelversion": "4.4.8", "macaddress": "12:92:E9:AC:E7:AD",
> "operatingsystemrelease": "2016.03", "ipaddress": "172.30.2.21", "hostname":
> "ip-172-30-2-21", "uptime_hours": "0", "fqdn": "ip-172-30-2-21.ec2.internal",
> "id": "root", "architecture": "x86_64", "selinux": false, "mounts":
> [{"available": "5280016", "used": "2743548", "percent": "35%", "device":
> "/dev/xvda1", "mountpoint": "/", "type": "ext4", "size": "8123812"},
> {"available": "4080680", "used": "60", "percent": "1%", "device": "devtmpfs",
> "mountpoint": "/dev", "type": "devtmpfs", "size": "4080740"}, {"available":
> "4089316", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint":
> "/dev/shm", "type": "tmpfs", "size": "4089316"}], "hardwaremodel": "x86_64",
> "uptime_seconds": "521", "interfaces": "eth0,lo"}, "currentPingPort": 8670,
> "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.2.2.0",
> "agentEnv": {"transparentHugePage": "", "hostHealth":
> {"agentTimeStampAtReporting": 1462471665432, "activeJavaProcs": [],
> "liveServices": [{"status": "Healthy", "name": "ntpd", "desc": ""}]},
> "reverseLookup": true, "alternatives": [], "umask": "18", "firewallName":
> "iptables", "stackFoldersAndFiles": [], "existingUsers": [],
> "firewallRunning": false}, "timestamp": 1462471665382, "hostname":
> "ip-172-30-2-21.ec2.internal", "responseId": -1, "publicHostname":
> "ec2-52-90-92-187.compute-1.amazonaws.com"}\')
> INFO 2016-05-05 18:07:45,444 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/connection_info
> INFO 2016-05-05 18:07:45,579 security.py:99 - SSL Connect being called..
> connecting to the server
> INFO 2016-05-05 18:07:45,669 security.py:60 - SSL connection established.
> Two-way SSL authentication is turned off on the server.
> ERROR 2016-05-05 18:07:45,679 Controller.py:162 - Cannot register host
> with not supported os type, hostname=ip-172-30-2-21.ec2.internal,
> serverOsType=amazon2016, agentOsType=amazon2016
> INFO 2016-05-05 18:07:45,679 Controller.py:391 - Registration response
> from ip-172-30-2-21.ec2.internal was FAILED
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:53 - Performing cleanup before
> exiting...
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:67 - Cleanup finished, exiting
> with code:0
> ', None)
>
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=255
> Command end time 2016-05-05 18:07:48
>
> ERROR: Bootstrap of host ip-172-30-2-21.ec2.internal fails because
> previous action finished with non-zero exit code (255)
> ERROR MESSAGE: Connection to ip-172-30-2-21.ec2.internal closed.
>
> STDOUT: ('INFO 2016-05-05 18:07:45,261 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/ca
> INFO 2016-05-05 18:07:45,344 threadpool.py:52 - Started thread pool with
> 3 core threads and 20 maximum threads
> WARNING 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:246 -
> [AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not
> found or invalid. No alerts will be scheduled until registration occurs.
> INFO 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:142 -
> [AlertScheduler] Starting <ambari_agent.apscheduler.scheduler.Scheduler
> object at 0x7fd8fe89b2d0>; currently running: False
> INFO 2016-05-05 18:07:45,348 hostname.py:86 - Read public hostname
> \'ec2-52-90-92-187.compute-1.amazonaws.com\' from
> http://169.254.169.254/latest/meta-data/public-hostname
> INFO 2016-05-05 18:07:45,352 logger.py:71 - call[\'test -w /\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call[\'test -w /dev\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call[\'test -w /dev/shm\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,363 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,378 Facter.py:190 - Directory:
> \'/etc/resource_overrides\' does not exist - it won\'t be used for gathering
> system resources.
> INFO 2016-05-05 18:07:45,433 Controller.py:142 - Registering with
> ip-172-30-2-21.ec2.internal (172.30.2.21) (agent=\'{"hardwareProfile":
> {"kernel": "Linux", "domain": "ec2.internal", "physicalprocessorcount": 2,
> "kernelrelease": "4.4.8-20.46.amzn1.x86_64", "uptime_days": "0",
> "memorytotal": 8178636, "swapfree": "0.00 GB", "memorysize": 8178636,
> "osfamily": "redhat", "swapsize": "0.00 GB", "processorcount": 2, "netmask":
> "255.255.255.0", "timezone": "UTC", "hardwareisa": "x86_64", "memoryfree":
> 5622700, "operatingsystem": "amazon", "kernelmajversion": "4.4",
> "kernelversion": "4.4.8", "macaddress": "12:92:E9:AC:E7:AD",
> "operatingsystemrelease": "2016.03", "ipaddress": "172.30.2.21", "hostname":
> "ip-172-30-2-21", "uptime_hours": "0", "fqdn": "ip-172-30-2-21.ec2.internal",
> "id": "root", "architecture": "x86_64", "selinux": false, "mounts":
> [{"available": "5280016", "used": "2743548", "percent": "35%", "device":
> "/dev/xvda1", "mountpoint": "/", "type": "ext4", "size": "8123812"},
> {"available": "4080680", "used": "60", "percent": "1%", "device": "devtmpfs",
> "mountpoint": "/dev", "type": "devtmpfs", "size": "4080740"}, {"available":
> "4089316", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint":
> "/dev/shm", "type": "tmpfs", "size": "4089316"}], "hardwaremodel": "x86_64",
> "uptime_seconds": "521", "interfaces": "eth0,lo"}, "currentPingPort": 8670,
> "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.2.2.0",
> "agentEnv": {"transparentHugePage": "", "hostHealth":
> {"agentTimeStampAtReporting": 1462471665432, "activeJavaProcs": [],
> "liveServices": [{"status": "Healthy", "name": "ntpd", "desc": ""}]},
> "reverseLookup": true, "alternatives": [], "umask": "18", "firewallName":
> "iptables", "stackFoldersAndFiles": [], "existingUsers": [],
> "firewallRunning": false}, "timestamp": 1462471665382, "hostname":
> "ip-172-30-2-21.ec2.internal", "responseId": -1, "publicHostname":
> "ec2-52-90-92-187.compute-1.amazonaws.com"}\')
> INFO 2016-05-05 18:07:45,444 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/connection_info
> INFO 2016-05-05 18:07:45,579 security.py:99 - SSL Connect being called..
> connecting to the server
> INFO 2016-05-05 18:07:45,669 security.py:60 - SSL connection established.
> Two-way SSL authentication is turned off on the server.
> ERROR 2016-05-05 18:07:45,679 Controller.py:162 - Cannot register host
> with not supported os type, hostname=ip-172-30-2-21.ec2.internal,
> serverOsType=amazon2016, agentOsType=amazon2016
> INFO 2016-05-05 18:07:45,679 Controller.py:391 - Registration response
> from ip-172-30-2-21.ec2.internal was FAILED
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:53 - Performing cleanup before
> exiting...
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:67 - Cleanup finished, exiting
> with code:0
> ', None)
> ('INFO 2016-05-05 18:07:45,261 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/ca
> INFO 2016-05-05 18:07:45,344 threadpool.py:52 - Started thread pool with
> 3 core threads and 20 maximum threads
> WARNING 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:246 -
> [AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not
> found or invalid. No alerts will be scheduled until registration occurs.
> INFO 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:142 -
> [AlertScheduler] Starting <ambari_agent.apscheduler.scheduler.Scheduler
> object at 0x7fd8fe89b2d0>; currently running: False
> INFO 2016-05-05 18:07:45,348 hostname.py:86 - Read public hostname
> \'ec2-52-90-92-187.compute-1.amazonaws.com\' from
> http://169.254.169.254/latest/meta-data/public-hostname
> INFO 2016-05-05 18:07:45,352 logger.py:71 - call[\'test -w /\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,356 logger.py:71 - call[\'test -w /dev\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,360 logger.py:71 - call[\'test -w /dev/shm\']
> {\'sudo\': True, \'timeout\': 5}
> INFO 2016-05-05 18:07:45,363 logger.py:71 - call returned (0, \'\')
> INFO 2016-05-05 18:07:45,378 Facter.py:190 - Directory:
> \'/etc/resource_overrides\' does not exist - it won\'t be used for gathering
> system resources.
> INFO 2016-05-05 18:07:45,433 Controller.py:142 - Registering with
> ip-172-30-2-21.ec2.internal (172.30.2.21) (agent=\'{"hardwareProfile":
> {"kernel": "Linux", "domain": "ec2.internal", "physicalprocessorcount": 2,
> "kernelrelease": "4.4.8-20.46.amzn1.x86_64", "uptime_days": "0",
> "memorytotal": 8178636, "swapfree": "0.00 GB", "memorysize": 8178636,
> "osfamily": "redhat", "swapsize": "0.00 GB", "processorcount": 2, "netmask":
> "255.255.255.0", "timezone": "UTC", "hardwareisa": "x86_64", "memoryfree":
> 5622700, "operatingsystem": "amazon", "kernelmajversion": "4.4",
> "kernelversion": "4.4.8", "macaddress": "12:92:E9:AC:E7:AD",
> "operatingsystemrelease": "2016.03", "ipaddress": "172.30.2.21", "hostname":
> "ip-172-30-2-21", "uptime_hours": "0", "fqdn": "ip-172-30-2-21.ec2.internal",
> "id": "root", "architecture": "x86_64", "selinux": false, "mounts":
> [{"available": "5280016", "used": "2743548", "percent": "35%", "device":
> "/dev/xvda1", "mountpoint": "/", "type": "ext4", "size": "8123812"},
> {"available": "4080680", "used": "60", "percent": "1%", "device": "devtmpfs",
> "mountpoint": "/dev", "type": "devtmpfs", "size": "4080740"}, {"available":
> "4089316", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint":
> "/dev/shm", "type": "tmpfs", "size": "4089316"}], "hardwaremodel": "x86_64",
> "uptime_seconds": "521", "interfaces": "eth0,lo"}, "currentPingPort": 8670,
> "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.2.2.0",
> "agentEnv": {"transparentHugePage": "", "hostHealth":
> {"agentTimeStampAtReporting": 1462471665432, "activeJavaProcs": [],
> "liveServices": [{"status": "Healthy", "name": "ntpd", "desc": ""}]},
> "reverseLookup": true, "alternatives": [], "umask": "18", "firewallName":
> "iptables", "stackFoldersAndFiles": [], "existingUsers": [],
> "firewallRunning": false}, "timestamp": 1462471665382, "hostname":
> "ip-172-30-2-21.ec2.internal", "responseId": -1, "publicHostname":
> "ec2-52-90-92-187.compute-1.amazonaws.com"}\')
> INFO 2016-05-05 18:07:45,444 NetUtil.py:60 - Connecting to
> https://ip-172-30-2-21.ec2.internal:8440/connection_info
> INFO 2016-05-05 18:07:45,579 security.py:99 - SSL Connect being called..
> connecting to the server
> INFO 2016-05-05 18:07:45,669 security.py:60 - SSL connection established.
> Two-way SSL authentication is turned off on the server.
> ERROR 2016-05-05 18:07:45,679 Controller.py:162 - Cannot register host
> with not supported os type, hostname=ip-172-30-2-21.ec2.internal,
> serverOsType=amazon2016, agentOsType=amazon2016
> INFO 2016-05-05 18:07:45,679 Controller.py:391 - Registration response
> from ip-172-30-2-21.ec2.internal was FAILED
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:53 - Performing cleanup before
> exiting...
> INFO 2016-05-05 18:07:45,748 ExitHelper.py:67 - Cleanup finished, exiting
> with code:0
> ', None)
>
> Connection to ip-172-30-2-21.ec2.internal closed.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)