Comments (4)
request = <FixtureRequest for <Function test_auth_v2_migration>>
manager = <test.pylib.manager_client.ManagerClient object at 0x7f5f9b8d31d0>
@pytest.mark.asyncio
async def test_auth_v2_migration(request, manager: ManagerClient):
# First, force the first node to start in legacy mode
cfg = {'force_gossip_topology_changes': True}
servers = [await manager.server_add(config=cfg)]
# Enable raft-based node operations for subsequent nodes - they should fall back to
# using gossiper-based node operations
del cfg['force_gossip_topology_changes']
servers += [await manager.server_add(config=cfg) for _ in range(2)]
cql = manager.cql
assert(cql)
logging.info("Waiting until driver connects to every server")
hosts = await wait_for_cql_and_get_hosts(cql, servers, time.time() + 60)
logging.info("Checking the upgrade state on all nodes")
for host in hosts:
status = await manager.api.raft_topology_upgrade_status(host.address)
assert status == "not_upgraded"
await populate_auth_v1_data(manager)
> await warmup_v1_static_values(manager, hosts)
test/auth_cluster/test_auth_v2_migration.py:153:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
manager = <test.pylib.manager_client.ManagerClient object at 0x7f5f9b8d31d0>
hosts = [<Host: 127.247.13.9:9042 datacenter1>, <Host: 127.247.13.10:9042 datacenter1>, <Host: 127.247.13.14:9042 datacenter1>]
async def warmup_v1_static_values(manager: ManagerClient, hosts):
# auth-v1 was using statics to cache internal queries
# in auth-v2 those statics were removed but we want to
# verify that it was effective so trigger here internal
# call to potentially populate static storage and we'll
# verify later that after migration properly formed query
# executes (query has to change because keyspace name changes)
cql = manager.get_cql()
> await asyncio.gather(*(cql.run_async("LIST ROLES", host=host) for host in hosts))
E cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Role deleted_user doesn't exist."
test/auth_cluster/test_auth_v2_migration.py:81: InvalidRequest
from scylladb.
We've seen it few times in CI already - let's prioritize fixing this.
from scylladb.
We've seen it few times in CI already - let's prioritize fixing this.
Also note that there are two more issues about the flakiness of this test - #18319 and #19039 - the error messages look different so I don't know if they are the same problem or different problems.
from scylladb.
We lack data to resolve this issue. f9abe52 should help us better understand what's the root cause. For now I'm closing the ticket, we can reopen if the failure reappears.
from scylladb.
Related Issues (20)
- doc: add OS Support for version 6.2
- Major bug: Repair will cause index table data loss! HOT 7
- conf_changes_2_drops failed HOT 3
- DESCRIBE doesn't work with maintenance_socket_role_manager HOT 11
- [gossip topology] test_simple_removenode_4 dtest failure: after removenode failure, restarted node fails to become a voter, throws `raft::commit_status_unknown`
- [x86_64, release] boost/secondary_index_test failed with Entering HOT 2
- [x86_64, dev] topology_custom/test_gossip_boot failed with in
- [x86_64, dev] topology_custom/test_initial_token failed to add server and crashed . Error before crash - raft_state_monitor_fiber aborted with raft::stopped_error (Raft instance is stopped, reason: "raft group0 is stopped") HOT 3
- CMake build regressed by commit 6517ca892000 ("service/qos/service_level_controller: Describe service levels", 2024-09-23) HOT 8
- 'nodetool stop cleanup' not working properly HOT 1
- 6.2-rc1/dtest-debug: test_mv_populating_from_existing_data_during_node_remove fails with ASAN heap-use-after-free HOT 2
- Node decommission should be abortable without restarting the decommissioned node
- [x86_64, dev] topology_custom/test_topology_failure_recovery failed with ConfigurationException HOT 1
- A REST command of task-manager fails with: ({"message": "seastar::rpc::closed_error (connection is closed)", "code": 500}) HOT 3
- [CI] test_tablets.test_read_of_pending_replica_during_migration[true] flaky HOT 5
- Avoid killing a node when reading from sstables
- rename cql-pytest without a hyphen HOT 1
- pull_github_pr.sh: `--force` results in "Invalid numeric literal..."
- Prepared statement invalidation loopholes
- topology/test-mv/test_tombstone_gc_not_inherited fails with tablets HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scylladb.