Skip to content

Conversation

@bfjelds
Copy link
Member

@bfjelds bfjelds commented Dec 5, 2025

Introduces trident rollback to provide manual rollback. Does not allow rollback for A/B updates involving encryption currently.

CLI changes

trident rollback

  • --ab: rollback available A/B update
  • --runtime: rollback next update if it is runtime update
  • --check : show what next rollback is: none | ab | runtime

trident get

  • --rollback-chain: list all available rollbacks
  • --rollback-target: display next rollback Host Configuration

API changes

Host Status

  • trident_version: displays version of Trident that made the Host Status entry

@bfjelds
Copy link
Member Author

bfjelds commented Dec 5, 2025

/AzurePipelines run [GITHUB]-trident-pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bfjelds
Copy link
Member Author

bfjelds commented Dec 5, 2025

/AzurePipelines run [GITHUB]-trident-pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bfjelds
Copy link
Member Author

bfjelds commented Dec 6, 2025

/AzurePipelines run [GITHUB]-trident-pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bfjelds
Copy link
Member Author

bfjelds commented Dec 6, 2025

/AzurePipelines run [GITHUB]-trident-pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bfjelds bfjelds force-pushed the user/bfjelds/manual-rollback branch from 5fc0ede to 08fe5bd Compare December 11, 2025 22:37
@bfjelds bfjelds force-pushed the user/bfjelds/manual-rollback branch 2 times, most recently from be43d26 to aceb17f Compare December 18, 2025 05:52
@bfjelds
Copy link
Member Author

bfjelds commented Dec 18, 2025

/AzurePipelines run [GITHUB]-trident-pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bfjelds
Copy link
Member Author

bfjelds commented Dec 18, 2025

/AzurePipelines run [GITHUB]-trident-pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

}

/// Sets the LoaderEntryDefault EFI variable to the previous boot entry.
pub fn set_default_to_previous() -> Result<(), TridentError> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wonder if we should construct the expected value rather than reading the "previous" value from the boot order.

ndubchak and others added 27 commits December 18, 2025 23:32
…NOWN group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 94:57:a5:ed:84:f6 brd ff:ff:ff:ff:ff:ff
    altname enp0s31f6
    inet 10.137.188.68/22 metric 100 brd 10.137.191.255 scope global dynamic eno1
       valid_lft 519614sec preferred_lft 519614sec
    inet6 2001:4898:d8:32:9657:a5ff:feed:84f6/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 2591979sec preferred_lft 604779sec
    inet6 fe80::9657:a5ff:feed:84f6/64 scope link
       valid_lft forever preferred_lft forever
3: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:96:68:8a brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 22:21:7a:79:fa:d7 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::2021:7aff:fe79:fad7/64 scope link
       valid_lft forever preferred_lft forever
2194: virbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:fc:46:a5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.242.1/24 brd 192.168.242.255 scope global virbr1
       valid_lft forever preferred_lft forever
2196: vnet562: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master virbr1 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:0b:3e:95 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fe0b:3e95/64 scope link
       valid_lft forever preferred_lft forever
2242: vnet566: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master virbr0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:64:e9:40 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fe64:e940/64 scope link
       valid_lft forever preferred_lft forever as well
@bfjelds bfjelds force-pushed the user/bfjelds/manual-rollback branch from fe859c1 to 55f30c1 Compare December 19, 2025 00:26
@bfjelds
Copy link
Member Author

bfjelds commented Dec 19, 2025

/AzurePipelines run [GITHUB]-trident-pr-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants