-
Notifications
You must be signed in to change notification settings - Fork 52
(v2.2.3) Spec json is invalid: unknown field gasLimitBoundDivisor
#87
Comments
yeah we don't accept invalid specs anymore |
That might make maintaining paritytech/parity-deploy a bit more difficult. Because then there might need to be a whole set of spec.json files, depending on the version that a user is requesting. And to allow backwards compatibility is a real advantage of this amazing tool here, we have seen that in several cases. Until all glitches are solved, I must still run chainhammer on parity v1.11.11, for example. Also it is a nice feature to be able to test different parity versions against each other, to e.g. benchmark recent improvements. What about a switch But perhaps I am wrong, and there is an easy solution for version-dependent spec.json deployment, @ddorgan ? |
backwards compatibility is given if you use a valid spec anyways. note v1.11.11 is not supported anymore. all we need to do here is to fix the spec. |
I herewith submit my formal protest against this ;-) v1.11.11 is the last version that was still working fine when querying singlethreaded AND multithreaded. |
yes, then I can run a test on v2.2.3 |
Also, wouldn't you want to know how much faster v2.2.3 is versus v1.11.11 ?? If you put an end-of-live to parity-deploy-for-v1.11.11 now, then it becomes harder to finding out the difference (I would then have to work with an outdated September or October commit of parity-deploy, which was since then possibly improved or even de-bug-ed, etc) |
@drandreaskrueger can you check the latest master... |
I will as soon as I can. Sorry for the delay. |
I have just tried it out:
Please consider to do the second last step in parity-deploy.sh - otherwise with every version upgrade we run into danger of new problems. Actually, now I get the other problem:
but then after opening up data completely:
it first fails:
but then after doing that once more, and restarting once more ...
it finally works. Please consider to somehow automate this last step in your tool, thanks. |
@drandreaskrueger is this all ok with the latest master? I know there was an issue with instant sealing but with aura this should be working fine. |
I have tried the above with git checkout 11b64e1 that is the newest, right? And the only way I could get it working was accepting that it fails once:
see above. |
Hi Andreas, Yes there's a permission issue here. On your docker containers everything runs as root so you do not bump into these issues. The base parity/parity images now set the user to parity with a uid of 1000. To avoid the CannotCreateConfigPath error can you try https://github.com/paritytech/parity-deploy/tree/dd-uid-set, which sets the uid on the data and deployments directory. This is just for now, we should be able to find a better way to handle this in the base parity docker image. David |
Thx. When I tried yesterday with your newest master 1a6afd1 I did not run into permission problems anymore. So I thought you had merged that? See So I think that is solved with 1a6afd1 now? |
What about creating docker data containers instead of storing directly on host disk? Isn't the problem the confusion between inside-docker-container-uid and hostmachine-uid? |
Will change how this works. I had wanted to avoid using docker volumes but it looks like it is required. Note that just adding volumes to a path and driver_opts uid=1000,gid=1000 has problems in a lot of cases so I'll test some better ways. Hopefully something that also plays nice with kubernetes. |
All those suggestions break in at least some circumstances, it's a real pain. And since this is really a development tool I've just switched it back to using root with: #100 Looking to rewrite this from scratch soon with the learning from this version. |
sorry to hear that. yes, complexity is a bitch ;-) When I have my next release out, I can show you how I solved it for now. A few more days. I still think, parity v1.11.11 is important, and should stay supported. But I am fine fine with closing this issue for now and possibly move this bottom discussion elsewhere, as this issue was originally about the specs version jump v1 --> v2 anyways, and not about those root/parity user problems. |
@5chdn asked to try version v2.2.3:
but besides #85 it looks as if v2 needs a different
spec.json
?reproduce this
The text was updated successfully, but these errors were encountered: