Skip to content

instance upgrade-versions vs. instance node versions #28

@jage

Description

@jage

I feel like this is quite confusions:

$ ./cloudamqp instance upgrade-versions --id 351604
Upgrade versions:
{
  "new_erlang_version": "28.1.1",
  "new_rabbitmq_version": "4.2.2"
}

$ ./cloudamqp instance nodes versions --id 351604
Available versions:
RabbitMQ versions: [4.2.2 4.2.1 4.2.0 4.2.0-rc.1 4.2.0-beta.4 4.2.0-beta.3 4.1.7 4.1.6 4.1.5]
Erlang versions: [27.3.4.6]
  • Which one should I use?
  • Why is one under nodes and not the other one?
  • One gives JSON, the other an interesting list syntax :)
  • upgrade-versions sounds like an action, not a query

How can we simplify? :)

For example, maybe

/cloudamqp instance upgrade-versions --id 351604 should be ./cloudamqp instance upgrade-all --dry-run?

There's also a lot of upgrade actions, do we need all? Should be enough with one and ability to specify just rabbit/erlang if that's important.

  upgrade-all        Upgrade RabbitMQ and Erlang
  upgrade-erlang     Upgrade Erlang
  upgrade-rabbitmq   Upgrade RabbitMQ
  upgrade-versions   Fetch upgrade versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions