-
Notifications
You must be signed in to change notification settings - Fork 39
Description
I have git clone all repository in contrail-vnc and finish the compileing and got the initial packages by the command make -f packages.make source-all and make -f packages.make all. Then in my sandbox dir , I found some packages named like contrail-xxx_1.1mastaer_xxx.deb in this dir.
So
- Where should i put the files in this repository into my sandbox?
- What should i do for the next step? If I only want to get some debs with vrouter/dpdk, related kickoff script and configuration, what should i do with this packaging scripts?
- Directly run the script ./packager.py --sku liberty cause many error like Package file for package XXX is not present in (['/cs-shared/builder/cache/ubunt1404/liberty']) what files should i prepared in this dir?
- after I add the parameter -p contrail-packages and --contrail-package-dir to my sandbox/build/packages, it get the result
[2017-01-16 11-20-48: packager.py:334:main: ERROR] ** Packager Failed **
[2017-01-16 11-20-48: main] Copying available built packages to (/home/ubuntu/contrail/contrail-packaging/build/build/artifacts)
[2017-01-16 11-20-48: common.py:464:copy_to_artifacts: WARNING] Dir (/home/ubuntu/contrail/contrail-packaging/build/build/debian) do not exists. Skipping...
[2017-01-16 11-20-48: common.py:464:copy_to_artifacts: WARNING] Dir (/home/ubuntu/contrail/contrail-packaging/build/build/packages) do not exists. Skipping...
[2017-01-16 11-20-48: common.py:464:copy_to_artifacts: WARNING] Dir (/home/ubuntu/contrail/contrail-packaging/build/build/openstack) do not exists. Skipping...
[2017-01-16 11-20-48: common.py:472:copy_to_artifacts: WARNING] Dir (/home/ubuntu/contrail/contrail-packaging/build/build/tools) do not exists. Skipping...
[2017-01-16 11-20-48: main] ******************************************************************************
[2017-01-16 11-20-48: main] Packager completed with ERRORs...
[2017-01-16 11-20-48: main] Reprinting ALL ERRORS...
[2017-01-16 11-20-48: packager.py:334:main: ERROR] ** Packager Failed **
[2017-01-16 11-20-48: packager.py:348:main: ERROR] View detailed logs at (/home/ubuntu/contrail/contrail-packaging/build/build/logs/packager_3466_011617112045.log)
[2017-01-16 11-20-48: main] Execution Duration: 0:00:00.068106
[2017-01-16 11-20-48: packager.py:310:: ERROR] ERROR
Traceback (most recent call last):
File "./packager.py", line 360, in
main()
File "./packager.py", line 331, in main
packer.ks_build()
File "/home/ubuntu/contrail/contrail-packaging/build/libs/packager/common.py", line 123, in ks_build
pkgtypes = self.rearrange_types(pkgtypes)
File "/home/ubuntu/contrail/contrail-packaging/build/libs/packager/common.py", line 88, in rearrange_types
sub_index = new_pkgtypes.index(sub_type)
ValueError: 'vrouter-openstack-extra' is not in list