Hi, i have checked and found *r-4-VM.cs2cloud.internal* is my Virtual Router VM in cloudstack.
Regards, Dhanesh On Thu, Jan 10, 2013 at 1:27 PM, dhanesh1212121212 <[email protected]>wrote: > Hi, > > I have added the below line to .htaccess file as mentioned and executed > the below command in scalarizr. > > strace scalarizr --import -y -o > server-id=d840507c-007b-42a4-8aae-6a9ce1491871 -o role-name=roler -o > crypto-key=dOn/WnVmrKFES4TiCPdPWyV1t6BvZPosxLhkbfJA1GsyJFWDjX6CTg== -o > platform=cloudstack -o queryenv-url=http://scalr.local/query-env -o > messaging-p2p.producer-url=http://scalr.local/messaging -o env-id=1 -o > region= > > *scalr *- http://scalr.local/#/bundletasks/4/logs shows the log as: > > *Bundle task LOG :* > > "Communication successfully established. Role creation process has been > initialized" in green colour. > > Jan 9, 2013 19:32:05 Bundle task status: pending > Jan 9, 2013 19:32:05 Bundle task created. ServerID: > d840507c-007b-42a4-8aae-6a9ce1491871, FarmID: -, Platform: cloudstack. > > > > *After two minutes its showing snapshot creation failed message.* > > Jan 9, 2013 19:34:05 Snapshot creation failed. Reason: Cannot send > rebundle message to server. Please check event log for more details.. > Bundle task status changed to: failed > > > *Important: I have also noticed that scalr bundle task Log is showing > yesterdays date. > > Machine in which i have installed scalr Date is :- > > root@otc:~# date > Thu Jan 10 12:55:50 IST 2013 > * > * > Scalarizr* :- > > > I have executed the scalarizr import command with strace command and found > its showing time out message. > > Plz guide me on this. > > > open("/etc/scalr/private.d/.state", O_RDONLY) = 9 > fstat(9, {st_mode=S_IFREG|0777, st_size=9, ...}) = 0 > fstat(9, {st_mode=S_IFREG|0777, st_size=9, ...}) = 0 > lseek(9, 0, SEEK_CUR) = 0 > fstat(9, {st_mode=S_IFREG|0777, st_size=9, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0x7f78936b6000 > lseek(9, 0, SEEK_CUR) = 0 > read(9, "importing", 4096) = 9 > read(9, "", 4096) = 0 > close(9) = 0 > munmap(0x7f78936b6000, 4096) = 0 > select(0, [], [], [], {30, 0}2013-01-10 11:00:30,914 - DEBUG - > scalarizr.messaging.p2p.producer - Sending message 'Log' into queue 'log' > 2013-01-10 11:00:30,939 - DEBUG - scalarizr.messaging.p2p.security - > Encrypting message > ) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > > > > select(0, [], [], [], {30, 0}2013-01-10 12:00:02,220 - DEBUG - > scalarizr.util.PeriodicalExecutor - Executing task Rotate messages sqlite > table > 2013-01-10 12:00:02,223 - DEBUG - scalarizr.messaging.p2p - Deleting > messages older then messageid: 7f488755-37b9-4cc6-928b-b7e9df342ad5 > ) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > select(0, [], [], [], {30, 0}) = 0 (Timeout) > > > *OUTPUT OF TCPDUMP IN SCALARIZR*: > > UBUNTU3.cs2cloud.internal - UBUNTU3 is my sclarizr machine. > r-4-VM.cs2cloud.internal - I can't find this VM in cloudstack. > > 12:51:41.220937 IP scalr.local.www > UBUNTU3.cs2cloud.internal.45903: > Flags [.], ack 2296, win 99, options [nop,nop,TS val 1112058 ecr > 4294965493], length 0 > 12:51:46.103518 ARP, Request who-has UBUNTU3.cs2cloud.internal tell > r-4-VM.cs2cloud.internal, length 46 > 12:51:46.103538 ARP, Reply UBUNTU3.cs2cloud.internal is-at > 02:00:48:a7:00:08 (oui Unknown), length 28 > 12:51:54.388456 IP UBUNTU3.cs2cloud.internal.ntp > > europium.canonical.com.ntp: NTPv4, Client, length 48 > 12:51:59.383606 ARP, Request who-has r-4-VM.cs2cloud.internal tell > UBUNTU3.cs2cloud.internal, length 28 > 12:51:59.384713 ARP, Reply r-4-VM.cs2cloud.internal is-at > 02:00:3c:5c:00:02 (oui Unknown), length 46 > > > > > On Thu, Jan 10, 2013 at 4:24 AM, Mykhaylo Dobrovolskyy < > [email protected]> wrote: > >> Hi, >> >> You just need to add into .htaccess in messaging dir line(first) >> * >> * >> *Options -Indexes* >> * >> * >> about >> >> >> Failure reason: >> Cannot send rebundle message to server. Please check event log for more >> details. >> >> I'm not able to import non Scalr instance after upgrade to 4.0 >> >> It always come back to me with this error - looking into the code, >> probably some new issue/bug >> >> Середа, 9 січня 2013 р. 13:20:23 UTC+1 користувач dhanesh m написав: >> >>> Hi Nick, >>> >>> While accessing http://scalr.local/messaging in browser its showing the >>> contents inside the folder messaging.php >>> >>> As u told i tried to map /var/www/app/messaging with the .htaccess file >>> >>> VirtualHost scalr.local:80> >>> ServerAdmin webmaster@localhost >>> ServerName scalr.local >>> DocumentRoot /var/www/app/www >>> <Directory /var/www/app/www> >>> Options Indexes +FollowSymLinks MultiViews >>> AllowOverride All >>> </Directory> >>> *<Directory /var/www/app/www/messaging> >>> Options Indexes +FollowSymLinks MultiViews >>> AllowOverride All >>> </Directory>* >>> </VirtualHo >>> >>> *root@scalr:/var/www/test# cat /var/www/app/www/messaging/.htaccess >>> Options +FollowSymLinks* >>> RewriteEngine On >>> RewriteCond %{REQUEST_FILENAME} !messaging.php >>> RewriteRule ^(.+)/?$ /messaging/messaging.php? >>> queue=$1 [NE,L] >>> >>> >>> Still its showing the content. >>> >>> Iam not sure how to redirect. >>> >>> Please guide me on this. >>> >>> >>> Iam importing server for ( Scalr latest version + cloudstack 3.2 ) >>> >>> *Struck in * >>> >>> Bundle task Information: >>> >>> Failure reason: >>> Cannot send rebundle message to server. Please check event log for more >>> details. >>> >>> >>> Regards, >>> Dhanesh. >>> >>> >>> >>> -- >> >> >> > > --
