Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any details guide to use this repository? #422

Open
Luigi-1 opened this issue Jan 14, 2017 · 1 comment
Open

Any details guide to use this repository? #422

Luigi-1 opened this issue Jan 14, 2017 · 1 comment

Comments

@Luigi-1
Copy link

Luigi-1 commented Jan 14, 2017

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

  1. Where should i put the files in this repository into my sandbox?
  2. 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?
  3. 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?
  4. 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

@Luigi-1
Copy link
Author

Luigi-1 commented Jan 17, 2017

It seems I should put packages into the dir /cs-shared/builder/cache/ubunt1404/liberty, but I have no idea about how to get them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant