Hello Nathaniel, As a workaround, is there an older lemur rpm version or older Lustre version I should use to unblock myself? https://github.com/whamcloud/lemur/issues/7
https://github.com/whamcloud/lemur/issues/8 Thanks, Pinkesh Valdria On 12/11/19, 6:31 AM, "Pinkesh Valdria" <pinkesh.vald...@oracle.com> wrote: Hi Nathaniel, I have an issue ticket opened: https://github.com/whamcloud/lemur/issues/7 I tried to do it locally, that also fails, given below is the error. [root@lustre-client-4 lemur]# lfs --version lfs 2.12.3 [root@lustre-client-4 lemur]# uname -a Linux lustre-client-4 3.10.0-1062.7.1.el7.x86_64 #1 SMP Mon Dec 2 17:33:29 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [root@lustre-client-4 lemur]# lsb_release -r Release: 7.6.1810 [root@lustre-client-4 lemur]# [root@lustre-client-4 lemur]# make local-rpm make -C packaging/rpm NAME=lemur VERSION=0.6.0_4_g4655df8 RELEASE=1 URL="https://github.com/intel-hpdd/lemur" make[1]: Entering directory `/root/lemur/packaging/rpm' cd ../../ && \ ......... ........ ........ github.com/intel-hpdd/lemur/vendor/github.com/aws/aws-sdk-go/service/s3/s3manager github.com/intel-hpdd/lemur/cmd/lhsm-plugin-s3 install -d $(dirname /root/rpmbuild/BUILDROOT/lemur-hsm-agent-0.6.0_4_g4655df8-1.x86_64//usr/bin/lhsm-plugin-s3) install -m 755 lhsm-plugin-s3 /root/rpmbuild/BUILDROOT/lemur-hsm-agent-0.6.0_4_g4655df8-1.x86_64//usr/bin/lhsm-plugin-s3 go build -v -i -ldflags "-X 'main.version=0.6.0_4_g4655df8'" -o lhsm ./cmd/lhsm github.com/intel-hpdd/lemur/vendor/github.com/intel-hpdd/go-lustre/pkg/pool github.com/intel-hpdd/lemur/cmd/lhsmd/agent/fileid github.com/intel-hpdd/lemur/vendor/github.com/intel-hpdd/go-lustre/llapi github.com/intel-hpdd/lemur/vendor/gopkg.in/yaml.v2 github.com/intel-hpdd/lemur/vendor/gopkg.in/urfave/cli.v1 # github.com/intel-hpdd/lemur/vendor/github.com/intel-hpdd/go-lustre/llapi cgo-gcc-prolog: In function '_cgo_c110903d49cd_C2func_llapi_get_version': cgo-gcc-prolog:58:2: warning: 'llapi_get_version' is deprecated (declared at /usr/include/lustre/lustreapi.h:398) [-Wdeprecated-declarations] cgo-gcc-prolog: In function '_cgo_c110903d49cd_Cfunc_llapi_get_version': cgo-gcc-prolog:107:2: warning: 'llapi_get_version' is deprecated (declared at /usr/include/lustre/lustreapi.h:398) [-Wdeprecated-declarations] # github.com/intel-hpdd/lemur/vendor/github.com/intel-hpdd/go-lustre/llapi vendor/github.com/intel-hpdd/go-lustre/llapi/changelog.go:273:39: cannot use _Ctype_int(r.flags) (type _Ctype_int) as type int32 in argument to _Cfunc_hsm_get_cl_flags make[2]: *** [lhsm] Error 2 make[2]: Leaving directory `/root/rpmbuild/BUILD/lemur-0.6.0_4_g4655df8/src/github.com/intel-hpdd/lemur' error: Bad exit status from /var/tmp/rpm-tmp.cPPeEL (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.cPPeEL (%install) make[1]: *** [rpm] Error 1 make[1]: Leaving directory `/root/lemur/packaging/rpm' make: *** [local-rpm] Error 2 [root@lustre-client-4 lemur]# Thanks, Pinkesh Valdria On 12/10/19, 4:55 AM, "lustre-discuss on behalf of Nathaniel Clark" <lustre-discuss-boun...@lists.lustre.org on behalf of ncl...@whamcloud.com> wrote: Can you open at ticket for this on https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_whamcloud_lemur_issues&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=HpfvG0tozSl7HgJJuyxxo2149EjwqpQDE7ytv-4sZuI&m=dvUy7ZhvTpzQ9yJzUhQmk0UHrXXOGiSc2X1_Sm5yOhY&s=aD2CBP6CmEF14pb7PM2A-H4aFyzbd09y5IRcQXqIHj8&e= And possibly https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.whamcloud.com_projects_LMR&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=HpfvG0tozSl7HgJJuyxxo2149EjwqpQDE7ytv-4sZuI&m=dvUy7ZhvTpzQ9yJzUhQmk0UHrXXOGiSc2X1_Sm5yOhY&s=SoLFFKtz2XY9CNh4vyFssmTyhvmkIqyABrH_FzZzUQk&e= You could also try: $ make local-rpm Which will avoid the docker stack and just build on the local machine (beware it sudo's to install rpm build dependencies). -- Nathaniel Clark <ncl...@whamcloud.com> Senior Engineer Whamcloud / DDN On Mon, 2019-12-09 at 15:04 -0800, Pinkesh Valdria wrote: > I am trying to install Lemur on CentOS 7.6 (7.6.1810) to integrate > with Object storage but the install fails. I used the instructions > on below page to install. I already had Lustre client (2.12.3) > installed on the machine, so I started with steps for Lemur. > > https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.whamcloud.com_display_PUB_HPDD-2BHSM-2BAgent-2Band-2BData-2BMovers-2B-2528Lemur-2529-2BGetting-2BStarted-2BGuide&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=HpfvG0tozSl7HgJJuyxxo2149EjwqpQDE7ytv-4sZuI&m=dvUy7ZhvTpzQ9yJzUhQmk0UHrXXOGiSc2X1_Sm5yOhY&s=IftJE1TWubVV7pX19fr31fzo-14G01LrgoBPRUHKO0g&e= > > > Steps followed: > > git clone https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_whamcloud_lemur.git&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=HpfvG0tozSl7HgJJuyxxo2149EjwqpQDE7ytv-4sZuI&m=dvUy7ZhvTpzQ9yJzUhQmk0UHrXXOGiSc2X1_Sm5yOhY&s=nKWXQSiAg8BNvAQkNcHtI0o3i3tz8y9jlnIk5tUVKMY&e= > cd lemur > git checkout master > service docker start > make rpm > > [root@lustre-client-4 lemur]# make rpm > make -C packaging/docker > make[1]: Entering directory `/root/lemur/packaging/docker' > make[2]: Entering directory `/root/lemur/packaging/docker/go-el7' > Building go-el7/1.13.5-1.fc32 for 1.13.5-1.fc32 > docker build -t go-el7:1.13.5-1.fc32 -t go-el7:latest --build- > arg=go_version=1.13.5-1.fc32 --build-arg=go_macros_version=3.0.8- > 4.fc31 . > Sending build context to Docker daemon 4.608 kB > Step 1/9 : FROM centos:7 > ---> 5e35e350aded > Step 2/9 : MAINTAINER Robert Read <robert.r...@intel.com> > ---> Using cache > ---> 4be0d7fa27a2 > Step 3/9 : RUN yum install -y @development golang pcre-devel glibc- > static which > ---> Using cache > ---> ac83254f37f7 > Step 4/9 : RUN mkdir -p /go/src /go/bin && chmod -R 777 /go > ---> Using cache > ---> fdbb4d031716 > Step 5/9 : ENV GOPATH /go PATH $GOPATH/bin:$PATH > ---> Using cache > ---> 216c5484727e > Step 6/9 : RUN go get github.com/tools/godep && cp /go/bin/godep > /usr/local/bin > ---> Running in aed86ac3eb87 > > /bin/sh: go: command not found > The command '/bin/sh -c go get github.com/tools/godep && cp > /go/bin/godep /usr/local/bin' returned a non-zero code: 127 > make[2]: *** [go-el7/1.13.5-1.fc32] Error 127 > make[2]: Leaving directory `/root/lemur/packaging/docker/go-el7' > make[1]: *** [go-el7] Error 2 > make[1]: Leaving directory `/root/lemur/packaging/docker' > make: *** [docker] Error 2 > [root@lustre-client-4 lemur]# > > Is this repo for Lemur the most updated version? > > > [root@lustre-client-4 lemur]# lfs --version > lfs 2.12.3 > [root@lustre-client-4 lemur]# > > > > > > > _______________________________________________ > lustre-discuss mailing list > lustre-discuss@lists.lustre.org > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lustre.org_listinfo.cgi_lustre-2Ddiscuss-2Dlustre.org&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=HpfvG0tozSl7HgJJuyxxo2149EjwqpQDE7ytv-4sZuI&m=dvUy7ZhvTpzQ9yJzUhQmk0UHrXXOGiSc2X1_Sm5yOhY&s=BFS5rw412D0DAGPrZMOmxHSSdTllygmsI1koHFF2fb4&e= _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lustre.org_listinfo.cgi_lustre-2Ddiscuss-2Dlustre.org&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=HpfvG0tozSl7HgJJuyxxo2149EjwqpQDE7ytv-4sZuI&m=dvUy7ZhvTpzQ9yJzUhQmk0UHrXXOGiSc2X1_Sm5yOhY&s=BFS5rw412D0DAGPrZMOmxHSSdTllygmsI1koHFF2fb4&e= _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org