Incorrect path to user data file in "pkggen.py"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Undecided
|
Ai Hamano |
Bug Description
When trying to create a VNF package using the following "pkggen.py", an error occurs and it cannot be created.
* https:/
[Operation]
```
$ export PYTHONPATH=
$ cd /opt/stack/
$ python3 pre.py
$ python3 pkggen.py
Traceback (most recent call last):
File "/opt/stack/
<module>
utils.
File "/opt/stack/
shutil.
File "/usr/lib/
copyfile(src, dst, follow_
File "/usr/lib/
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory:
'/opt/stack/
```
This is because the path to userdata_
* https:/
It is necessary to correct it as follows.
```
# samples/
userdata_dir = "../../
```
Changed in tacker: | |
assignee: | nobody → Ai Hamano (haman0) |
Fix proposed to branch: master /review. opendev. org/c/openstack /tacker/ +/925076
Review: https:/