Looks like you're using the wrong option to nova boot, see help:
--file <dst-path=src-path> Store arbitrary files from <src-path> locally to <dst- path> on the new server. You may store up to 5 files.
--user_data <user-data> user data file to pass to be exposed by the metadata server.
In order to trigger the injected_file_content_bytes, you need to use the --file option instead of --user-data.
In which case, you should see an expected 413 response such as:
Looks like you're using the wrong option to nova boot, see help:
--file <dst-path=src-path>
Store arbitrary files from <src-path> locally to <dst-
path> on the new server. You may store up to 5 files.
user data file to pass to be exposed by the metadata
server.
--user_data <user-data>
In order to trigger the injected_ file_content_ bytes, you need to use the --file option instead of --user-data.
In which case, you should see an expected 413 response such as:
PESP:{'status': '413', 'content-length': '93', 'x-compute- request- id': '...', 'retry-after': '0', 'date': 'Tue, 31 Jul 2012 14:57:12 GMT', 'content-type': 'application/json; charset=UTF-8'} {"overLimit": {"message": "Personality file content too long", "code": 413, "retryAfter": 0}}