That is great that you already have a .properties file for daily builds, which contains the hash for these ISO. However, I think you also should have one for stable download links, such as http://artifacts.opnfv.org/compass4nfv/colorado/opnfv-colorado.3.0.iso.properties .
What do you think? Normally when people get some software to test and create a POC, I think they prefer to use a stable version. On Mon, Jan 16, 2017 at 3:48 AM, Xueyifei (Yifei Xue) <xueyi...@huawei.com> wrote: > Hi Rafael > > > > The community has done the work of create sha512 hash of the daily ISO. > For example, the URL of the compass ISO built at 2017-01-15 is > http://artifacts.opnfv.org/compass4nfv/opnfv-2017-01-15_08-19-10.iso , > and this ISO has a properties file whose URL is > http://artifacts.opnfv.org/compass4nfv/opnfv-2017-01-15_ > 08-19-10.properties . You can open it and take a look, you would find > that the sha512 hash of this ISO has been generated and written in this > file. > > > > What our compass project needs to do is to add sha512 hash check in our > code. You are very welcome to contribute to the compass4nfv project! > > > > Currently OPNFV uses gerrit(gerrit.opnfv.org) to manage our code. Below > is a link to OPNFV *Developer Getting Started *, if you are willing to > contribute to our community, this link will be a very detailed tutorial. > > > > https://wiki.opnfv.org/display/DEV/Developer+Getting+Started > > > > > > Thanks > > Yifei Xue > > > > *From:* Rafael Weingärtner [mailto:rafaelweingart...@gmail.com] > *Sent:* Friday, January 13, 2017 10:37 PM > *To:* Xueyifei (Yifei Xue) > *Cc:* opnfv-users@lists.opnfv.org > *Subject:* Re: [opnfv-users] Problems while downloading > opnfv-colorado.1.0.iso hash file > > > > Thanks for the prompt answer. > Your idea of using the “file://” to host the file was exactly what I was > doing. Then, I would place in the same folder a file containing the MD5 > hash of the ISO. > > If you have not yet changed the code to use the sha512 hash, I could do > that for you and create a pull request. Do you use Github to manage the > code? > This would only require you to how a file with the sha512 hash on > http://artifacts.opnfv.org/compass4nfv/colorado/opnfv-y.x.x.iso.sha512 > > Thanks again for all the help. > > > > On Thu, Jan 12, 2017 at 10:38 PM, Xueyifei (Yifei Xue) < > xueyi...@huawei.com> wrote: > > Hi Rafael > > > > Thank you for your suggestion, it’s a good suggestion. The community > decided to use sha512 instead of md5, so what we can do is to improve our > code to satisfy the users’ requirement. We are going to add the sha512sum > check in our code. Thanks again. > > > > For your situation now, I myself suggest that you can download the ISO to > your local host first and use the local path to ISO replace the ISO_URL in > the run.sh. For my environment, I usually configure it like this: *export > ISO_URL=file:///home/yifei/opnfv-colorado.3.0.iso *This will also be > always downloading the ISO, but it will be just downloading from your local > host. That would be save a lot of time. > > > > BTW, I am making a video to tell those who interested in compass how to > deploy an OPNFV platform by using compass installer. If you have any > suggestion or unclear/unsatisfied points or barriers to use compass, please > let me know. I’ll explain in the video or take into consideration to > improve our code. > > > > Hope you have a nice experience with Compass4nfv. > > Thanks > > Yifei Xue > > > > *From:* Rafael Weingärtner [mailto:rafaelweingart...@gmail.com] > *Sent:* Friday, January 13, 2017 11:00 AM > *To:* Xueyifei (Yifei Xue) > *Cc:* opnfv-users@lists.opnfv.org; Chigang (Justin) > *Subject:* Re: [opnfv-users] Problems while downloading > opnfv-colorado.1.0.iso hash file > > > > Thanks for the explanations. > So, I will try to use the Colorado 3.0 then. > > As you said, the MD5 is used to avoid downloading the ISO file twice by > Compass; but, this is the problem I am having. Compass is always > downloading the ISO whenever I execute the “run.bat”; even when the ISO is > already in its cache folder. This is happening because it tries to look for > a hash MD5 on the repo, but the repo does not seem to have one. The same > will happen with colorado3.0 ISO (http://artifacts.opnfv.org/ > compass4nfv/colorado/opnfv-colorado.3.0.iso.md5). > > I think it would be nice to add these MD5 hash files there to save some > bandwidth and time. What do you think? > > > > On Fri, Jan 13, 2017 at 12:48 AM, Xueyifei (Yifei Xue) < > xueyi...@huawei.com> wrote: > > Hi Rafael > > > > OPNFV artifacts use sha512sum instead of md5sum. The md5 comparison in > Compass deployment is used to avoid download the same ISO again. You don’t > need to care about it. > > > > And, OPNFV artifacts generate a properties file for the daily ISO, the > sha512sum is included in this file. You can check the integrity of the ISO > by this. However for the stable Colorado release ISOs, OPNFV artifacts > don’t provide the properties files yet. Here I can provide the sha512sum of > colorado1.0 and 3.0 for you. > > > > SHA512SUM of opnfv-colorado.1.0.iso is: > 56b9eececcb57fc2a045ada1a2d99ce475b5b712e9852391a4f6faf1077d > 6a5cff495513d54f4dc50819ff401b590f3281d4ea700f76b87f1fc8555914076344 > > > > SHA512SUM of opnfv-colorado.3.0.iso is: > 13d37a9d692e787e27c1f9a8dd63c222aafb270f0e776e0d0719c4d06345 > 54df877457a349a0e475cdf654be67f42c01709394d2eac142ba01ce10dda24722c2 > > > > BTW, I recommend you use the ISO of Colorado 3.0. You know some bugs in > colorado1.0 will be fixed in colorado3.0. Run “git checkout colorado.3.0” > to get the branch. > > > > If you have any problem while using compass, just email me. Hope you have > a nice experience with Compass4nfv. > > > > > > Thanks > > Yifei Xue > > > > *From:* opnfv-users-boun...@lists.opnfv.org [mailto:opnfv-users-bounces@ > lists.opnfv.org] *On Behalf Of *Rafael Weing?rtner > *Sent:* Friday, January 13, 2017 7:21 AM > *To:* opnfv-users@lists.opnfv.org > *Subject:* [opnfv-users] Problems while downloading > opnfv-colorado.1.0.iso hash file > > > > Hi folks, > I am having some problems while downloading the hash for the colorado iso > files. > Is the following link working for you? > http://artifacts.opnfv.org/compass4nfv/colorado/opnfv-colorado.1.0.iso.md5 > > -- > > Rafael Weingärtner > > > > > -- > > Rafael Weingärtner > > > > > -- > > Rafael Weingärtner > -- Rafael Weingärtner
_______________________________________________ opnfv-users mailing list opnfv-users@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-users