Page MenuHomePhabricator
Paste P13758

makevm error

Authored by MoritzMuehlenhoff on Jan 13 2021, 4:21 PM.
# cookbook sre.ganeti.makevm --vcpus 1 --memory 1 --disk 40 --network public ulsfo
START - Cookbook sre.ganeti.makevm
Ready to create Ganeti VM in the ganeti01.svc.ulsfo.wmnet cluster on row 1 with 1 vCPUs, 1GB of RAM, 40GB of disk in the public network.
>>> Is this correct?
Type "go" to proceed or "abort" to interrupt the execution
> go
Allocated IPv4
Exception raised while executing cookbook sre.ganeti.makevm:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/spicerack/", line 226, in run
raw_ret =
File "/usr/lib/python3/dist-packages/spicerack/", line 19, in run
return self._run(self.args, self.spicerack)
File "/srv/deployment/spicerack/cookbooks/sre/ganeti/", line 105, in run
if not
File "/usr/lib/python3/dist-packages/pynetbox/core/", line 391, in save
if req.patch({i: serialized[i] for i in diff}):
File "/usr/lib/python3/dist-packages/pynetbox/core/", line 409, in patch
return self._make_call(verb="patch", data=data)
File "/usr/lib/python3/dist-packages/pynetbox/core/", line 274, in _make_call
raise RequestError(req)
pynetbox.core.query.RequestError: The request failed with code 405 Method Not Allowed: {'detail': 'Method "PATCH" not allowed.'}
END (FAIL) - Cookbook sre.ganeti.makevm (exit_code=99)