Jira (BOLT-1476) Kerberos - Fix the winrm gem and OMI server incompatibility

4 views
Skip to first unread message

Ethan Brown (JIRA)

unread,
Jul 18, 2019, 7:15:03 PM7/18/19
to puppe...@googlegroups.com
Ethan Brown created an issue
 
Puppet Task Runner / Task BOLT-1476
Kerberos - Fix the winrm gem and OMI server incompatibility
Issue Type: Task Task
Assignee: Unassigned
Created: 2019/07/18 4:14 PM
Priority: Normal Normal
Reporter: Ethan Brown

TravisCI Kerberos specs are currently disabled because the winrm gem and OMI server don't interoperate correctly when using Kerberos authentication.

BOLT-1475 describes setting up a new development environment container to reproduce the problem / setup the system for better debugging.

 

This ticket is about debugging / resolving the actual problem, which requires building OMI server from source and testing it in the dev environment.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Ethan Brown (JIRA)

unread,
Aug 6, 2019, 4:26:04 PM8/6/19
to puppe...@googlegroups.com
Ethan Brown updated an issue
Change By: Ethan Brown
TravisCI Kerberos specs are currently disabled because the winrm gem and OMI server don't interoperate correctly when using Kerberos authentication.

BOLT-1475 describes setting up a new development environment container to reproduce the problem / setup the system for better debugging.

 

This ticket is about debugging / resolving the actual problem, which requires building OMI server from source and testing it in the dev environment.


 

Problems typically manifest with a stack trace like

 
{noformat}
root@linuxdev:/# ./bolt-kerberos-test.sh
Started on omiserver.bolt.test...
Finished on omiserver.bolt.test:
  STDOUT:
    bolt
Successful on 1 node: winrm://omiserver.bolt.test:5985
Ran on 1 node in 0.87 seconds
Started on omiserver.bolt.test...
Finished on omiserver.bolt.test:
  STDOUT:
    bolt
Successful on 1 node: winrm://omiserver.bolt.test:5986
Ran on 1 node in 0.93 seconds
Analytics opt-out is set, analytics will be disabled
Could not read inventory file: /root/.puppetlabs/bolt/inventory.yaml
Did not find config for winrm://omiserver.bolt.test:5985 in inventory
Skipping submission of 'command_run' screenview because analytics is disabled
Started with 100 max thread(s)
Starting: command 'whoami' on winrm://omiserver.bolt.test:5985
Skipping submission of 'Transport initialize' event because analytics is disabled
Running command 'whoami' on ["winrm://omiserver.bolt.test:5985"]
Started on omiserver.bolt.test...
Running command 'whoami' on winrm://omiserver.bolt.test:5985
Closed session
<Encoding::UndefinedConversionError> "\xB5" from ASCII-8BIT to UTF-8
/root/bolt/lib/bolt/result.rb:124:in `encode'
/root/bolt/lib/bolt/result.rb:124:in `to_json'
/root/bolt/lib/bolt/result.rb:124:in `to_json'
/root/bolt/lib/bolt/executor.rb:226:in `with_node_logging'
/root/bolt/lib/bolt/executor.rb:236:in `block (2 levels) in run_command'
/root/bolt/lib/bolt/executor.rb:103:in `block (3 levels) in queue_execute'
/root/bolt/.bundle/gems/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/root/bolt/.bundle/gems/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/root/bolt/.bundle/gems/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/root/bolt/.bundle/gems/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/root/bolt/.bundle/gems/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/root/bolt/.bundle/gems/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
/root/bolt/.bundle/gems/ruby/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
Failed on omiserver.bolt.test:
� �Kg����O� m��ɭ ߵ*cV ��x� ��q"qp��@hԬW���h�#^c_�� ���k&�@ ���t��9t��a�s/��m**_~��!( !Ĕ��}Jf�}r�:Pc� Q��y ;s!j[�&�C[Ҹ��%
                     g5�)g=K� ?��\
\4GY5����k^���Z_�y~�ݡ�ޓ%�       p֚m���𝇄#j�b� �9��
                     �'�*�Y �]��,;��zD�4i��
�U��#%���,�cr�U ���S�ڣ�ΰ�q��J�P�b���ޒ�9ڨ��b! tܣ7pYHʐ��=�!�פ�-�>+��˝� �\+�(7���>��KA�(lje�+�v5��ڒ$<I �5 �Z dΒ*H�K-�'���{���] � W o��@�x���ͺ�[�����EI >�0�� , ��Z�h*
  e� <-}A�3�D�������B-k �\D�_����8�֛�dF�h J/�r�&��4��X�o���]���fP hQ��
7&X_������ ����&Ͽ��P�}�ۈh� ��ڿ����7�ME�� wgH&���t���i�=1ʮލy�1�^凼�RΊQ �m�z�}������
                     � �c����`����r�4i��-�>�8���͝�, �B �b
  B���ɒ6��r�9_7YgC�FLS/� ���cOm��9�9�
  ̚
  � �b� �V GV�p�Z���9ZoTU���n�� �9�`�]�z@�E� ��7���
   ����ƫh�,,�ba��_\�TD� ���> �p׷ �
                     U���pz D�I�*MHJ�>w�y4� ��bʸ�����,b�� ��o�� Lj��� ��;"O�0h��(�ݣ�v��$�v ��hvR�A
                     �V
                     �� �5n�PWN�%[�Ն���Ċ^
�ptB ` 2=å[� C / ��x� �;#�'�|�P�<� ����4�}DLR��0�"VR����蘆�e@�)��S �z��x O%ׯ��
��2����� 3�}`XE� K�P�F��ɥk                     � ��5�9�Ư R� h��:ь���$緋��]n j�s7T>� �� 9�@
  �b��(��H�w�� � �]vB��:n����Vc ����߈� lr6Ro� j� w��q����L�d:�u R��] �Ɩw/��ҍ$צ���g���� o ~�ԧ B�����G 5^�n (500).
Finished: command 'whoami' with 1 failure in 0.2 sec
Failed on 1 node: winrm://omiserver.bolt.test:5985
{noformat}
Reply all
Reply to author
Forward
0 new messages