SatelliteQE / robottelo

Robottelo is a test suite that exercises The Foreman.
GNU General Public License v3.0
61 stars 112 forks source link

Automation failure : test_positive_create_1 #2271

Closed tkolhar closed 8 years ago

tkolhar commented 9 years ago

Testnames: tests.foreman.cli.test_host.HostTestCase.test_positive_create_1

Error Message

64 != 0 -------------------- >> begin captured logging << -------------------- robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv proxy list --per-page="10000" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x4367d90 robottelo.common.ssh: INFO: Destroying Paramiko client 0x4367d90 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x4367d90 robottelo.common.ssh: DEBUG: <<< Id,Name,URL,Features 1,qe-foreman-rhel66.usersys.redhat.com,https://qe-foreman-rhel66.usersys.redhat.com:9090,"Puppet, Puppet CA, Pulp"

nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/katello/api/v2/organizations with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"name": "\u44eb\ufa5a\ud853\ude64\u016c\u7207"}. nailgun.client: DEBUG: Received HTTP 201 response: {"ancestry":null,"apply_info_task_id":null,"created_at":"2015-05-20T02:46:54Z","default_info":{"system":[],"distributor":[]},"description":null,"id":150,"ignore_types":[],"katello_default":true,"label":"989569df-c50b-40ed-a81c-62f02a795f6f","name":"䓫署10𤹤Ŭ爇","title":"䓫署10𤹤𤹤Ŭ爇","updated_at":"2015-05-20T02:46:54Z"} nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/locations with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"location": {"name": "\ud849\ude6d\ud846\udc34\u92d0\ud85a\udeed\ub5b2\ud85a\udc92\ud866\udcdb\u3a87\u618b\ud860\uddae\uc42a\u5d73\ub233"}}. nailgun.client: DEBUG: Received HTTP 201 response: {"ancestry":null,"apply_info_task_id":null,"created_at":"2015-05-20T02:46:55Z","default_info":null,"description":null,"id":151,"ignore_types":["ConfigTemplate","Hostgroup"],"katello_default":false,"label":null,"name":"10𢙭10𢙭𡠴鋐10𢙭𡠴𦫭떲10𢙭𡠴𦫭𦢒10𢙭𡠴𦫭𦢒𩣛㪇憋10𢙭𡠴𦫭𦢒𩣛𨆮쐪嵳눳","title":"10𢙭𡠴𦫭𦢒𩣛𨆮𢙭10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴鋐10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭떲10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭𦢒10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭𦢒𩣛㪇憋10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭𦢒𩣛𨆮쐪嵳눳","updated_at":"2015-05-20T02:46:55Z"} nailgun.client: DEBUG: Making HTTP GET request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/locations/151 with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and no data. nailgun.client: DEBUG: Received HTTP 200 response: {"select_all_types":["ConfigTemplate","Hostgroup"],"description":null,"created_at":"2015-05-20T02:46:55Z","updated_at":"2015-05-20T02:46:55Z","ancestry":null,"id":151,"name":"10𢙭10𢙭𡠴鋐10𢙭𡠴𦫭떲10𢙭𡠴𦫭𦢒10𢙭𡠴𦫭𦢒𩣛㪇憋10𢙭𡠴𦫭𦢒𩣛𨆮쐪嵳눳","title":"10𢙭𡠴𦫭𦢒𩣛𨆮𢙭10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴鋐10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭떲10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭𦢒10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭𦢒𩣛㪇憋10𢙭𡠴𦫭𦢒𩣛𨆮𢙭𡠴𦫭𦢒𩣛𨆮쐪嵳눳","users":[],"smart_proxies":[],"subnets":[],"compute_resources":[],"media":[],"config_templates":[{"id":5,"name":"Alterator default","template_kind_id":5,"template_kind_name":"provision"},{"id":6,"name":"Alterator default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":7,"name":"Alterator default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":36,"name":"alterator_pkglist","template_kind_id":null,"template_kind_name":null},{"id":8,"name":"AutoYaST default","template_kind_id":5,"template_kind_name":"provision"},{"id":10,"name":"AutoYaST default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":9,"name":"AutoYaST SLES default","template_kind_id":5,"template_kind_name":"provision"},{"id":47,"name":"Boot disk iPXE - generic host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":46,"name":"Boot disk iPXE - host","template_kind_id":1,"template_kind_name":"Bootdisk"},{"id":37,"name":"coreos_cloudconfig","template_kind_id":null,"template_kind_name":null},{"id":11,"name":"CoreOS provision","template_kind_id":5,"template_kind_name":"provision"},{"id":12,"name":"CoreOS PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":38,"name":"epel","template_kind_id":null,"template_kind_name":null},{"id":39,"name":"fix_hosts","template_kind_id":null,"template_kind_name":null},{"id":13,"name":"FreeBSD (mfsBSD) finish","template_kind_id":6,"template_kind_name":"finish"},{"id":14,"name":"FreeBSD (mfsBSD) provision","template_kind_id":5,"template_kind_name":"provision"},{"id":15,"name":"FreeBSD (mfsBSD) PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":40,"name":"freeipa_register","template_kind_id":null,"template_kind_name":null},{"id":16,"name":"Grubby default","template_kind_id":7,"template_kind_name":"script"},{"id":41,"name":"http_proxy","template_kind_id":null,"template_kind_name":null},{"id":17,"name":"Jumpstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":18,"name":"Jumpstart default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":19,"name":"Jumpstart default PXEGrub","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":35,"name":"Junos default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":33,"name":"Junos default SLAX","template_kind_id":5,"template_kind_name":"provision"},{"id":34,"name":"Junos default ZTP config","template_kind_id":9,"template_kind_name":"ZTP"},{"id":48,"name":"Katello Kickstart Default","template_kind_id":5,"template_kind_name":"provision"},{"id":50,"name":"Katello Kickstart Default Finish","template_kind_id":6,"template_kind_name":"finish"},{"id":49,"name":"Katello Kickstart Default User Data","template_kind_id":8,"template_kind_name":"user_data"},{"id":20,"name":"Kickstart default","template_kind_id":5,"template_kind_name":"provision"},{"id":22,"name":"Kickstart default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":24,"name":"Kickstart default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":23,"name":"Kickstart default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":25,"name":"Kickstart default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":42,"name":"kickstart_networking_setup","template_kind_id":null,"template_kind_name":null},{"id":21,"name":"Kickstart RHEL default","template_kind_id":5,"template_kind_name":"provision"},{"id":26,"name":"Preseed default","template_kind_id":5,"template_kind_name":"provision"},{"id":27,"name":"Preseed default finish","template_kind_id":6,"template_kind_name":"finish"},{"id":29,"name":"Preseed default iPXE","template_kind_id":4,"template_kind_name":"iPXE"},{"id":28,"name":"Preseed default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":30,"name":"Preseed default user data","template_kind_id":8,"template_kind_name":"user_data"},{"id":43,"name":"puppet.conf","template_kind_id":null,"template_kind_name":null},{"id":4,"name":"PXEGrub default local boot","template_kind_id":3,"template_kind_name":"PXEGrub"},{"id":2,"name":"PXELinux default local boot","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":3,"name":"PXELinux default memdisk","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":1,"name":"PXELinux global default","template_kind_id":2,"template_kind_name":"PXELinux"},{"id":44,"name":"redhat_register","template_kind_id":null,"template_kind_name":null},{"id":45,"name":"saltstack_minion","template_kind_id":null,"template_kind_name":null},{"id":51,"name":"subscription_manager_registration","template_kind_id":null,"template_kind_name":null},{"id":31,"name":"UserData default","template_kind_id":8,"template_kind_name":"user_data"},{"id":32,"name":"WAIK default PXELinux","template_kind_id":2,"template_kind_name":"PXELinux"}],"domains":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]} nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/domains with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"domain": {"name": "aqskwsupdn"}}. nailgun.client: DEBUG: Received HTTP 201 response: {"created_at":"2015-05-20T02:46:55Z","dns_id":null,"fullname":null,"hostgroups_count":0,"hosts_count":0,"id":17,"name":"aqskwsupdn","updated_at":"2015-05-20T02:46:55Z"} nailgun.client: DEBUG: Making HTTP GET request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/domains/17 with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and no data. nailgun.client: DEBUG: Received HTTP 200 response: {"fullname":null,"dns_id":null,"created_at":"2015-05-20T02:46:55Z","updated_at":"2015-05-20T02:46:55Z","id":17,"name":"aqskwsupdn","subnets":[],"parameters":[],"interfaces":[],"locations":[],"organizations":[]} nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/environments with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"name": "RwJnt0"}. nailgun.client: DEBUG: Received HTTP 200 response: {"created_at":"2015-05-20T02:46:56Z","updated_at":"2015-05-20T02:46:56Z","name":"RwJnt0","id":143,"template_combinations":[],"puppetclasses":[],"locations":[],"organizations":[]} nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/architectures with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"architecture": {"name": "\ud84d\udf03\ub414\ub045\ud85c\udc86\ud847\udd1f\ud85b\udedd\u6de3"}}. nailgun.client: DEBUG: Received HTTP 200 response: {"created_at":"2015-05-20T02:46:56Z","updated_at":"2015-05-20T02:46:56Z","name":"10𣜃됔끅10𣜃𧂆10𣜃𧂆𡴟10𣜃𧂆𡴟𦻝淣","id":17,"operatingsystems":[],"images":[]} nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/ptables with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"layout": "\u58ef\ud842\udf15\ud85d\ude44\ud84f\udcc3\ua65e\ud865\ude67\ud858\udd4f\ud84e\ude2f\u854b\u4e40\uc960\ud862\udc0c\u80ce\ua3b6\ud4ef\u2c76", "name": "\u35ae\u2149\ud85a\udc39\ud852\udebd\ud84f\udcfe\ud869\udf1b\u9d18\ud846\udf6a\ud802\udf72\ud86a\udf37\ud85b\ude37\ud855\udca4\ud85f\ude2d\ud84b\udecf\u80f3\u8b19\uc76e"}. nailgun.client: DEBUG: Received HTTP 201 response: {"created_at":"2015-05-20T02:46:56Z","id":15,"layout":"壯10𠬕10𠬕𧙄10𠬕𧙄𣳃Ꙟ10𠬕𧙄𣳃𩙧10𠬕𧙄𣳃𩙧𦅏10𠬕𧙄𣳃𩙧𦅏𣨯蕋乀쥠10𠬕𧙄𣳃𩙧𦅏𣨯𨠌胎ꎶ퓯ⱶ","name":"㖮ⅉ10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛鴘10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛𡭪10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛𡭪𐭲10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛𡭪𐭲𪬷10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷𥒤10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷𥒤𧸭10𠬕𧙄𣳃𩙧𦅏𣨯𨠌𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷𥒤𧸭𢻏胳謙읮","os_family":null,"updated_at":"2015-05-20T02:46:56Z"} nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/operatingsystems with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"operatingsystem": {"major": "215", "name": "\ud842\udcd5\ua0c7\ud849\udd8c\ubfd9", "architecture_ids": [17], "ptable_ids": [15]}}. nailgun.client: DEBUG: Received HTTP 200 response: {"description":null,"major":"215","minor":"","family":null,"release_name":null,"password_hash":"SHA256","created_at":"2015-05-20T02:46:56Z","updated_at":"2015-05-20T02:46:56Z","id":11,"name":"10𠣕ꃇ10𠣕𢖌뿙","title":"10𠣕𢖌𠣕ꃇ10𠣕𢖌𠣕𢖌뿙 215","parameters":[],"media":[],"architectures":[{"name":"10𠣕𢖌𠣕𢖌𣜃됔끅10𠣕𢖌𠣕𢖌𣜃𧂆10𠣕𢖌𠣕𢖌𣜃𧂆𡴟10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝淣","id":17}],"ptables":[{"name":"㖮ⅉ10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛鴘10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛𡭪10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛𡭪𐭲10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛𡭪𐭲𪬷10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷𥒤10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷𥒤𧸭10𠣕𢖌𠣕𢖌𣜃𧂆𡴟𦻝𦠹𤪽𣳾𪜛𡭪𐭲𪬷𦸷𥒤𧸭𢻏胳謙읮","id":15}],"config_templates":[],"os_default_templates":[],"images":[]} nailgun.client: DEBUG: Making HTTP POST request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/media with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"medium": {"path": "ftp://caFGEJcuUG.edu", "operatingsystem_ids": [11], "name": "\ud85d\ude1d\ud85f\udd24\ud852\udca4\u5f37\u8031"}}. nailgun.client: DEBUG: Received HTTP 201 response: {"config_path":null,"created_at":"2015-05-20T02:46:56Z","id":11,"image_path":null,"media_path":null,"name":"10𧘝10𧘝𧴤10𧘝𧴤𤢤強耱","os_family":null,"path":"ftp://caFGEJcuUG.edu","updated_at":"2015-05-20T02:46:56Z"} nailgun.client: DEBUG: Making HTTP GET request to https://qe-foreman-rhel66.usersys.redhat.com/api/v2/media/11 with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and no data. nailgun.client: DEBUG: Received HTTP 200 response: {"path":"ftp://caFGEJcuUG.edu","os_family":null,"created_at":"2015-05-20T02:46:56Z","updated_at":"2015-05-20T02:46:56Z","id":11,"name":"10𧘝10𧘝𧴤10𧘝𧴤𤢤強耱","operatingsystems":[{"id":11,"name":"10𧘝𧴤𤢤𠣕ꃇ10𧘝𧴤𤢤𠣕𢖌뿙","title":"10𧘝𧴤𤢤𠣕𢖌𠣕ꃇ10𧘝𧴤𤢤𠣕𢖌𠣕𢖌뿙 215"}],"locations":[],"organizations":[]} robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv host create --medium-id="11" --root-pass="10𠯈10𠯈𡬭魰10𠯈𡬭𠬛诃10𠯈𡬭𠬛𥂉10𠯈𡬭𠬛𥂉𢤦똗䯨10𠯈𡬭𠬛𥂉𢤦𫈅島첁10𠯈𡬭𠬛𥂉𢤦𫈅𪁆啼10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤衯礘10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩귢10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵𣰴10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵𣰴𡍤10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵𣰴𡍤𨶿阍10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵𣰴𡍤𨶿𨭚縩묖10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵𣰴𡍤𨶿𨭚𡁩10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵𣰴𡍤𨶿𨭚𡁩𧗈10𠯈𡬭𠬛𥂉𢤦𫈅𪁆𨥤𠣩𪸵𣰴𡍤𨶿𨭚𡁩𧗈𓀡" --mac="78:af:ee:6d:45:3d" --organization-id="150" --location-id="151" --architecture-id="17" --operatingsystem-id="11" --name="t" --environment-id="143" --domain-id="17" --puppet-proxy-id="1" --partition-table-id="15" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x433ab50 robottelo.common.ssh: INFO: Destroying Paramiko client 0x433ab50 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x433ab50 robottelo.common.ssh: DEBUG: <<< [ERROR 2015-05-19 22:46:58 Exception] Error: At least one interface must be set as primary

