|
| 1 | +--- |
| 2 | +title: Migrating from pre-36.0.0 Clients |
| 3 | +--- |
| 4 | + |
| 5 | +In Rucio 36.0.0, a new Rucio client was released, with breaking changes to the structure of both `rucio` and `rucio-admin`. |
| 6 | +`rucio-admin` is made redundant by the update, and its commands are included in the `rucio >=36.0` client. |
| 7 | + |
| 8 | +Note: |
| 9 | + Please report any issues you have with the new client [on this github issue](https://github.com/rucio/rucio/issues/7224) |
| 10 | + |
| 11 | +# Legacy Mapping |
| 12 | + |
| 13 | +* Using `rucio-admin` or `rucio --legacy` automatically uses the old version. Old help menus are still visible with this method. |
| 14 | +* Old commands still work - they display a warning. |
| 15 | +* Not all commands are migrated to the new client structure. Not all included commands are one-to-one mapped. |
| 16 | +* A warning is printed (not logged) to consoles to encourage migration, along with the closest mapped command. |
| 17 | + |
| 18 | + |
| 19 | +# Remapping Existing Commands |
| 20 | + |
| 21 | +|`rucio <36.0`| `rucio >=36.0`| |
| 22 | +| ------------- | ------------- | |
| 23 | +| rucio list-file-replicas | rucio replica list | |
| 24 | +| rucio list-dataset-replicas | rucio replica dataset | |
| 25 | +| rucio add-dataset | rucio did add --type dataset | |
| 26 | +| rucio add-container | rucio did add --type container | |
| 27 | +| rucio attach | rucio did content add | |
| 28 | +| rucio detach | rucio did content remove | |
| 29 | +| rucio ls | rucio did list | |
| 30 | +| rucio list-dids | rucio did list | |
| 31 | +| rucio list-parent-dids | rucio did show --parent | |
| 32 | +| rucio list-scopes | rucio scope list | |
| 33 | +| rucio close | rucio did update --close | |
| 34 | +| rucio reopen | rucio did update --open | |
| 35 | +| rucio stat | rucio did show | |
| 36 | +| rucio erase | rucio did remove | |
| 37 | +| rucio list-content | rucio did content list | |
| 38 | +| rucio list-content-history | rucio did content history | |
| 39 | +| rucio upload | rucio upload | |
| 40 | +| rucio get | rucio download | |
| 41 | +| rucio download | rucio download | |
| 42 | +| rucio get-metadata | rucio did metadata list | |
| 43 | +| rucio set-metadata | rucio did metadata add | |
| 44 | +| rucio delete-metadata | rucio did metadata remove | |
| 45 | +| rucio list-rse-usage | rucio rse show | |
| 46 | +| rucio list-account-usage | rucio account usage | |
| 47 | +| rucio list-account-limits | rucio account limit list | |
| 48 | +| rucio add-rule | rucio rule add | |
| 49 | +| rucio delete-rule | rucio rule remove | |
| 50 | +| rucio rule-info | rucio rule show | |
| 51 | +| rucio list-rules | rucio rule list | |
| 52 | +| rucio list-rules-history | rucio rule history | |
| 53 | +| rucio update-rule | rucio rule update | |
| 54 | +| rucio move-rule | rucio rule update --move | |
| 55 | +| rucio list-rses | rucio rse list | |
| 56 | +| rucio list-suspicious-replicas | rucio replica state suspicious | |
| 57 | +| rucio list-rse-attributes | rucio rse attribute list | |
| 58 | +| rucio touch | rucio did update --touch | |
| 59 | +| rucio add-lifetime-exception | rucio lifetime-exception add | |
| 60 | + |
| 61 | +|`rucio-admin <36.0`| `rucio >=36.0`| |
| 62 | +| ------------- | ------------- | |
| 63 | +| rucio data import | rucio upload | |
| 64 | +| rucio data export | rucio download | |
| 65 | +| rucio account -h | rucio account -h | |
| 66 | +| rucio account add | rucio account add | |
| 67 | +| rucio account delete | rucio account remove | |
| 68 | +| rucio account info | rucio account show | |
| 69 | +| rucio account update | rucio account update | |
| 70 | +| rucio account set-limits | rucio account limit add | |
| 71 | +| rucio account get-limits | rucio account limit list | |
| 72 | +| rucio account delete-limits | rucio account limit remove | |
| 73 | +| rucio account ban | rucio account update --ban True | |
| 74 | +| rucio account unban | rucio account update --ban False | |
| 75 | +| rucio account list-attributes | rucio account attribute list | |
| 76 | +| rucio account add-attribute | rucio account attribute add | |
| 77 | +| rucio account delete-attribute | rucio account attribute remove | |
| 78 | +| rucio identity -h | rucio account identity -h | |
| 79 | +| rucio identity add | rucio account identity add | |
| 80 | +| rucio identity delete | rucio account identity remove | |
| 81 | +| rucio rse -h | rucio rse -h | |
| 82 | +| rucio rse add | rucio rse add | |
| 83 | +| rucio rse list | rucio rse list | |
| 84 | +| rucio rse update | rucio rse update | |
| 85 | +| rucio rse info | rucio rse show | |
| 86 | +| rucio rse set-attribute | rucio rse attribute add | |
| 87 | +| rucio rse delete-attribute | rucio rse attribute remove | |
| 88 | +| rucio rse delete-distance | rucio rse distance remove | |
| 89 | +| rucio rse get-distance | rucio rse distance list | |
| 90 | +| rucio rse get-attribute | rucio rse attribute list | |
| 91 | +| rucio rse add-protocol | rucio rse protocol add | |
| 92 | +| rucio rse delete-protocol | rucio rse protocol remove | |
| 93 | +| rucio rse delete | rucio rse remove | |
| 94 | +| rucio rse add-qos-policy | rucio rse qos add | |
| 95 | +| rucio rse add-distance | rucio rse distance add | |
| 96 | +| rucio rse delete-qos-policy | rucio rse qos remove | |
| 97 | +| rucio rse list-qos-policies | rucio rse qos list | |
| 98 | +| rucio rse set-limit | rucio rse limit add | |
| 99 | +| rucio rse delete-limit | rucio rse limit remove | |
| 100 | +| rucio scope -h | rucio scope -h | |
| 101 | +| rucio scope add | rucio scope add | |
| 102 | +| rucio scope list | rucio scope list | |
| 103 | +| rucio config -h | rucio config -h | |
| 104 | +| rucio config get | rucio config list | |
| 105 | +| rucio config set | rucio config add | |
| 106 | +| rucio config delete | rucio config remove | |
| 107 | +| rucio subscription -h | rucio subscription -h | |
| 108 | +| rucio subscription add | rucio subscription add | |
| 109 | +| rucio subscription list | rucio subscription | |
| 110 | +| rucio subscription update | rucio subscription update | |
| 111 | +| rucio subscription reevaluate | rucio subscription touch | |
| 112 | +| rucio replicas -h | rucio replica -h | |
| 113 | +| rucio replicas quarantine | rucio replica state quarantine | |
| 114 | +| rucio replicas declare-bad | rucio replica state bad | |
| 115 | +| rucio replicas declare-temporary-unavailable | rucio replica state unavailable | |
| 116 | +| rucio replicas set-tombstone | rucio replica remove | |
| 117 | +| rucio replicas list-pfns | rucio replica list file --pfns | |
0 commit comments