Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highline deprecation warnings make appliance_console difficult to use #231

Closed
agrare opened this issue Feb 1, 2024 · 8 comments
Closed
Assignees
Labels

Comments

@agrare
Copy link
Member

agrare commented Feb 1, 2024

Highline 1.6.21 with ruby 3.1 prints a number of deprecation warnings to the screen which causes the console to be difficult to use

/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/opt/manageiq/manageiq-gemset/gems/highline-1.6.21/lib/highline.rb:445: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
1) Configure Network
2) Create Database Backup
3) Create Database Dump
4) Restore Database From Backup
5) Configure Application
6) Configure Database Replication
7) Logfile Configuration
8) Control Application Database Failover Monitor
9) Configure External Authentication (httpd)
10) Update External Authentication Options
11) Generate Custom Encryption Key
12) Stop EVM Server Processes
13) Start EVM Server Processes
14) Restart Appliance
15) Shut Down Appliance
16) Summary Information
17) Quit
@agrare agrare added the bug label Feb 1, 2024
@Fryguy
Copy link
Member

Fryguy commented Feb 2, 2024

I thought we upgraded to highline 2.1.0? #201

@agrare
Copy link
Member Author

agrare commented Feb 2, 2024

Oh maybe that bump just hasn't made it to a release yet

@Fryguy
Copy link
Member

Fryguy commented Feb 2, 2024

We have a ton of changes on master, but 8.0 was only released October 21, 2022. I know we had started to go to switching to 8.0, but then backed out of the kafka changes. However, when we enabled kafka I thought we'd have released another 8.0. Note that 7.2.2 was released on June 30, 2023.

8.0 on master: https://github.com/ManageIQ/manageiq/blob/f479740793cdd30108c84943564c9a1a4f710d03/Gemfile#L285
8.0 on quinteros: https://github.com/ManageIQ/manageiq/blob/400de1d935a56b00b4eacc53ee264938b8eb8b9e/Gemfile#L286

It feels like we missed something? @nasark @bdunne @jrafanie ?

@nasark
Copy link
Member

nasark commented Feb 2, 2024

@Fryguy It looks like another 8.0 was not released https://github.com/ManageIQ/manageiq-appliance_console/tree/v8.0.0, but we switched the Gemfile in core to start using it. We're essentially using a version of appliance console from Oct 2022...?

@jrafanie
Copy link
Member

jrafanie commented Feb 2, 2024

yeah, I thought we manually backported things on 7.2 branch because the kafka on 8.0 was giving us problems when kafka was removed from the release. Maybe we should review the changes and decide what we want to do. I can see bringing more back to 7.2 if we're not ready for the 8.0 changes or we can just do it and go with 8.0.

@Fryguy
Copy link
Member

Fryguy commented Feb 6, 2024

We're already on 8.0 on master and quinteros, so im not sure why we haven't cut newer versions

@Fryguy Fryguy self-assigned this Feb 7, 2024
@Fryguy
Copy link
Member

Fryguy commented Feb 7, 2024

I released v8.1.0 with the changes from master. @agrare If you're still seeing this issue, please reopen.

@Fryguy Fryguy closed this as completed Feb 7, 2024
@agrare
Copy link
Member Author

agrare commented Feb 8, 2024

Confirmed this is fixed with appliance_console v8.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants