Do you have any backtrace form the "undefined method `key?' for
#<String:0x0000000a5160f8>"

-- Ivan

On Mon, Sep 11, 2017 at 6:16 PM, Mike Wilson <[email protected]> wrote:
> Look at the output from the bug report mine appears different?
>
> 2017-09-11 16:00:28 6a0711d2 [app] [I] Current user: mikew (administrator)
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current user thread-local
> variable to mikew
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current organization
> thread-local variable to none
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current location thread-local
> variable to none
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Unpermitted parameters: utf8,
> authenticity_token, capabilities, provider, bare_metal_capabilities, locale
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current organization
> thread-local variable to TEST1/TEST2/TEST3
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current location thread-local
> variable to TEST1/SITE01
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current location thread-local
> variable to none
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current organization
> thread-local variable to none
> 2017-09-11 16:00:28 6a0711d2 [app] [I] Failed to save: centos7_7.3.1611
> needs user data, but <a target='_blank'
> href='/operatingsystems/1-CentOS%20Linux%207-3-1611/edit'>CentOS Linux
> 7.3.1611</a> is not associated to any provisioning template of the kind
> user_data. Please associate it with a suitable template or uncheck 'User
> data' for <a target='_blank'
> href='/compute_resources/3/images/6/edit'>centos7_7.3.1611</a>.
> 2017-09-11 16:00:28 6a0711d2 [app] [I]   Rendered hosts/_progress.html.erb
> (0.2ms)
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current organization
> thread-local variable to TEST1/TEST2/TEST3
> 2017-09-11 16:00:28 6a0711d2 [app] [D] Setting current location thread-local
> variable to TEST1/SITE01
>
>
> Although perhaps im not logging the same way? Currently my log-level is set
> to "debug".
>
> I did find some differences testing the "default" user_data templates that
> exist in 1.15.1 foreman. With the "Kickstart default user data" it wouldn't
> complain about a user_data template missing but then it would fail with
>
> Failed to create a compute DCs (VMware) instance [random.host.name.com]:
> undefined method `key?' for #<String:0x0000000a5160f8>
>
> But when I used the one I showed above (cloned from the provided "UserData
> default" in Foreman 1.15.1, it would not even try and displayed the error
>
>
> Unable to save
> centos7_7.3.1611 needs user data, but CentOS Linux 7.3.1611 is not
> associated to any provisioning template of the kind user_data. Please
> associate it with a suitable template or uncheck 'User data' for
> centos7_7.3.1611.
>
>
>
> On Saturday, September 9, 2017 at 11:42:58 AM UTC-5, Ivan Necas wrote:
>>
>> Hi Mike,
>>
>> Is it possible you're hitting this issue:
>> http://projects.theforeman.org/issues/20098 ?
>>
>> -- Ivan
>>>
>>>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to