See: 'hammer host create --help' Could not create the host: Error: At least one interface must be set as primary

See: 'hammer host create --help' [ERROR 2015-05-19 22:46:58 Exception]

Clamp::UsageError (At least one interface must be set as primary): /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/host.rb:146:in check_mandatory_interfaces' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/host.rb:91:inrequest_params' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:43:in send_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/commands.rb:185:insend_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:34:in execute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:68:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:in run' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:inexecute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:68:in run' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:inrun' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in execute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:68:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:in run' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:126:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/bin/hammer:108 /usr/bin/hammer:19:in `load' /usr/bin/hammer:19

tkolhar commented 9 years ago

this issue occurs on 31st May 2015 nightly jenkins run:

robottelo.common.ssh: DEBUG: >>> [qe-foreman-rhel66.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv host create --medium-id="28" --root-pass="苮10𢕼10𢕼𩜗10𢕼𩜗𠎄붇10𢕼𩜗𠎄𥎄概ᴃ10𢕼𩜗𠎄𥎄𡁛10𢕼𩜗𠎄𥎄𡁛𦴉ㇽ캖10𢕼𩜗𠎄𥎄𡁛𦴉𪁿10𢕼𩜗𠎄𥎄𡁛𦴉𪁿𩼼揳10𢕼𩜗𠎄𥎄𡁛𦴉𪁿𩼼𩍊藰幵鼜10𢕼𩜗𠎄𥎄𡁛𦴉𪁿𩼼𩍊𥪲罨10𢕼𩜗𠎄𥎄𡁛𦴉𪁿𩼼𩍊𥪲𢺱10𢕼𩜗𠎄𥎄𡁛𦴉𪁿𩼼𩍊𥪲𢺱𠭣" --mac="73:32:30:e2:07:bb" --organization-id="245" --location-id="246" --architecture-id="32" --operatingsystem-id="27" --name="AijxlTCwoboDKue" --environment-id="57" --domain-id="33" --puppet-proxy-id="1" --partition-table-id="24" robottelo.common.ssh: INFO: Instantiated Paramiko client 0x4ade710 robottelo.common.ssh: INFO: Destroying Paramiko client 0x4ade710 robottelo.common.ssh: INFO: Destroyed Paramiko client 0x4ade710 robottelo.common.ssh: DEBUG: <<< stderr [ERROR 2015-05-31 21:42:39 Exception] Error: At least one interface must be set as primary

See: 'hammer host create --help' Could not create the host: Error: At least one interface must be set as primary

See: 'hammer host create --help' [ERROR 2015-05-31 21:42:39 Exception]

Clamp::UsageError (At least one interface must be set as primary): /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/host.rb:146:in check_mandatory_interfaces' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/host.rb:91:inrequest_params' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:43:in send_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.2.0/lib/hammer_cli_foreman/commands.rb:185:insend_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/command.rb:34:in execute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:68:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:in run' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:inexecute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:68:in run' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:inrun' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in execute' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:68:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/lib/hammer_cli/./apipie/../abstract.rb:23:in run' /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:126:inrun' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.2.0/bin/hammer:108 /usr/bin/hammer:19:in `load' /usr/bin/hammer:19

tkolhar commented 8 years ago

closing this as this issue is added a to a common github issue created for all upstream failures